@charset "UTF-8";
* {
  transition: all 0.4s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, -10px) rotate(5deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a,
button,
input,
select,
textarea,
.btn,
.card {
  transition: background-color, color, border-color, box-shadow, transform, opacity 0.4s ease;
}
a:hover,
button:hover,
input:hover,
select:hover,
textarea:hover,
.btn:hover,
.card:hover {
  transition: background-color, color, border-color, box-shadow, transform, opacity 0.4s ease;
}

.bb {
  border-bottom: 1px solid #dee2e6;
}

.form-label {
  margin-bottom: 5px;
  opacity: 0.8;
  font-size: smaller;
}

.input-group-text {
  padding: 0 10px;
}

.btn {
  font-weight: 300;
  padding: 15px;
  appearance: button;
  backface-visibility: hidden;
  background-color: #405cf5;
  border-radius: 6px;
  border-width: 0;
  box-shadow: rgba(50, 50, 93, 0.1) 0 0 0 1px inset, rgba(50, 50, 93, 0.1) 0 2px 5px 0, rgba(0, 0, 0, 0.07) 0 1px 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
  line-height: 1.15;
  outline: none;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-transform: none;
  transform: translateZ(0);
  transition: all 0.2s, box-shadow 0.08s ease-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.btn:not(.btn-table) {
  height: 33px !important;
  max-height: 33px !important;
  line-height: 32px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.btn:focus {
  box-shadow: rgba(50, 50, 93, 0.1) 0 0 0 1px inset, rgba(50, 50, 93, 0.2) 0 6px 15px 0, rgba(0, 0, 0, 0.1) 0 2px 2px 0, rgba(50, 151, 211, 0.3) 0 0 0 4px;
}

.form-switch .form-check-input {
  margin-left: 5px;
}

.form-control,
input[type=text],
input[type=email],
input[type=password],
select,
.form-select {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
  font-size: 100%;
  height: 33px !important;
  max-height: 33px !important;
  line-height: 1.15;
}

.toast-top-right {
  right: 30px;
}

#toast-container {
  z-index: 9999;
  position: fixed;
}
#toast-container > div {
  opacity: 1;
  margin-bottom: 1rem;
  min-width: 300px;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: none !important;
  animation: slideInRight 0.4s ease-out;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#toast-container > div:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
#toast-container > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transition: width 0.3s ease;
}
#toast-container > .toast-success {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE1ElEQVR4nO2Z20/aZxjHf7FzUUQrIOdjO2tndrlsaa+aieIJD4iclZPGZX/BFm+I1RXQFpGjHLQ6TxXQJu26XnTr9ZJtzbbUJm2autlmWYv0WnrzLC9uxk6FH/IDtsRv8l7z+T487/s+7/eHYSc60YlyV0RxShgxXxSuGocFq6Y1/ophQ7BifM1b0b/hLfe/4S7pX3MX+h7yFvrWuAu6Ye6C7gJmsZRgxdZ7N418YWTAJoqaXwgjJhCumkBwwwiCFSPwVwzAX9YDb0kPvMX+1OIu9AH3Kx1w5nXAntM8Z81prdygjldw8NqIiS6MmgPC6EBSFDVDtvCceS2w57TAvq4B5ow6yZxV+dkBTU1B4M/GBrSimDkhig5ArvCsWfXumlEBI6TaZgaU6ryBfxgYKhXFBkOiGAInFp4ZVgEzpARGSAH0oGIaCwyVEgrPvjVEOhMb+Cbf8IygAuiBXqBP995hB6QkwipfYHigT8uhxi+7h0UU7+ZsoBBtwzgA3wM1vh6gemT+nODPrA3qigVP88qA5pEBxdWlOhY8Z72fJoyZ48WEp3q6geruTJCvSrM/YtE5X3z4LvQPAGWq05sVfO3aII+ISwoXvF8ONV5Zah0BD5SpjiTFKRXgr/7ueJB/eF8PsCdl8OmtcTg7pQKaq/sQ+E6odnbA6cl2Kz56i6VEGDE9LwQ8y9ENd598D0hPtrfgvFsHVAT9L/jqSSlUOaQv0NCIo/rmiwWpvEMG957+APv14I/HUG1vOwB/2oFWO1Rda/84s4FV43Ax4PcM2FqPgoeqq21fZDQguGFcxwU/pwXOrAbY14/fNvv1OL4FdU41UCY7joKHyvHWKB4DDzPCz2rh/bABPrvrAL5fDaywKqfKP3q5CbVOVXr4iVaoHG/5NbOBZUMiE/wHYRM8iv+W+vH7mw+A71UCK6TMX+UnWneXvTme0QBv2ZBM1/MsXy/8/OfTtyC+ffYjcN0KYAYU+an8RKr6QLY172Q2sKRPptuwTO9BA/+Y4LjkwEDQ+YC3twDZKslsgLvYn0h72syooT5o2Guh/br/7CfgTMmB7pMT1zbjf8PbmoFklWRuoVR6kOmoDKugPqA/1MR3yIRTTjh8hU0CpCuSzJuYu9i3juucDyqhfvpwE6hlCGsb2y58hRUZaMx8jKZyG7yXVKAXzvv6YePV5gFYIitfkYJvAtJY4+d4DFzI6ob1y6HO25fWBCHwXzZB+Yj4I1zDHHteu5XteFDn0cLGy838wY82/o47zUOJWdaPEY8Mzrk0b5kgDH6sEcpHG67ggk+1UVDHQ4lZ1i8pVzecm9KkhjK0ctuwTfvhd8rHGrhYNkJx37GegWiStLftTpVEwI+JoWxU7MayFS+koDLCyvgx37DpRuLs4C83bJMtl46Xm6Ksspjw5aNiKB9pUGC5CGWVxYIvG/nEg+WsiOJUjb/3ZsHhLzd8jVkuvUNMuBuQkmg+2Z0CVv42ZiEo3N1TYKgUZZUFaRsLQZU/TCirpLq64nk4bV7lvGHxqtLdTUNxH8XZuUPEJVU2KnZXWSRUrNCiXmvnosSsytG+lT28eAuNB1nfsHmRxVKCQieU26DoA6UHZHtLgmxvTpJtkiTJ2pQgWZt+QfM8GolTU+V/4TPriU6E/f/1F2g37z10XXwqAAAAAElFTkSuQmCC) !important;
  background-color: #f0fdf4 !important;
  background-size: 30px;
  color: #166534;
}
#toast-container > .toast-success::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
#toast-container > .toast-success .toast-title {
  font-weight: 600;
  color: #166534;
}
#toast-container > .toast-success .toast-message {
  color: #47a85f;
  font-size: 0.95rem;
}
#toast-container > .toast-success .toast-close-button {
  color: #10b981;
  opacity: 0.7;
}
#toast-container > .toast-success .toast-close-button:hover {
  opacity: 1;
}
#toast-container > .toast-success .toast-progress {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
#toast-container > .toast-error {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFPElEQVR4nO2Yy1NbVRzHM2pddNnqwilqqaWlYJuQB+GR5IYANyEvIBAI7VR37Fy1DhWo0FLb7tVBxz/BaV1o3bhwxjqD406nrjo45HETyM0NyQ06hAJf53cLjtKQe/IgbPjOsCKLz/fc3znne74azZGOdKSKhWDw5ax3rF32jE7mPCMPsu6RP+S+4XS2b3gj6xrakJ2BdIYPPMn2Bh5kegYnsz2DbZiZeUlz2Pq7f/TNnDd0X/aFYjnvKHKeUcjuEcjuIOS+IGTXMGTXELLOIWT5ALK99DeITM8AMt390VVH/70UN1hXc3A5GHw95w99KXvH8jlfCKXDKwaQcfiRtvvyq3bfvMx5X6sJfK7/8uU135iU842hUvjVLj9W7T6s2r1I2zwpyeIJHRg4xseP5fyXv1rzE3h14Vc5xQDSNjfSlr4vYDAcqy68d/x4zj/2/YHDWxUDSHU6HwkG7/Eqrnzt4KVOF6QOJ6R2/gc0BV+t2EBNxsa6F94JqY1Hytw7XyH82JVDhEeqtQeSsXu0LPjswNWTa/6QeJjwKVM3ksYuSTBwpR+xdM6zwEt8ALFuP5LdA8zwCasLkQ4eSQIvAi+aHBCNDiQNXZ+XBP/X4JU6lktK5AcRvjqO3MKvEKbnEO/yqsILFieiN2aR+/kXLA6/j3h7b1F40dCFpJ7Lpw2db7Gvvjd0n2XlCf5ZSgJpe3MTwsxdxO2efeFjFh6xqTnlt6RnYgqLgfewQuD7wIt6O5ItHJJa2z0meApZsm80qjbzNDa08v+VYuLjTyBwblX4Xck/LWDJ6CgOr7Nh5ZI1RqFR1QClSpYNSzNPY7MXSDFx8w4Em0sVfntzE5Fr0xBMjqLwSa2VDCChtbaqGngeidlOG5p5YfrOC2DY2oIwew/RTudz+MnbL8JvbSE6NYeIsYsJfuWiBSvvdt5Qn3/3yMNSjsq4nUwUWN0dE1WEx3Jzx9fqI+QOPin1nI9znoKg2NpWYKsBv9LcgURT++/qI+QOSuVcUnFbX2ETVYJfbmrH8oU2Uf0LuIL5cm9YweJCbPKWsgdegN/erhQeyxfM6+oGnEP5cuMBXVLKVyhggMaJTqKw3l4mfBsSja3qBmRXQKoIXnWEbmOphSsD3ozE+Vb1EVLagyrB09jsHSfFxEe3sKS1lgqPeINJfRNn+MDDqsDvbtjrNwv+L3JjFkuXLMzwiXMmJBqM6seo0tswwrNcUhGDHeHr04VNTMzgz+YOVngIZw0TqgaodGKNxJQqC8WD6MTs/06bsJ5D5MMCX2JzE0sfTCBKJlTg42eNiNcbTUxhLuMYiKg9RijPUyRWg989bcI6W8Evkf3xMRYbzerw7xjC0GjY2jxqzNReUvQYoTxPkVgNfve0oZkPX5v618RGUsRT1xBiO+BF4BE/03JXwyqq+3Yas6LPwEQ7r+R5+fGCkipZLqmli53K2NDKP3UNIcICX69fj9RpTzEbUL6C3TfP8oalxwjledZITBuWZp7GJsa08nrETus+1ZSqDM+fSNs8YikP8PJvWPO+8EK9LiWcM5TXm1JXebjwLYjV64KaSkRd5WHBC6d1n2kqFb1DpQ7nN4cA/x047hVNNURFa6qNf1Qz+Ld13wpvGKpT7u6KKm/qKmsxNqjWyhcSdZWiySFWGz52uiVZ8YZlVdbUfZLqPlHPrVcMX69fp3M+Utd0QlNrpbSOU9SYrWgtkZLhz+gjFA9KvmEPQhSyqHSi3oaqD2oPlhvN0nJjWz5x3pxPnDNJ8Qbjb5TnKRJTqmQOZkc60pE0xfQP2+EuKSLsPcgAAAAASUVORK5CYII=) !important;
  background-color: #fef2f2 !important;
  background-size: 30px;
  color: #991b1b;
}
#toast-container > .toast-error::before {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
#toast-container > .toast-error .toast-title {
  font-weight: 600;
  color: #991b1b;
}
#toast-container > .toast-error .toast-message {
  color: #f87171;
  font-size: 0.95rem;
}
#toast-container > .toast-error .toast-close-button {
  color: #ef4444;
  opacity: 0.7;
}
#toast-container > .toast-error .toast-close-button:hover {
  opacity: 1;
}
#toast-container > .toast-error .toast-progress {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
#toast-container > .toast-warning {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEhElEQVR4nO2Yy29bRRSHr9rasd04Dz9i+9oNAqRKeSKgcew474SWiCJAiBYVdvwD7AJdUMGCsmADDSpVpSK2RU1F2iSO806cZ12CE+fJpkkbRSJ1u0LElWZ+aMZVkCVEru/c2BuPdPbfd++ZM0c/Scqd3Mkd4QNIR7Ei+7HquohV+RZWXMtYdj7BsusZYs5niDmeYLEkhqjjFqIlFxEt8QHSkeyD/yGfwLr8DVblR1iVwWvFBSw/r5gzWUsOYPF5RUuStWB/iAXbZUQtnsyDbzjtWJOvYV1OYM2NtOF/tzOBZN23JRCxXUUk35YheM8FrMtxrLshDP+bjQkA961AxPoY87YPDw888roOG+7rHFx7ePC6ZwHmLD8iIum0hd92mbDh6Tt0+HlWxcBcUS8iLpOGXz6T8MW8yGzRIGKSXlwgE20znwpPZ4tAZ4pAZgqvCsJ7PsoWPJ0pBJ0uBMIF59XBr8hWrLt3swlPpwpAwuY4RlWM2OScVwe/GTqBtzpa0dbWhpaWFrx5uhHbIWfa8JRVmEv8kB78htsj8kgtdb+I9vb2fYHm5mas3faogqdhM8iEOYFJQ6lyAbYeCLTNxt0XOHxraysXaGpqwoNeWRU8nTSDTuSDTBy/rAwe0hGsyg9Fev5Bv2cfnn19JrAz4FANT5nAeP4j3JSOHizAt0qxC7sz6EqBb2xsxNOREtXwdDwfdOw4MG70HiyQXImFps3TcUcKfENDA/4OW4XgKRMYNX2mQEDuFh2Vf03ZU+AbGupBZsTg6agJZMT0i4IWcsVE5zy5Z9uHr6+vR2tznTA8ZQLDxsWDBZadcS0eqZbmAIcPBALoeKNWGJ6OmECGDLtKBBJavLBn2n2oq6uD3+/HOx2nhOHpsJH9gb2DBZYcCS3Wg7Nnaji8z+fDubdfFYanTGDIoEggrsVu8/7Z11BbWwuv14uP36sWhqdDBpDBPAUtxNIDDRazC+++gpqaGl6fnKsQhqdcwKDgEkcd3VpslSPXPLjy+cv4vvMlTF53CsPTQQNIKE/BGE3mNpquxFrA01AeENJ3KhHwaQG/02vBz1+V4qcvS7HdYxGGp0yg71iNsmVuwb4lAr/5qxUBXxWqq6t5+b2V2OwuFoInQd0mLilM83hiJtA2Ny55UFVVhcrKSl4VFRW48YWsGp4O6JnA14rgk21k8fDETGXPD3Y5ODSr8vJylJWVYeA7uwC8fg93jG7FAlyCxX0CF7ar042A9yT8p07i20/dIGPq4GlQD9Kvu5IWPBeYLrAgYt3NxrShKfD6x+iR1OWmLKvMJjwN6oF+/Qeq4PclWFaZJXjSp+sSgucCN6WjmCu+nQX4uxiVjgkLcImIy0RmC3szCH8HPZI24e6/EpKOZZWZaBto9eX/UyRccJ5MFexqPm2C+j+FL6xiiTmzlcV9ZNK8JwpPgvo9NucRlCwZgU8RmTa6WWJGxvK30t5tBnRbbD1I+4U9FBG2AI4bvSy3YdEHSw/IsCFOho0JMmRIkKG8OAkZomyfZysx2yoVL2a5kzu5I/3f+QfNXBPWhKYM3QAAAABJRU5ErkJggg==) !important;
  background-color: #fffbeb !important;
  background-size: 30px;
  color: #92400e;
}
#toast-container > .toast-warning::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
#toast-container > .toast-warning .toast-title {
  font-weight: 600;
  color: #92400e;
}
#toast-container > .toast-warning .toast-message {
  color: #f59e0b;
  font-size: 0.95rem;
}
#toast-container > .toast-warning .toast-close-button {
  color: #f59e0b;
  opacity: 0.7;
}
#toast-container > .toast-warning .toast-close-button:hover {
  opacity: 1;
}
#toast-container > .toast-warning .toast-progress {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
#toast-container > .toast-info {
  background-color: #f0f9ff !important;
  color: #0c4a6e;
}
#toast-container > .toast-info::before {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
#toast-container > .toast-info .toast-title {
  font-weight: 600;
  color: #0c4a6e;
}
#toast-container > .toast-info .toast-message {
  color: #0ea5e9;
  font-size: 0.95rem;
}
#toast-container > .toast-info .toast-close-button {
  color: #3b82f6;
  opacity: 0.7;
}
#toast-container > .toast-info .toast-close-button:hover {
  opacity: 1;
}
#toast-container > .toast-info .toast-progress {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.toast-progress {
  height: 3px;
  background-color: currentColor;
}

.toast-close-button {
  transition: all 0.2s ease;
  opacity: 0.5;
}
.toast-close-button:hover {
  opacity: 1;
  transform: scale(1.1);
}

.toast-title {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.toast-message {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(400px);
  }
}
.achievement-toast-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.achievement-toast {
  font-size: 1rem;
}

.modal-content {
  border-radius: 0;
}

.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  line-height: 1;
}
.user-avatar-small:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}
.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.1);
}
.dropdown-item i {
  font-size: 1.1rem;
  color: #667eea;
}

.login-container {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #3F0A75 0%, #764ba2 100%);
}

.welcome-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  position: relative;
  overflow: hidden;
}
.welcome-section::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}
.welcome-section::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
}

.welcome-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.welcome-title {
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-text {
  margin-bottom: 30px;
  opacity: 0.95;
}

.mascot-container {
  margin-top: 30px;
  animation: float 3s ease-in-out infinite;
}

.mascot-icon {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.decorative-elements {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.decorative-elements i {
  position: absolute;
  opacity: 0.3;
  animation: drift 4s ease-in-out infinite;
}

.login-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #8b9fe8 0%, #9d8ac7 100%);
  padding: 40px;
}

.login-card {
  background: white;
  padding: 50px 45px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.98);
  max-width: 450px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-logo {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3F0A75 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.login-tagline {
  color: #6c757d;
}

.form-control-modern {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  background: #d1d5da;
}
.form-control-modern:focus {
  border-color: #3F0A75;
  background: white;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  outline: none;
}
.form-control-modern.is-invalid {
  border-color: #ef4444;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 3px;
  right: 15px;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0 5px;
}
.password-toggle:hover {
  color: #3F0A75;
}

.btn-login {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-login:hover {
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
  transform: translateY(-2px);
}
.btn-login {
  border-radius: 15px;
  padding: 15px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}
.btn-login:hover {
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
  color: whitesmoke;
}

.btn-test-account {
  padding: 10px 15px;
  background: white;
  color: #495057;
  transition: all 0.3s ease;
  font-weight: 500;
  width: 100%;
}
.btn-test-account:hover {
  border-color: #3F0A75;
  background: #f8f9ff;
  color: #3F0A75;
}

.select-test-account {
  width: auto;
}

.help-link {
  color: #3F0A75;
  text-decoration: none;
  transition: color 0.3s ease;
}
.help-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.signup-text {
  text-align: center;
  margin-top: 25px;
  color: #6c757d;
}

.signup-link {
  color: #3F0A75;
  text-decoration: none;
  font-weight: 600;
}
.signup-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.test-accounts {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid #e9ecef;
}

.test-accounts-title {
  color: #6c757d;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.alert-modern {
  border-radius: 12px;
  border: none;
  padding: 12px 20px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
  }
  .welcome-section {
    min-height: 40vh;
    padding: 40px 20px;
  }
  .welcome-title {
    font-size: 2.5rem;
  }
  .login-section {
    min-height: 60vh;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.quiz-container,
.preview-quiz-container {
  display: flex;
}

.quiz-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  background-color: #fff;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.quiz-container .narrator-panel {
  display: none;
}

.question-sidebar {
  width: 280px;
  background: #2d3748;
  color: white;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-header h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.quiz-stats small {
  opacity: 0.8;
}

.question-list {
  flex: 1;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-content: start;
}

.question-nav-item {
  aspect-ratio: 1;
  background: #4a5568;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.question-nav-item:hover {
  background: #5a6678;
  transform: translateY(-2px);
}
.question-nav-item.active {
  background: #4299e1;
  box-shadow: 0 0 10px rgba(66, 153, 225, 0.5);
}
.question-nav-item.answered {
  background: #48bb78;
}
.question-nav-item.answered .question-status i {
  color: #fff;
}

.question-number {
  font-size: 14px;
  font-weight: 600;
}

.question-status i {
  font-size: 8px;
  opacity: 0.6;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  overflow-y: auto;
}

.timer-bar {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 12px 30px;
  text-align: center;
}

.timer-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #856404;
}
.timer-info strong {
  font-size: 1.1em;
  color: #dc3545;
}

.question-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  animation: fadeIn 0.4s ease;
}

.question-header {
  margin-bottom: 20px;
}

.question-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-progress {
  color: #6c757d;
  font-size: 0.9em;
}

.question-content {
  flex: 1;
  margin-bottom: 30px;
}

.question-text-box {
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.question-text {
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.question-image {
  text-align: center;
}
.question-image img {
  max-height: 300px;
  object-fit: contain;
}

.choices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.choices-grid .choice-option {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.choices-grid .choice-option:hover {
  border-color: rgb(197.0976377953, 149.1472440945, 245.9527559055);
  background-color: rgb(245.3496062992, 237.3578740157, 253.4921259843);
}
.choices-grid .choice-option.selected {
  border-color: #3F0A75;
  background-color: rgb(235.6992125984, 219.7157480315, 251.9842519685);
}
.choices-grid .choice-option.selected::before {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  color: #3F0A75;
  font-weight: bold;
}
.choices-grid .choice-option.correct {
  border-color: #10b981;
  background-color: rgb(226.5597014925, 252.5402985075, 243.9313432836);
}
.choices-grid .choice-option.correct::before {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  color: #10b981;
  font-weight: bold;
}
.choices-grid .choice-option .choice-text {
  font-size: 1rem;
  color: #3F0A75;
  line-height: 1.4;
  margin: 0;
}
.choices-grid .choice-option input[type=radio] {
  pointer-events: none;
}

.choices-container.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  overflow-x: hidden;
}

.choice-item {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: white;
  transition: all 0.2s ease;
  cursor: pointer;
}
.choice-item:hover {
  border-color: rgb(197.0976377953, 149.1472440945, 245.9527559055);
  background-color: rgb(245.3496062992, 237.3578740157, 253.4921259843);
}
.choice-item:has(input[type=radio]:checked), .choice-item:has(input[type=checkbox]:checked) {
  border-color: #3F0A75;
  background-color: rgb(235.6992125984, 219.7157480315, 251.9842519685);
  border-width: 1px;
}
.choice-item.choice-correct {
  background-color: #d1fae5 !important;
  border-color: #28a745 !important;
  border-width: 1px !important;
}

#add_choices_container,
#edit_choices_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
#add_choices_container .input-group,
#edit_choices_container .input-group {
  width: 100%;
}
#add_choices_container .input-group .form-control,
#edit_choices_container .input-group .form-control {
  border-radius: 0.375rem;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  transition: all 0.2s ease;
}
#add_choices_container .input-group .form-control:focus,
#edit_choices_container .input-group .form-control:focus {
  border-color: #3F0A75;
  box-shadow: 0 0 0 0.2rem rgba(63, 10, 117, 0.15);
}

#questionsList {
  padding: 10px;
}
#questionsList .accordion-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#questionsList .accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#questionsList .accordion-item:last-child {
  margin-bottom: 0;
}
#questionsList .accordion-header .accordion-button {
  background-color: #d1d5da;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  color: #3F0A75;
}
#questionsList .accordion-header .accordion-button:not(.collapsed) {
  background-color: rgb(245.3496062992, 237.3578740157, 253.4921259843);
  border-bottom: 2px solid #3F0A75;
  color: #3F0A75;
  box-shadow: none;
}
#questionsList .accordion-header .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
#questionsList .accordion-header .accordion-button::after {
  transition: transform 0.2s ease;
}
#questionsList .accordion-body {
  padding: 1.75rem;
  background-color: #ffffff;
}
#questionsList .question-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #3F0A75;
  line-height: 1.5;
}

.fill-blank-input input {
  padding: 15px 20px;
  font-size: 1.1em;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}
.fill-blank-input input:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dee2e6;
}
.quiz-navigation .nav-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.quiz-navigation .nav-button.prev-button {
  background-color: #f8f9fa;
  color: #3F0A75;
}
.quiz-navigation .nav-button.prev-button:hover {
  background-color: #e9ecef;
}
.quiz-navigation .nav-button.next-button {
  background-color: #3F0A75;
  color: white;
}
.quiz-navigation .nav-button.next-button:hover {
  background-color: rgb(56.7, 9, 105.3);
}

.question-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 2px solid #e2e8f0;
}
.question-navigation .btn {
  min-width: 150px;
  padding: 12px 30px;
  font-size: 1.05em;
  border-radius: 10px;
}

.modal {
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex !important;
  min-width: 400px;
}
.modal .modal-dialog {
  margin: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 20px 0;
}

.summary-item {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.summary-item:hover {
  border-color: #4299e1;
  background: #ebf8ff;
}
.summary-item.answered {
  background: #c6f6d5;
  border-color: #48bb78;
}
.summary-item .question-num {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 5px;
}
.summary-item .status-text {
  font-size: 0.85em;
  color: #6c757d;
}

.type-badge,
.points-badge {
  font-size: 0.875rem;
}

.narrator-panel {
  background: #f8f9fa;
}
.narrator-panel .form-range {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .quiz-container,
  .preview-quiz-container {
    flex-direction: column;
    height: auto;
  }
  .question-sidebar {
    width: 100%;
    max-height: 200px;
  }
  .question-list {
    grid-template-columns: repeat(10, 1fr);
    overflow-x: auto;
  }
  .choices-grid,
  #add_choices_container,
  #edit_choices_container {
    grid-template-columns: 1fr;
  }
  .quiz-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  .quiz-navigation .nav-button {
    width: 100%;
    text-align: center;
  }
  #questionsList .accordion-header .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  #questionsList .accordion-body {
    padding: 1.25rem;
  }
  .choices-container.two-column {
    grid-template-columns: 1fr;
  }
}
body {
  background-color: #d1d5da;
}

.preview-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  animation: pulse 2s ease-in-out infinite;
}

.question-sidebar {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.question-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid transparent;
}
.question-nav-btn.btn-primary {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
}
.question-nav-btn.btn-success {
  background-color: #10b981;
  border-color: #10b981;
  color: white;
}
.question-nav-btn.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

.question-card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.choice-correct {
  background-color: #d1fae5 !important;
  border-color: #28a745 !important;
  border-width: 2px !important;
}

.choices-container.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.choice-item {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: white;
}

.type-badge {
  font-size: 0.875rem;
}

.points-badge {
  font-size: 0.875rem;
}

.question-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.question-text {
  width: inherit;
}

.question-badges {
  width: 30%;
  text-align: end;
}

.homepage-hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.homepage-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 165, 0, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}
.homepage-hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a202c;
}
.hero-title .highlight-purple {
  color: #3F0A75;
}
.hero-title .highlight-orange {
  color: #ffa500;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta .btn-get-started {
  background: linear-gradient(135deg, #3F0A75 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.hero-cta .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.hero-cta .btn-get-started i {
  margin-left: 8px;
}

.hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  margin-top: 50px;
}
.hero-images .student-image {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.hero-images .student-image:hover {
  transform: translateY(-10px);
}
.hero-images .student-image.student-1 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
}
.hero-images .student-image.student-1::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  top: -40px;
  left: -40px;
}
.hero-images .student-image.student-1::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 165, 0, 0.9);
  border-radius: 50%;
  bottom: -20px;
  right: -20px;
}
.hero-images .student-image.student-2 {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-images .student-image.student-2::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 165, 0, 0.9);
  border-radius: 50%;
  top: -30px;
  right: -30px;
}
.hero-images .student-image.student-2::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  bottom: -25px;
  left: -25px;
}
.hero-images .student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.decorative-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}
.decorative-shapes .shape {
  position: absolute;
  animation: drift 4s ease-in-out infinite;
  opacity: 0.6;
}
.decorative-shapes .shape.star {
  font-size: 24px;
  color: #ffa500;
}
.decorative-shapes .shape.star.star-1 {
  top: 15%;
  left: 10%;
}
.decorative-shapes .shape.star.star-2 {
  top: 25%;
  right: 15%;
}
.decorative-shapes .shape.star.star-3 {
  bottom: 20%;
  left: 8%;
}
.decorative-shapes .shape.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid rgba(102, 126, 234, 0.4);
}
.decorative-shapes .shape.triangle.triangle-1 {
  top: 40%;
  left: 5%;
}
.decorative-shapes .shape.triangle.triangle-2 {
  bottom: 30%;
  right: 10%;
}
.decorative-shapes .shape.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.decorative-shapes .shape.circle.circle-1 {
  background: rgba(255, 165, 0, 0.4);
  top: 60%;
  right: 5%;
}
.decorative-shapes .shape.circle.circle-2 {
  background: rgba(102, 126, 234, 0.4);
  top: 80%;
  left: 15%;
}
.decorative-shapes .shape.checkmark {
  font-size: 20px;
  color: #28a745;
}
.decorative-shapes .shape.checkmark.checkmark-1 {
  top: 70%;
  right: 20%;
}

.features-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1a202c;
}
.section-title .highlight {
  color: #3F0A75;
}

.section-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(102, 126, 234, 0.2);
}
.feature-card .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}
.feature-card .feature-icon.icon-courses {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.2) 100%);
  color: #3F0A75;
}
.feature-card .feature-icon.icon-instructors {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.2) 100%);
  color: #ffa500;
}
.feature-card .feature-icon.icon-students {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.2) 100%);
  color: #10b981;
}
.feature-card .feature-icon.icon-certificates {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.2) 100%);
  color: #dc3545;
}
.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a202c;
}
.feature-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #3F0A75 0%, #764ba2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -200px;
  right: -200px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
}
.cta-section .cta-content {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}
.cta-section .btn-cta {
  background: white;
  color: #3F0A75;
  padding: 15px 40px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.cta-section .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #d1d5da;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-images {
    flex-direction: column;
    align-items: center;
  }
  .hero-images .student-image.student-1 {
    width: 280px;
    height: 280px;
  }
  .hero-images .student-image.student-2 {
    width: 300px;
    height: 300px;
  }
  .section-title {
    font-size: 2rem;
  }
  .feature-card {
    margin-bottom: 30px;
  }
}
.subjects-section {
  padding: 80px 10px;
}

.subject-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.subject-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.subject-card .card-img-top {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), url("/images/default-subject-bg.png");
  background-size: cover;
  background-position: center;
  object-fit: cover;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subject-card .card-img-top .bi-book {
  font-size: 4rem;
  color: white;
}
.subject-card .card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.subject-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #495057;
  margin-bottom: 10px;
  line-height: 1.3;
}
.subject-card .card-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.subject-card .subject-progress {
  margin-top: auto;
  padding-top: 10px;
}
.subject-card .subject-progress .progress {
  height: 8px;
  background-color: #d1d5da;
  border-radius: 8px;
}
.subject-card .subject-progress .progress .progress-bar {
  border-radius: 8px;
  transition: width 0.3s ease;
}
.subject-card .card-footer {
  background-color: transparent;
  border-top: 1px solid #e9ecef;
  padding: 15px;
}
.subject-card .card-footer small {
  color: #6c757d;
  font-size: 0.875rem;
}
.subject-card .card-footer small i {
  margin-right: 5px;
}
.subject-card .badge {
  margin-right: 5px;
  padding: 5px 10px;
  font-weight: 500;
}
.subject-card .badge i {
  margin-right: 2px;
}
.subject-card .badge.bg-info {
  background-color: #dbeafe !important;
  color: rgb(11.1512195122, 99.1219512195, 242.8487804878);
}
.subject-card .badge.bg-secondary {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}
.subject-card .badge.bg-warning {
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: rgb(211, 158.25, 0);
}
.subject-card .badge.bg-success {
  background-color: #d1fae5 !important;
  color: #10b981;
}
.subject-card .btn {
  transition: transform 0.3s ease;
}

.subject-list-item {
  transition: box-shadow 0.3s ease;
}
.subject-list-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-toggle {
  transition: all 0.3s ease;
}
.view-toggle.active {
  border-color: #3F0A75;
}
.view-toggle:hover:not(.active) {
  background-color: #d1d5da;
  color: #3F0A75;
}

.fade-container {
  transition: opacity 0.3s ease;
  opacity: 1;
}
.fade-container.fading {
  opacity: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.stat-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0.05;
  transition: all 0.3s ease;
}
.stat-card.stat-blue {
  border-left: 4px solid #667eea;
}
.stat-card.stat-blue::before {
  background: #667eea;
}
.stat-card.stat-blue .stat-icon {
  background: linear-gradient(135deg, #667eea 0%, rgb(146.8448275862, 163.8103448276, 240.1551724138) 100%);
}
.stat-card.stat-blue .stat-link {
  color: #667eea;
}
.stat-card.stat-blue .stat-link:hover {
  color: rgb(57.1551724138, 88.1896551724, 227.8448275862);
}
.stat-card.stat-green {
  border-left: 4px solid #10b981;
}
.stat-card.stat-green::before {
  background: #10b981;
}
.stat-card.stat-green .stat-icon {
  background: linear-gradient(135deg, #10b981 0%, rgb(20.0597014925, 231.9402985075, 161.7313432836) 100%);
}
.stat-card.stat-green .stat-link {
  color: #10b981;
}
.stat-card.stat-green .stat-link:hover {
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.stat-card.stat-cyan {
  border-left: 4px solid #06b6d4;
}
.stat-card.stat-cyan::before {
  background: #06b6d4;
}
.stat-card.stat-cyan .stat-icon {
  background: linear-gradient(135deg, #06b6d4 0%, rgb(20.6330275229, 215.2018348624, 248.3669724771) 100%);
}
.stat-card.stat-cyan .stat-link {
  color: #06b6d4;
}
.stat-card.stat-cyan .stat-link:hover {
  color: rgb(4.5963302752, 139.4220183486, 162.4036697248);
}
.stat-card .stat-content {
  position: relative;
  z-index: 1;
}
.stat-card .stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}
.stat-card .stat-info {
  flex: 1;
}
.stat-card .stat-label {
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #495057;
  line-height: 1;
}
.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.stat-card .stat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}
.stat-card .stat-subtext {
  font-size: 0.875rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-card .stat-subtext i {
  font-size: 0.75rem;
}
.stat-card .stat-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}
.stat-card .stat-link i {
  transition: transform 0.3s ease;
}
.stat-card .stat-link:hover i {
  transform: translateX(3px);
}

.dashboard-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}
.dashboard-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}
.dashboard-section .section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #495057;
  margin: 0;
}
.dashboard-section .section-header .btn-create {
  background: linear-gradient(135deg, #3F0A75 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}
.dashboard-section .section-header .btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.subjects-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.subjects-table thead tr {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.subjects-table thead tr th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 700;
  color: #495057;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}
.subjects-table thead tr th:first-child {
  border-top-left-radius: 12px;
}
.subjects-table thead tr th:last-child {
  border-top-right-radius: 12px;
}
.subjects-table tbody tr {
  transition: all 0.3s ease;
}
.subjects-table tbody tr:hover {
  background: rgb(233.8864864865, 242.6837837838, 254.4135135135);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.subjects-table tbody tr td {
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}
.subjects-table tbody tr td.subject-name {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}
.subjects-table tbody tr td.students-count {
  color: #6c757d;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-badge.status-published {
  background: #d1fae5;
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.status-badge.status-published::before {
  background: #10b981;
}
.status-badge.status-draft {
  background: rgb(202.1566523605, 205.9613733906, 209.3433476395);
  color: #6c757d;
}
.status-badge.status-draft::before {
  background: #6c757d;
}

.action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.action-buttons .btn {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.action-buttons .btn i {
  font-size: 1rem;
}
.action-buttons .btn-view {
  border: 1px solid rgb(205.2829268293, 223.2926829268, 252.7170731707);
}
.action-buttons .btn-view:hover {
  background: rgb(205.2829268293, 223.2926829268, 252.7170731707);
  color: rgb(11.1512195122, 99.1219512195, 242.8487804878);
}
.action-buttons .btn-edit {
  border: 1px solid rgb(205.2829268293, 223.2926829268, 252.7170731707);
}
.action-buttons .btn-edit:hover {
  background: rgb(205.2829268293, 223.2926829268, 252.7170731707);
  color: rgb(11.1512195122, 99.1219512195, 242.8487804878);
}
.action-buttons .btn-quiz {
  background: rgb(158.3582089552, 246.6417910448, 217.3880597015);
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
  position: relative;
}
.action-buttons .btn-quiz:hover {
  background: rgb(134.8880597015, 244.6119402985, 208.2537313433);
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.action-buttons .btn-quiz .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 5px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  z-index: 1000;
  display: none;
}
.action-buttons .btn-quiz .dropdown-menu.show {
  display: block;
}
.action-buttons .btn-quiz .dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
}
.action-buttons .btn-quiz .dropdown-menu a:hover {
  background: #d1d5da;
}

.quiz-results-empty {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 1rem;
}

.quiz-results-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.quiz-results-list .quiz-result-item {
  padding: 5px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #3F0A75;
  transition: all 0.3s ease;
}
.quiz-results-list .quiz-result-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.quiz-results-list .quiz-result-item .result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quiz-results-list .quiz-result-item .result-header .result-title {
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}
.quiz-results-list .quiz-result-item .result-header .result-score {
  font-weight: 700;
  font-size: 1.125rem;
}
.quiz-results-list .quiz-result-item .result-header .result-score.score-pass {
  color: #10b981;
}
.quiz-results-list .quiz-result-item .result-header .result-score.score-fail {
  color: #ef4444;
}
.quiz-results-list .quiz-result-item .result-info {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: #6c757d;
}
.quiz-results-list .quiz-result-item .result-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .subjects-table {
    font-size: 0.875rem;
  }
  .subjects-table thead th,
  .subjects-table tbody td {
    padding: 10px;
  }
  .action-buttons {
    flex-direction: column;
  }
  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
@keyframes avatarBounce {
  0%, 100% {
    transform: scale(1.1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-5px);
  }
}
@keyframes avatarWiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}
.profile-container {
  min-height: 100vh;
  padding: 2rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.profile-container .container {
  max-width: 1200px;
}

.profile-back {
  margin-bottom: 1.5rem;
}
.profile-back .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 8px;
  color: #3F0A75;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile-back .btn-back:hover {
  transform: translateX(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: rgb(37.7007874016, 5.9842519685, 70.0157480315);
}
.profile-back .btn-back i {
  font-size: 1.2rem;
}

.profile-tabs-wrapper {
  background: white;
  border-radius: 12px 12px 0 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.profile-tabs-wrapper .profile-tabs {
  border-bottom: none;
  display: flex;
  justify-content: space-around;
}
.profile-tabs-wrapper .profile-tabs .nav-item {
  flex: 1;
}
.profile-tabs-wrapper .profile-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-weight: 600;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  background: transparent;
  width: 100%;
}
.profile-tabs-wrapper .profile-tabs .nav-link:hover {
  color: #3F0A75;
  background: rgba(63, 10, 117, 0.05);
}
.profile-tabs-wrapper .profile-tabs .nav-link.active {
  color: #3F0A75;
  border-bottom-color: #3F0A75;
  background: rgba(63, 10, 117, 0.05);
}

.profile-tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.avatar-section .category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}
.avatar-section .category-title:first-of-type {
  margin-top: 0;
}
.avatar-section .avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .avatar-section .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }
}
.avatar-section .avatar-item {
  position: relative;
}
.avatar-section .avatar-item .avatar-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box {
  animation: avatarBounce 0.6s ease-in-out;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px #3F0A75, 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box .avatar-icon {
  animation: avatarWiggle 0.5s ease-in-out;
}
.avatar-section .avatar-item .avatar-input:checked + .avatar-label .avatar-box::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  background: #3F0A75;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: avatarBounce 0.6s ease-in-out;
}
.avatar-section .avatar-item .avatar-label {
  cursor: pointer;
  display: block;
}
.avatar-section .avatar-item .avatar-box {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .avatar-section .avatar-item .avatar-box {
    width: 60px;
    height: 60px;
  }
}
.avatar-section .avatar-item .avatar-box .avatar-icon {
  font-size: 2.5rem;
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .avatar-section .avatar-item .avatar-box .avatar-icon {
    font-size: 2rem;
  }
}
.avatar-section .avatar-item .avatar-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.avatar-section .avatar-item .avatar-box:hover .avatar-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}
.avatar-section .avatar-color-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}
.avatar-section .avatar-color-section .color-picker-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .avatar-section .avatar-color-section .color-picker-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.avatar-section .avatar-color-section .color-preview {
  text-align: center;
}
.avatar-section .avatar-color-section .color-preview .preview-avatar {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.avatar-section .avatar-color-section .color-preview .preview-avatar:hover {
  transform: scale(1.05) rotate(2deg);
}
.avatar-section .avatar-color-section .color-preview .preview-avatar .preview-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.avatar-section .avatar-color-section .color-preview .preview-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
  margin: 0;
}
.avatar-section .avatar-color-section .color-picker-controls .color-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.avatar-section .avatar-color-section .color-picker-controls .color-label i {
  color: #3F0A75;
  font-size: 1.3rem;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input {
  width: 80px;
  height: 50px;
  border: 3px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input:hover {
  border-color: #3F0A75;
  transform: scale(1.05);
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input::-webkit-color-swatch-wrapper {
  padding: 4px;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.avatar-section .avatar-color-section .color-picker-controls .color-input-group .color-text-input {
  flex: 1;
  max-width: 150px;
  font-family: "Courier New", monospace;
  font-weight: 600;
  text-transform: uppercase;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
  gap: 0.75rem;
  max-width: 600px;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: 3px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border-color: #fff;
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color.active {
  border-color: #3F0A75;
  border-width: 4px;
  transform: scale(1.15);
}
.avatar-section .avatar-color-section .color-picker-controls .preset-colors .preset-color.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.profile-section .profile-form .form-group {
  margin-bottom: 1.5rem;
}
.profile-section .profile-form .form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.profile-section .profile-form .form-group .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.profile-section .profile-form .form-group .form-control:focus {
  border-color: #3F0A75;
  box-shadow: 0 0 0 3px rgba(63, 10, 117, 0.1);
  outline: none;
}
.profile-section .profile-form .form-group .form-control::placeholder {
  color: #a0aec0;
}
.profile-section .profile-form .form-group textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.profile-section .section-field .input-group {
  width: auto;
}

.settings-section .settings-card {
  background: #f7fafc;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}
.settings-section .settings-card:hover {
  border-color: #3F0A75;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.settings-section .settings-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.settings-section .settings-card .card-title i {
  color: #3F0A75;
  font-size: 1.5rem;
}
.settings-section .settings-card .form-group {
  margin-bottom: 1.25rem;
}
.settings-section .settings-card .form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.settings-section .settings-card .form-group .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}
.settings-section .settings-card .form-group .form-control:focus {
  border-color: #3F0A75;
  box-shadow: 0 0 0 3px rgba(63, 10, 117, 0.1);
}
.settings-section .settings-card .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}
.settings-section .settings-card .form-check-input:checked {
  background-color: #3F0A75;
  border-color: #3F0A75;
}
.settings-section .settings-card .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(63, 10, 117, 0.25);
}
.settings-section .settings-card .form-check {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.settings-section .settings-card .form-check:last-child {
  border-bottom: none;
}
.settings-section .settings-card .form-check .form-check-label {
  font-weight: 500;
  color: #2d3748;
  margin-left: 1rem;
  cursor: pointer;
}
.settings-section .settings-card.danger-zone {
  border-color: #fed7d7;
  background: #fff5f5;
}
.settings-section .settings-card.danger-zone:hover {
  border-color: #fc8181;
}
.settings-section .settings-card.danger-zone .card-title {
  color: #c53030;
}
.settings-section .settings-card.danger-zone .card-title i {
  color: #c53030;
}
.settings-section .settings-card.danger-zone .text-muted {
  color: #742a2a !important;
  margin-bottom: 1.5rem;
}

.subscription-section .current-plan-card {
  background: linear-gradient(135deg, #3F0A75 0%, rgb(88.2992125984, 14.0157480315, 163.9842519685) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.subscription-section .current-plan-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.subscription-section .current-plan-card .plan-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.subscription-section .current-plan-card .plan-badge.premium {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.subscription-section .current-plan-card .plan-badge.pro {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.subscription-section .current-plan-card .plan-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.subscription-section .current-plan-card .plan-description {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.subscription-section .plans-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
}
.subscription-section .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .subscription-section .plans-grid {
    grid-template-columns: 1fr;
  }
}
.subscription-section .plan-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}
.subscription-section .plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: #3F0A75;
}
.subscription-section .plan-card.featured {
  border-color: #3F0A75;
  border-width: 3px;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .subscription-section .plan-card.featured {
    transform: scale(1);
  }
}
.subscription-section .plan-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
}
@media (max-width: 768px) {
  .subscription-section .plan-card.featured:hover {
    transform: translateY(-8px) scale(1);
  }
}
.subscription-section .plan-card.featured .featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3F0A75 0%, rgb(37.7007874016, 5.9842519685, 70.0157480315) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.subscription-section .plan-card.active {
  border-color: #10b981;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 0%, white 100%);
}
.subscription-section .plan-card.active .plan-header .plan-name {
  color: #10b981;
}
.subscription-section .plan-card .plan-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
}
.subscription-section .plan-card .plan-header .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}
.subscription-section .plan-card .plan-header .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}
.subscription-section .plan-card .plan-header .plan-price .price {
  font-size: 3rem;
  font-weight: 800;
  color: #3F0A75;
  line-height: 1;
}
.subscription-section .plan-card .plan-header .plan-price .period {
  font-size: 1.1rem;
  color: #718096;
  font-weight: 500;
}
.subscription-section .plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.subscription-section .plan-card .plan-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #4a5568;
}
.subscription-section .plan-card .plan-features li i {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.subscription-section .plan-card .plan-features li i.bi-check-circle-fill {
  color: #10b981;
}
.subscription-section .plan-card .plan-features li i.bi-x-circle {
  color: #cbd5e0;
}
.subscription-section .plan-card .btn {
  width: 100%;
  padding: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.subscription-section .plan-card .btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.subscription-section .plan-card .btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.form-actions .btn-save {
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-actions .btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.form-actions .btn-save i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .profile-container {
    padding: 1rem 0;
  }
  .profile-tab-content {
    padding: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .profile-tabs-wrapper .profile-tabs .nav-link {
    font-size: 0.85rem;
    padding: 1rem 0.5rem;
  }
  .avatar-section .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
  }
  .settings-section .settings-card {
    padding: 1.5rem;
  }
  .subscription-section .current-plan-card {
    padding: 2rem;
  }
  .d-flex.align-items-center.gap-3 {
    flex-direction: column;
    align-items: stretch !important;
  }
  .d-flex.align-items-center.gap-3 > div {
    width: 100%;
  }
  .d-flex.align-items-center.gap-3 .form-check {
    margin-bottom: 0.5rem;
  }
  .d-flex.align-items-center.gap-3 .d-flex {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .d-flex.align-items-center.gap-3 .ms-auto {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    flex-direction: row;
    justify-content: flex-end;
  }
  #profileVoiceSelect {
    min-width: 100% !important;
  }
}
.subject-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  max-height: 400px;
}

.card .row .col-md-4 img.img-fluid.rounded-start {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  max-height: 314px;
}

#subjectTabs .nav-link.active {
  border-bottom: 1px solid white;
  position: relative;
  top: 1px;
  z-index: 2;
}

#subjectTabsContent .tab-pane .card-header {
  background-color: white;
  border-radius: 0 12px 0 0;
  padding-top: 20px;
}

#modulesAccordion .accordion-item {
  margin-bottom: 5px;
  border: 1px solid #dee2e6;
}
#modulesAccordion .accordion-item:first-of-type {
  border: 1px solid #dee2e6;
}
#modulesAccordion h2.accordion-header {
  background-color: #d1d5da;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  padding: 0;
  margin-bottom: 0;
}
#modulesAccordion h2.accordion-header.collapsed {
  box-shadow: none;
}
#modulesAccordion h2.accordion-header .accordion-button {
  border-radius: 0;
  margin-right: 10px;
  background-color: #e9ecef;
  border: none;
  color: #495057;
  font-weight: 600;
  padding: 15px 20px;
  box-shadow: none;
  position: relative;
  transition: all 0.3s ease ease-in-out;
}
#modulesAccordion h2.accordion-header .accordion-button:not(.collapsed) {
  background-color: #e8f0f8;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  color: #495057;
}
#modulesAccordion h2.accordion-header .accordion-button.collapsed {
  background-color: #e9ecef;
  color: #495057;
}
#modulesAccordion h2.accordion-header .accordion-button::after {
  display: none;
}
#modulesAccordion h2.accordion-header .accordion-button::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 15px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease ease-in-out;
  transform: rotate(0deg);
}
#modulesAccordion h2.accordion-header .accordion-button:not(.collapsed)::before {
  transform: rotate(-180deg);
}
#modulesAccordion h2.accordion-header .accordion-button:focus {
  outline: 0;
  box-shadow: none;
  border-color: transparent;
}
#modulesAccordion h2.accordion-header .accordion-button:hover {
  background-color: rgb(218.2368421053, 223.25, 228.2631578947);
}
#modulesAccordion h2.accordion-header .accordion-button:not(.collapsed):hover {
  background-color: rgb(212.45, 227.25, 242.05);
}
#modulesAccordion h2.accordion-header .lesson-count-info {
  position: absolute;
  right: 5px;
  text-align: right;
}
#modulesAccordion .lessons-header {
  background: #e9ecef;
  padding: 10px 20px;
}
#modulesAccordion .lessons-list {
  border: 1px solid #dee2e6;
}
#modulesAccordion .lessons-list li {
  border-bottom: 1px solid #dee2e6;
}

#lessonModal {
  border-radius: 0;
}
#lessonModal .modal-dialog .modal-content {
  margin: 0 auto;
  width: 80%;
  min-height: calc(100vh - 60px);
  top: 10px;
}
#lessonModal #pdfContainer {
  height: 75vh;
}
#lessonModal #pdfContainer ratio {
  height: 75vh;
}

.latest-score .score-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.latest-score .score-circle.passed {
  background: linear-gradient(135deg, #10b981 0%, rgb(20.0597014925, 231.9402985075, 161.7313432836) 100%);
  color: white;
}
.latest-score .score-circle.failed {
  background: linear-gradient(135deg, #ef4444 0%, rgb(250.6197044335, 107.3802955665, 107.3802955665) 100%);
  color: white;
}
.latest-score .score-circle:hover {
  transform: scale(1.05);
}

.subject-image {
  border: 2px solid;
  border-image: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)) 1;
}

.achievement-badge {
  background: white;
  border-radius: 15px;
  padding: 15px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}
.achievement-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.achievement-title {
  font-size: 0.938rem;
  font-weight: 700;
  color: #495057;
  margin-bottom: 5px;
}

.achievement-desc {
  font-size: 0.813rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.table-responsive {
  overflow-x: auto;
}
.table-responsive table th:last-child,
.table-responsive table td:last-child {
  min-width: 280px !important;
  width: 280px;
  overflow: visible !important;
}
.table-responsive table td {
  vertical-align: middle;
}

.approve-enrollment-btn,
.reject-enrollment-btn,
.remove-student-btn {
  margin-right: 5px;
  margin-bottom: 5px;
  white-space: normal;
  flex-shrink: 0;
}

.d-flex.flex-wrap {
  gap: 10px;
}
.d-flex.flex-wrap > .btn,
.d-flex.flex-wrap > .btn-group {
  margin: 0;
}

@media (max-width: 768px) {
  .subject-card-image {
    height: 150px;
  }
  .subject-card-title {
    font-size: 1.1rem;
  }
  #lessonModal {
    border-radius: 0;
  }
  #lessonModal .modal-dialog .modal-content {
    margin: 0 auto;
    width: 94%;
    min-height: calc(100vh - 20px);
    top: -10px;
  }
}
.quiz-results-container {
  min-height: 100vh;
  padding-bottom: 50px;
}

.results-header {
  background: white;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.quiz-title {
  color: #2d3748;
  font-weight: 600;
}

.score-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.6s ease;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.score-circle {
  position: relative;
  display: inline-block;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 1.5s ease;
  animation: drawCircle 1.5s ease forwards;
}
@keyframes drawCircle {
  from {
    stroke-dashoffset: 534.07;
  }
}

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.percentage {
  font-size: 2em;
  font-weight: 700;
  color: #2d3748;
}

.points {
  font-size: 1.2em;
  color: #718096;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 20px;
}
.result-badge i {
  font-size: 1.5em;
}
.result-badge.passed {
  background: #c6f6d5;
  color: #22543d;
}
.result-badge.failed {
  background: #fed7d7;
  color: #742a2a;
}

.quick-stats {
  border-top: 2px solid #e2e8f0;
  padding-top: 20px;
}

.stat-box {
  text-align: center;
}

.stat-value {
  font-size: 2em;
  font-weight: 700;
  color: #2d3748;
}

.stat-label {
  color: #718096;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.answer-review-item {
  padding: 25px;
  background: #f7fafc;
  border-radius: 15px;
  border-left: 5px solid #e2e8f0;
  transition: all 0.3s ease;
}
.answer-review-item.correct {
  border-left-color: #48bb78;
}
.answer-review-item.incorrect {
  border-left-color: #f56565;
  background: #fff5f5;
}

.question-header-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.question-text-review {
  color: #2d3748;
  font-weight: 500;
  line-height: 1.6;
}

.choices-review {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 1rem;
}

.choice-review-item {
  padding: 15px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.choice-review-item.correct-answer {
  background-color: #d1fae5 !important;
  border-color: #28a745 !important;
  border-width: 2px !important;
}
.choice-review-item.student-answer.correct-answer {
  background-color: #d1fae5 !important;
  border-color: #28a745 !important;
  border-width: 2px !important;
}
.choice-review-item.student-answer:not(.correct-answer) {
  background-color: #fed7d7 !important;
  border-color: #dc3545 !important;
  border-width: 2px !important;
}

.choice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.choice-text {
  flex: 1;
  font-size: 1em;
}

.choice-indicators {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.2rem;
}

.fill-blank-review {
  margin-top: 15px;
}

.answer-comparison {
  display: grid;
  gap: 15px;
}

.student-fill-answer,
.correct-fill-answer {
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.student-fill-answer.correct {
  border-color: #48bb78;
  background: #f0fff4;
}
.student-fill-answer.incorrect {
  border-color: #f56565;
  background: #fff5f5;
}

.correct-fill-answer {
  border-color: #48bb78;
  background: #f0fff4;
}

.answer-comparison label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  display: block;
}

.answer-text {
  font-size: 1.1em;
  color: #2d3748;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
}

.explanation-box {
  background: #edf2f7;
  border-left: 4px solid #4299e1;
  padding: 15px 20px;
  border-radius: 8px;
}
.explanation-box strong {
  color: #2d3748;
}
.explanation-box p {
  color: #4a5568;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .score-card {
    padding: 20px;
  }
  .result-badge {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .percentage {
    font-size: 2em;
  }
  .quick-stats .row {
    text-align: center;
  }
}
.features-form .form-check-input[type=checkbox] {
  width: 3rem;
  height: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.features-form .form-check-input[type=checkbox]:checked {
  background-color: #3F0A75;
  border-color: #3F0A75;
}
.features-form .input-group-sm .input-group-text {
  padding: 0.25rem 0.5rem;
  border-right: none;
}
.features-form .input-group-sm .form-control {
  border-left: none;
  text-align: center;
}
.features-form .input-group-sm .form-control:focus {
  box-shadow: none;
}

.admin-users-table .table th,
.admin-users-table .table td {
  vertical-align: middle;
  padding: 10px 15px;
}
.admin-users-table .table td .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-users-table .table td .user-info .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.admin-users-table .table td .user-info .name {
  font-weight: 500;
}
.admin-users-table .table .btn-group .btn {
  height: auto !important;
  max-height: none !important;
  line-height: normal !important;
  padding: 5px 10px !important;
}

.user-features-table {
  position: relative;
  min-height: 200px;
}
.user-features-table .loading-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.user-features-table .loading-spinner.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-features .table-responsive {
  position: relative;
}
.user-features .table-content {
  position: relative;
  transition: opacity 0.3s ease-in-out;
}
.user-features .table-content.fade-out {
  opacity: 0.75;
  pointer-events: none;
}
.user-features .table-content.fade-in {
  opacity: 1;
  pointer-events: auto;
}
.user-features .filter-form .form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.user-features .filter-form .input-group-text {
  border-right: none;
}
.user-features .filter-form .form-control:focus,
.user-features .filter-form .form-select:focus {
  box-shadow: none;
}
.user-features .per-page-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.user-features .per-page-selector label {
  margin-bottom: 0;
}
.user-features .per-page-selector select {
  width: auto;
}
.user-features .user-row td {
  vertical-align: middle;
}
.user-features .user-row .user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.user-features .user-row .user-info .user-name {
  font-weight: 600;
}
.user-features .user-row .user-info .user-email {
  font-size: 0.875rem;
}
.user-features .user-row .feature-toggle .form-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.user-features .user-row .feature-toggle .form-switch .form-check-input {
  cursor: pointer;
}
.user-features .user-row .feature-toggle .form-switch .form-check-label {
  font-size: 0.875rem;
}
.user-features .user-row .limit-inputs .input-group-sm {
  max-width: 120px;
}
.user-features .role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.user-features .role-badge i {
  font-size: 1rem;
}

/*!
 * Quill Editor v2.0.3
 * https://quilljs.com
 * Copyright (c) 2017-2024, Slab
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.ql-container {
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  height: 100%;
  margin: 0;
  position: relative;
}

.ql-container.ql-disabled .ql-tooltip {
  visibility: hidden;
}

.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui, .ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui {
  cursor: pointer;
}

.ql-clipboard {
  left: -100000px;
  height: 1px;
  overflow-y: hidden;
  position: absolute;
  top: 50%;
}

.ql-clipboard p {
  margin: 0;
  padding: 0;
}

.ql-editor {
  box-sizing: border-box;
  counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  line-height: 1.42;
  height: 100%;
  outline: none;
  overflow-y: auto;
  padding: 12px 15px;
  tab-size: 4;
  -moz-tab-size: 4;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.ql-editor > * {
  cursor: text;
}

.ql-editor p, .ql-editor ol, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
  margin: 0;
  padding: 0;
}

@supports (counter-set: none) {
  .ql-editor p, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
    counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor p, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor table {
  border-collapse: collapse;
}

.ql-editor td {
  border: 1px solid #000;
  padding: 2px 5px;
}

.ql-editor ol {
  padding-left: 1.5em;
}

.ql-editor li {
  list-style-type: none;
  padding-left: 1.5em;
  position: relative;
}

.ql-editor li > .ql-ui:before {
  display: inline-block;
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
  white-space: nowrap;
  width: 1.2em;
}

.ql-editor li[data-list=checked] > .ql-ui, .ql-editor li[data-list=unchecked] > .ql-ui {
  color: #777;
}

.ql-editor li[data-list=bullet] > .ql-ui:before {
  content: "•";
}

.ql-editor li[data-list=checked] > .ql-ui:before {
  content: "☑";
}

.ql-editor li[data-list=unchecked] > .ql-ui:before {
  content: "☐";
}

@supports (counter-set: none) {
  .ql-editor li[data-list] {
    counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list] {
    counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered] {
  counter-increment: list-0;
}

.ql-editor li[data-list=ordered] > .ql-ui:before {
  content: counter(list-0, decimal) ". ";
}

.ql-editor li[data-list=ordered].ql-indent-1 {
  counter-increment: list-1;
}

.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before {
  content: counter(list-1, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-1 {
    counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-1 {
    counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-2 {
  counter-increment: list-2;
}

.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before {
  content: counter(list-2, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-2 {
    counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-2 {
    counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-3 {
  counter-increment: list-3;
}

.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before {
  content: counter(list-3, decimal) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-3 {
    counter-set: list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-3 {
    counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-4 {
  counter-increment: list-4;
}

.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before {
  content: counter(list-4, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-4 {
    counter-set: list-5 list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-4 {
    counter-reset: list-5 list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-5 {
  counter-increment: list-5;
}

.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before {
  content: counter(list-5, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-5 {
    counter-set: list-6 list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-5 {
    counter-reset: list-6 list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-6 {
  counter-increment: list-6;
}

.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before {
  content: counter(list-6, decimal) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-6 {
    counter-set: list-7 list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-6 {
    counter-reset: list-7 list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-7 {
  counter-increment: list-7;
}

.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before {
  content: counter(list-7, lower-alpha) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-7 {
    counter-set: list-8 list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-7 {
    counter-reset: list-8 list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-8 {
  counter-increment: list-8;
}

.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before {
  content: counter(list-8, lower-roman) ". ";
}

@supports (counter-set: none) {
  .ql-editor li[data-list].ql-indent-8 {
    counter-set: list-9;
  }
}
@supports not (counter-set: none) {
  .ql-editor li[data-list].ql-indent-8 {
    counter-reset: list-9;
  }
}
.ql-editor li[data-list=ordered].ql-indent-9 {
  counter-increment: list-9;
}

.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before {
  content: counter(list-9, decimal) ". ";
}

.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
  padding-left: 3em;
}

.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
  padding-left: 4.5em;
}

.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
  padding-right: 3em;
}

.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
  padding-right: 4.5em;
}

.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
  padding-left: 6em;
}

.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
  padding-left: 7.5em;
}

.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
  padding-right: 6em;
}

.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
  padding-right: 7.5em;
}

.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
  padding-left: 9em;
}

.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
  padding-left: 10.5em;
}

.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
  padding-right: 9em;
}

.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
  padding-right: 10.5em;
}

.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
  padding-left: 12em;
}

.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
  padding-left: 13.5em;
}

.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
  padding-right: 12em;
}

.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
  padding-right: 13.5em;
}

.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
  padding-left: 15em;
}

.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
  padding-left: 16.5em;
}

.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
  padding-right: 15em;
}

.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
  padding-right: 16.5em;
}

.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
  padding-left: 18em;
}

.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
  padding-left: 19.5em;
}

.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
  padding-right: 18em;
}

.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
  padding-right: 19.5em;
}

.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
  padding-left: 21em;
}

.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
  padding-left: 22.5em;
}

.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
  padding-right: 21em;
}

.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
  padding-right: 22.5em;
}

.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
  padding-left: 24em;
}

.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
  padding-left: 25.5em;
}

.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
  padding-right: 24em;
}

.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
  padding-right: 25.5em;
}

.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
  padding-left: 27em;
}

.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
  padding-left: 28.5em;
}

.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
  padding-right: 27em;
}

.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
  padding-right: 28.5em;
}

.ql-editor li.ql-direction-rtl {
  padding-right: 1.5em;
}

.ql-editor li.ql-direction-rtl > .ql-ui:before {
  margin-left: 0.3em;
  margin-right: -1.5em;
  text-align: left;
}

.ql-editor table {
  table-layout: fixed;
  width: 100%;
}

.ql-editor table td {
  outline: none;
}

.ql-editor .ql-code-block-container {
  font-family: monospace;
}

.ql-editor .ql-video {
  display: block;
  max-width: 100%;
}

.ql-editor .ql-video.ql-align-center {
  margin: 0 auto;
}

.ql-editor .ql-video.ql-align-right {
  margin: 0 0 0 auto;
}

.ql-editor .ql-bg-black {
  background-color: #000;
}

.ql-editor .ql-bg-red {
  background-color: #e60000;
}

.ql-editor .ql-bg-orange {
  background-color: #f90;
}

.ql-editor .ql-bg-yellow {
  background-color: #ff0;
}

.ql-editor .ql-bg-green {
  background-color: #008a00;
}

.ql-editor .ql-bg-blue {
  background-color: #06c;
}

.ql-editor .ql-bg-purple {
  background-color: #93f;
}

.ql-editor .ql-color-white {
  color: #fff;
}

.ql-editor .ql-color-red {
  color: #e60000;
}

.ql-editor .ql-color-orange {
  color: #f90;
}

.ql-editor .ql-color-yellow {
  color: #ff0;
}

.ql-editor .ql-color-green {
  color: #008a00;
}

.ql-editor .ql-color-blue {
  color: #06c;
}

.ql-editor .ql-color-purple {
  color: #93f;
}

.ql-editor .ql-font-serif {
  font-family: Georgia, Times New Roman, serif;
}

.ql-editor .ql-font-monospace {
  font-family: Monaco, Courier New, monospace;
}

.ql-editor .ql-size-small {
  font-size: 0.75em;
}

.ql-editor .ql-size-large {
  font-size: 1.5em;
}

.ql-editor .ql-size-huge {
  font-size: 2.5em;
}

.ql-editor .ql-direction-rtl {
  direction: rtl;
  text-align: inherit;
}

.ql-editor .ql-align-center {
  text-align: center;
}

.ql-editor .ql-align-justify {
  text-align: justify;
}

.ql-editor .ql-align-right {
  text-align: right;
}

.ql-editor .ql-ui {
  position: absolute;
}

.ql-editor.ql-blank::before {
  color: rgba(0, 0, 0, 0.6);
  content: attr(data-placeholder);
  font-style: italic;
  left: 15px;
  pointer-events: none;
  position: absolute;
  right: 15px;
}

.ql-snow.ql-toolbar:after, .ql-snow .ql-toolbar:after {
  clear: both;
  content: "";
  display: table;
}

.ql-snow.ql-toolbar button, .ql-snow .ql-toolbar button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  float: left;
  height: 24px;
  padding: 3px 5px;
  width: 28px;
}

.ql-snow.ql-toolbar button svg, .ql-snow .ql-toolbar button svg {
  float: left;
  height: 100%;
}

.ql-snow.ql-toolbar button:active:hover, .ql-snow .ql-toolbar button:active:hover {
  outline: none;
}

.ql-snow.ql-toolbar input.ql-image[type=file], .ql-snow .ql-toolbar input.ql-image[type=file] {
  display: none;
}

.ql-snow.ql-toolbar button:hover, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected {
  color: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-fill, .ql-snow .ql-toolbar button:hover .ql-fill, .ql-snow.ql-toolbar button:focus .ql-fill, .ql-snow .ql-toolbar button:focus .ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, .ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, .ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
  fill: #06c;
}

.ql-snow.ql-toolbar button:hover .ql-stroke, .ql-snow .ql-toolbar button:hover .ql-stroke, .ql-snow.ql-toolbar button:focus .ql-stroke, .ql-snow .ql-toolbar button:focus .ql-stroke, .ql-snow.ql-toolbar button.ql-active .ql-stroke, .ql-snow .ql-toolbar button.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, .ql-snow.ql-toolbar button:hover .ql-stroke-miter, .ql-snow .ql-toolbar button:hover .ql-stroke-miter, .ql-snow.ql-toolbar button:focus .ql-stroke-miter, .ql-snow .ql-toolbar button:focus .ql-stroke-miter, .ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter, .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, .ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
  stroke: #06c;
}

@media (pointer: coarse) {
  .ql-snow.ql-toolbar button:hover:not(.ql-active), .ql-snow .ql-toolbar button:hover:not(.ql-active) {
    color: #444;
  }
  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
    fill: #444;
  }
  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {
    stroke: #444;
  }
}
.ql-snow {
  box-sizing: border-box;
}

.ql-snow * {
  box-sizing: border-box;
}

.ql-snow .ql-hidden {
  display: none;
}

.ql-snow .ql-out-bottom, .ql-snow .ql-out-top {
  visibility: hidden;
}

.ql-snow .ql-tooltip {
  position: absolute;
  transform: translateY(10px);
}

.ql-snow .ql-tooltip a {
  cursor: pointer;
  text-decoration: none;
}

.ql-snow .ql-tooltip.ql-flip {
  transform: translateY(-10px);
}

.ql-snow .ql-formats {
  display: inline-block;
  vertical-align: middle;
}

.ql-snow .ql-formats:after {
  clear: both;
  content: "";
  display: table;
}

.ql-snow .ql-stroke {
  fill: none;
  stroke: #444;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ql-snow .ql-stroke-miter {
  fill: none;
  stroke: #444;
  stroke-miterlimit: 10;
  stroke-width: 2;
}

.ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
  fill: #444;
}

.ql-snow .ql-empty {
  fill: none;
}

.ql-snow .ql-even {
  fill-rule: evenodd;
}

.ql-snow .ql-thin, .ql-snow .ql-stroke.ql-thin {
  stroke-width: 1;
}

.ql-snow .ql-transparent {
  opacity: 0.4;
}

.ql-snow .ql-direction svg:last-child {
  display: none;
}

.ql-snow .ql-direction.ql-active svg:last-child {
  display: inline;
}

.ql-snow .ql-direction.ql-active svg:first-child {
  display: none;
}

.ql-snow .ql-editor h1 {
  font-size: 2em;
}

.ql-snow .ql-editor h2 {
  font-size: 1.5em;
}

.ql-snow .ql-editor h3 {
  font-size: 1.17em;
}

.ql-snow .ql-editor h4 {
  font-size: 1em;
}

.ql-snow .ql-editor h5 {
  font-size: 0.83em;
}

.ql-snow .ql-editor h6 {
  font-size: 0.67em;
}

.ql-snow .ql-editor a {
  text-decoration: underline;
}

.ql-snow .ql-editor blockquote {
  border-left: 4px solid #ccc;
  margin-bottom: 5px;
  margin-top: 5px;
  padding-left: 16px;
}

.ql-snow .ql-editor code, .ql-snow .ql-editor .ql-code-block-container {
  background-color: #f0f0f0;
  border-radius: 3px;
}

.ql-snow .ql-editor .ql-code-block-container {
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 5px 10px;
}

.ql-snow .ql-editor code {
  font-size: 85%;
  padding: 2px 4px;
}

.ql-snow .ql-editor .ql-code-block-container {
  background-color: #23241f;
  color: #f8f8f2;
  overflow: visible;
}

.ql-snow .ql-editor img {
  max-width: 100%;
}

.ql-snow .ql-picker {
  color: #444;
  display: inline-block;
  float: left;
  font-size: 14px;
  font-weight: 500;
  height: 24px;
  position: relative;
  vertical-align: middle;
}

.ql-snow .ql-picker-label {
  cursor: pointer;
  display: inline-block;
  height: 100%;
  padding-left: 8px;
  padding-right: 2px;
  position: relative;
  width: 100%;
}

.ql-snow .ql-picker-label::before {
  display: inline-block;
  line-height: 22px;
}

.ql-snow .ql-picker-options {
  background-color: #fff;
  display: none;
  min-width: 100%;
  padding: 4px 8px;
  position: absolute;
  white-space: nowrap;
}

.ql-snow .ql-picker-options .ql-picker-item {
  cursor: pointer;
  display: block;
  padding-bottom: 5px;
  padding-top: 5px;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label {
  color: #ccc;
  z-index: 2;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
  fill: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
  stroke: #ccc;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-options {
  display: block;
  margin-top: -1px;
  top: 100%;
  z-index: 1;
}

.ql-snow .ql-color-picker, .ql-snow .ql-icon-picker {
  width: 28px;
}

.ql-snow .ql-color-picker .ql-picker-label, .ql-snow .ql-icon-picker .ql-picker-label {
  padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-label svg, .ql-snow .ql-icon-picker .ql-picker-label svg {
  right: 4px;
}

.ql-snow .ql-icon-picker .ql-picker-options {
  padding: 4px 0;
}

.ql-snow .ql-icon-picker .ql-picker-item {
  height: 24px;
  width: 24px;
  padding: 2px 4px;
}

.ql-snow .ql-color-picker .ql-picker-options {
  padding: 3px 5px;
  width: 152px;
}

.ql-snow .ql-color-picker .ql-picker-item {
  border: 1px solid transparent;
  float: left;
  height: 16px;
  margin: 2px;
  padding: 0;
  width: 16px;
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
  position: absolute;
  margin-top: -9px;
  right: 0;
  top: 50%;
  width: 18px;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""])::before, .ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""])::before, .ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""])::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""])::before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""])::before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""])::before {
  content: attr(data-label);
}

.ql-snow .ql-picker.ql-header {
  width: 98px;
}

.ql-snow .ql-picker.ql-header .ql-picker-label::before, .ql-snow .ql-picker.ql-header .ql-picker-item::before {
  content: "Normal";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
  content: "Heading 1";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
  content: "Heading 2";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
  content: "Heading 3";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
  content: "Heading 4";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
  content: "Heading 5";
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
  content: "Heading 6";
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
  font-size: 2em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
  font-size: 1.5em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
  font-size: 1.17em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
  font-size: 1em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
  font-size: 0.83em;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
  font-size: 0.67em;
}

.ql-snow .ql-picker.ql-font {
  width: 108px;
}

.ql-snow .ql-picker.ql-font .ql-picker-label::before, .ql-snow .ql-picker.ql-font .ql-picker-item::before {
  content: "Sans Serif";
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
  content: "Serif";
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before, .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
  content: "Monospace";
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {
  font-family: Georgia, Times New Roman, serif;
}

.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {
  font-family: Monaco, Courier New, monospace;
}

.ql-snow .ql-picker.ql-size {
  width: 98px;
}

.ql-snow .ql-picker.ql-size .ql-picker-label::before, .ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: "Normal";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
  content: "Small";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
  content: "Large";
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before, .ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
  content: "Huge";
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {
  font-size: 10px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {
  font-size: 18px;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {
  font-size: 32px;
}

.ql-snow .ql-color-picker.ql-background .ql-picker-item {
  background-color: #fff;
}

.ql-snow .ql-color-picker.ql-color .ql-picker-item {
  background-color: #000;
}

.ql-code-block-container {
  position: relative;
}

.ql-code-block-container .ql-ui {
  right: 5px;
  top: 5px;
}

.ql-toolbar.ql-snow {
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  padding: 8px;
}

.ql-toolbar.ql-snow .ql-formats {
  margin-right: 15px;
}

.ql-toolbar.ql-snow .ql-picker-label {
  border: 1px solid transparent;
}

.ql-toolbar.ql-snow .ql-picker-options {
  border: 1px solid transparent;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
  border-color: #ccc;
}

.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {
  border-color: #ccc;
}

.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected, .ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {
  border-color: #000;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
  border-top: 0;
}

.ql-snow .ql-tooltip {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px #ddd;
  color: #444;
  padding: 5px 12px;
  white-space: nowrap;
}

.ql-snow .ql-tooltip::before {
  content: "Visit URL:";
  line-height: 26px;
  margin-right: 8px;
}

.ql-snow .ql-tooltip input[type=text] {
  display: none;
  border: 1px solid #ccc;
  font-size: 13px;
  height: 26px;
  margin: 0;
  padding: 3px 5px;
  width: 170px;
}

.ql-snow .ql-tooltip a.ql-preview {
  display: inline-block;
  max-width: 200px;
  overflow-x: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.ql-snow .ql-tooltip a.ql-action::after {
  border-right: 1px solid #ccc;
  content: "Edit";
  margin-left: 16px;
  padding-right: 8px;
}

.ql-snow .ql-tooltip a.ql-remove::before {
  content: "Remove";
  margin-left: 8px;
}

.ql-snow .ql-tooltip a {
  line-height: 26px;
}

.ql-snow .ql-tooltip.ql-editing a.ql-preview, .ql-snow .ql-tooltip.ql-editing a.ql-remove {
  display: none;
}

.ql-snow .ql-tooltip.ql-editing input[type=text] {
  display: inline-block;
}

.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  border-right: 0;
  content: "Save";
  padding-right: 0;
}

.ql-snow .ql-tooltip[data-mode=link]::before {
  content: "Enter link:";
}

.ql-snow .ql-tooltip[data-mode=formula]::before {
  content: "Enter formula:";
}

.ql-snow .ql-tooltip[data-mode=video]::before {
  content: "Enter video:";
}

.ql-snow a {
  color: #06c;
}

.ql-container.ql-snow {
  border: 1px solid #ccc;
}



/*# sourceMappingURL=style.css.map */
