/* Global modal style for APLapp */
.common-modal-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,245,245,0.95));
}

.modal-content,
.common-modal-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, rgba(50, 103, 255, 0.15), rgba(145, 50, 255, 0.1));
}

.app-modal-header {
  background: linear-gradient(135deg, rgba(50, 103, 255, 0.15), rgba(145, 50, 255, 0.1));
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
}

.app-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.app-modal-close {
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s, color 0.2s;
}

.app-modal-close:hover {
  transform: scale(1.1);
  color: var(--danger);
}

.app-modal-body {
  padding: 1.5rem 1.3rem 1.2rem;
}

.app-modal-icon {
  font-size: 4.2rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
  transition: color .3s, transform .3s;
}

.app-modal-icon:hover {
  transform: rotate(10deg);
  color: var(--primary);
}

.app-modal-intro {
  text-align: center;
}

.app-modal-intro .form-label {
  font-weight: 700;
  color: var(--dark);
}

.app-modal-intro input.form-control,
.app-modal-intro select.form-control,
.app-modal-intro textarea.form-control {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
}

.app-modal-intro .input-group-text {
  background: rgba(115, 165, 255, 0.1);
  border: 1px solid rgba(0,0,0,0.08);
}

.app-modal footer {
  padding: 0.9rem 1.3rem 1.1rem;
}

.app-modal-submit {
  margin-top: 1rem;
}

/* ---- Extracted from: public/modals/alternativ.modal.php ---- */
.alternativ-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: none;
}

.alternativ-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

.header-text h5 {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
  font-weight: 400;
}

.welcome-section {
  padding: 0 2rem;
}

.welcome-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.welcome-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.welcome-content {
  flex-grow: 1;
}

.welcome-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.welcome-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.function-grid {
  padding: 2rem;
}

.grid-header {
  text-align: center;
  margin-bottom: 2rem;
}

.grid-title {
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.function-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.function-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.function-card-nav:hover {
  transform: translateY(-2px) scale(1.01);
}

.card-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.decoration-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.shape-1 {
  width: 60px;
  height: 60px;
  top: -30px;
  right: -30px;
}

.shape-2 {
  width: 40px;
  height: 40px;
  top: 20px;
  right: -20px;
}

.function-link {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

.function-link:hover {
  text-decoration: none;
  color: inherit;
}

.function-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #667eea;
  margin-right: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.function-content {
  flex-grow: 1;
  min-width: 0;
}

.function-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.function-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.function-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.function-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.function-card:hover .function-arrow {
  color: white;
  transform: translateX(5px);
}

.btn-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.btn-close:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.4);
  color: white;
  transform: scale(1.1);
}

/* Individual card color variations */
.contract-card .function-icon { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #d63384; }
.timestamp-card .function-icon { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #20c997; }
.visit-card .function-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #fd7e14; }
.diary-card .function-icon { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #6f42c1; }
.criteria-card .function-icon { background: linear-gradient(135deg, #c2e9fb, #a1c4fd); color: #0d6efd; }
.document1-card .function-icon { background: linear-gradient(135deg, #f093fb, #f5576c); color: #dc3545; }
.grade1-card .function-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #198754; }
.export-card .function-icon { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #6c757d; }
.password-card .function-icon { background: linear-gradient(135deg, #fa709a, #fee140); color: #fd7e14; }

/* Light theme overrides */












































































/* Animation classes for session-based animations */
.run-animation {
  animation: slideInUp 1.2s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .alternativ-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .function-grid {
    padding: 1.5rem;
  }

  .welcome-section {
    padding: 0 1.5rem;
  }

  .welcome-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ---- Extracted from: public/modals/changePass.modal.php ---- */
.changepass-container {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: none;
    position: relative;
}

.changepass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: 1;
    pointer-events: none;
}

.changepass-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-text h5 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.changepass-tips {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.tips-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tips-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd89b, #19547b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.tips-content {
    flex-grow: 1;
}

.tips-title {
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 0.5rem 0;
}

.tips-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.changepass-form {
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.form-label i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    padding: 0.75rem 1.25rem 0.75rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    height: 48px;
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.form-hint {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    margin: 2rem 0;
}

.password-strength {
    margin-top: 0.75rem;
}

.strength-indicator {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #51CF66);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.match-indicator {
    margin-top: 0.5rem;
}

.match-indicator.error .form-hint {
    color: #ff6b6b;
}

.match-indicator.success .form-hint {
    color: #51CF66;
}

.changepass-actions {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

.btn-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    cursor: pointer;
    font-size: 1.5rem;
}

.btn-close:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: white;
    transform: scale(1.1);
}

/* ---- Extracted from: public/modals/login.modal.php ---- */
.login-container {
  background: linear-gradient(135deg, #462a2b 0%, #6e4653 100%);
  
  /*
  background: linear-gradient(135deg, #2d1b1c 0%, #8a3061 100%);
  
  background: linear-gradient(135deg, #462a2b 0%, #6e4653 100%);

  background: linear-gradient(135deg, #462a2b 0%, #6e4653 100%);
  */
  border-radius: 20px rgb(255, 194, 196);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: none;
}

.login-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-text h5 {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
  font-weight: 400;
}

.welcome-section {
  padding: 0 2rem;
}

.welcome-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.welcome-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.welcome-content {
  flex-grow: 1;
}

.welcome-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.welcome-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.welcome-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  pointer-events: none;
}

.floating-star {
  position: absolute;
  font-size: 1.2rem;
  animation: floatStars 4s ease-in-out infinite;
}

.star-1 {
  top: 10px;
  right: 20px;
  animation-delay: 0s;
}

.star-2 {
  top: 30px;
  right: 50px;
  animation-delay: 1s;
}

.star-3 {
  top: 50px;
  right: 15px;
  animation-delay: 2s;
}

@keyframes floatStars {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-10px) rotate(180deg); opacity: 1; }
}

.login-form-section {
  padding: 2rem;
}

.form-toggle {
  margin-bottom: 2rem;
}

.toggle-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.toggle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.toggle-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fd7e14;
  flex-shrink: 0;
}

.toggle-content {
  flex-grow: 1;
}

.custom-control-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  margin: 0;
}

.login-form-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.login-input {
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.login-input::placeholder, .login-input label {
  color: var(--text-input-placeholder);
  opacity: 1; /* Firefox fix */
}

.login-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-1px);
}

.input-group-text {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  border-left: none;
}

.login-input:focus + .input-group .input-group-text {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.3);
}

.remember-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-button {
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.login-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.login-button:active {
  transform: translateY(0) scale(1);
}

.btn-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.btn-close:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.4);
  color: white;
  transform: scale(1.1);
}

/* Light theme overrides */










































































































/* Animation classes */
.run-animation {
  animation: slideInUp 1.2s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .login-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .welcome-section {
    padding: 0 1.5rem;
  }

  .welcome-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .login-form-section {
    padding: 1.5rem;
  }

  .toggle-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ---- Extracted from: public/modals/settings.modal.php ---- */
.settings-container {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: none;
}

.settings-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-text h5 {
  color: white;
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.settings-welcome {
  padding: 0 2rem;
}

.welcome-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.welcome-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

.welcome-content {
  flex-grow: 1;
}

.welcome-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.welcome-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.settings-sections {
  padding: 2em;
}

.settings-section {
  margin-bottom: 2.5rem;
}


.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.45rem;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.settings-section .settings-grid {
  margin-top: 0;
}

.appearance-section .setting-card { border-left-color: #fd7e14; }
.privacy-section .setting-card { border-left-color: #0d6efd; }
.future-section .setting-card { border-left-color: #6f42c1; }

.section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.appearance-section .settings-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #fd7e14; }
.privacy-section .settings-icon { background: linear-gradient(135deg, #c2e9fb, #a1c4fd); color: #0d6efd; }
.future-section .settings-icon { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #6f42c1; }

.section-content {
  flex-grow: 1;
}

.section-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.25rem 0;
}

.section-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.settings-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  margin-bottom: -1.4em;
}

.section-header-modal {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.setting-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1rem;
  /* margin-bottom: 1.5rem; */
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid;
}

.setting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.setting-card::before {
  display: none; /* hide extra ring effect to keep cards clean */
}

.setting-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.theme-card .setting-icon { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.phone-card .setting-icon { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #d63384; }
.email-card .setting-icon { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #20c997; }
.guardians-card .setting-icon { background: linear-gradient(135deg, #c2e9fb, #a1c4fd); color: #0d6efd; }

.setting-content {
  position: relative;
  z-index: 2;
}

.setting-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.setting-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.custom-control-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.setting-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  width: fit-content;
}

.setting-tip i {
  color: rgba(255, 255, 255, 0.6);
}

.future-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.feature-preview {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  opacity: 0.8;
  position: relative;
}

.feature-preview::after {
  content: '🚧';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  opacity: 0.5;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.feature-content {
  flex-grow: 1;
}

.feature-title {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.feature-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
  color: rgba(255, 193, 7, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-save {
  padding: 0rem;
  margin-top: 0rem;
}

.save-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.save-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(67, 233, 123, 0.3);
}

.save-content {
  flex-grow: 1;
}

.save-title {
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
}

.save-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.save-button {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
  cursor: pointer;
}

.save-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

.btn-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.btn-close:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: rgba(220, 53, 69, 0.4);
  color: white;
  transform: scale(1.1);
}

/* Custom Switch Styling */
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #28a745;
  border-color: #28a745;
}

.custom-switch .custom-control-label::before {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.custom-switch .custom-control-label::after {
  background-color: white;
}

/* Light theme overrides */


















































































/* Animation classes */
.run-animation {
  animation: slideInUp 1.2s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-text h5 {
    font-size: 1.5rem;
  }

  .settings-welcome,
  .settings-sections,
  .settings-save {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .welcome-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .setting-card {
    padding: 1.25rem;
  }

  .future-features {
    grid-template-columns: 1fr;
  }

  .save-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
}
