@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  background-image: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin: 20px;
  box-sizing: border-box;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-wrapper p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}

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

.login-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.login-header p {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-control {
  height: 52px;
  padding-left: 45px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #2d3748;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: #1a8c54;
  box-shadow: 0 0 0 2px rgba(26, 140, 84, 0.1) !important;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 1rem;
  transition: color 0.2s ease;
  z-index: 2;
}

.form-control:focus + .input-icon,
.form-control:not(:placeholder-shown) + .input-icon {
  color: #1a8c54;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: #4a5568;
}

/* Button */
.btn-success {
  height: 52px;
  background-color: #1a8c54;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  width: 100%;
}

.btn-success:hover, .btn-success:focus {
  background-color: #137344;
  transform: translateY(-1px);
}

.btn-success i {
  margin: 0;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #a0aec0;
  font-size: 0.85rem;
  margin: 24px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.divider:not(:empty)::before {
  margin-right: 15px;
}

.divider:not(:empty)::after {
  margin-left: 15px;
}

/* Checkbox and links */
.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #1a8c54;
  border-color: #1a8c54;
}

.text-success {
  color: #1a8c54 !important;
  transition: color 0.2s ease;
}

.text-success:hover {
  color: #137344 !important;
  text-decoration: underline !important;
}

/* Google Sign-In Container Styling */
#g_id_onload {
  margin-bottom: 0;
}

.g_id_signin {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.g_id_signin > div {
  transition: transform 0.2s ease !important;
}

.g_id_signin > div:hover {
  transform: translateY(-1px);
}

/* Form switch custom colors */
.form-switch .form-check-input:checked {
  background-color: #1a8c54;
  border-color: #1a8c54;
}

.form-check-label {
  color: #4a5568;
}

.bottom-link {
  color: #718096;
}