.btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px; /* Pill shape */
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font-family);
}

.btn-secondary {
  background-color: var(--btn-header-secondary);
  color: white;
}

.btn-secondary:hover {
  filter: brightness(1.1);
}

.btn-primary-header {
  background-color: var(--btn-header-primary);
  color: white;
}

.btn-primary-header:hover {
  filter: brightness(1.1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 0 0;
  background-color: #f8fafc;
}

.login-card {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 500px;
  text-align: center;
  border: 1px solid #f1f5f9;
  margin: 50px auto;
}

.login-title {
  color: #024C80;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: black;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.login-form {
  text-align: left;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 156, 0.1);
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.toggle-password:hover {
  color: var(--text-dark);
}

.btn-primary-block {
  width: 100%;
  padding: 0.875rem;
  background-color: #3b82f6;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 1rem;
}

.btn-primary-block:hover {
  filter: brightness(110%);
}

.login-footer {
  margin-top: 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.login-footer a {
  color: #116FB8;
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Disabled Button */
.btn-primary-block:disabled {
  background-color: #6F7273;
  opacity: 50%;
  cursor: not-allowed;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

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

.modal-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.modal-icon.success {
  background-color: #e8f8f5;
  border-radius: 50%;
}

.modal-icon.error {
  background-color: #fadbd8;
  border-radius: 50%;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #024C80;
  margin-bottom: 0.75rem;
}

.modal-message {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) { 
  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }
  
  .auth-buttons {
    display: none; /* Hide buttons on mobile for simplicity or move to menu */
  }
}

@media (max-width: 640px) {
  .login-card {
    padding: 2rem 1.5rem;
  }
}
