/* Signin Page Layout */
.signin-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #F6F7F8 0%, #E2E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-top: 6rem;
  position: relative;
}

.signin-content {
  width: 100%;
  max-width: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Progress Section */
.progress-section {
  background: linear-gradient(180deg, #E6ECF5 0%, #FFF 100%);
  border: 1px solid #DFE5EC;
  padding: 2rem;
  position: relative;
}

.progress-container {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

/* Signin Form */
.signin-form-container {
  padding: 3rem 2.5rem;
}

.signin-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 0.5rem;
}

.signin-description {
  font-size: 1rem;
  color: #4C5A6E;
  line-height: 1.6;
}

/* Form Styles */
.signin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.form-input {
  padding: 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 1rem;
  color: #1A202C;
  background: #F9FAFB;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #0A58A5;
  background: white;
  box-shadow: 0 0 0 3px rgba(10, 88, 165, 0.1);
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-input.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-error h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-error ul {
  margin: 0;
  padding-left: 1.25rem;
}

.form-error li {
  margin-bottom: 0.25rem;
}

.field-error {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: #0A58A5;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}

.forgot-password-link {
  font-size: 0.875rem;
  color: #0A58A5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password-link:hover {
  color: #161921;
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  margin-top: 1rem;
}

.signin-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(97deg, #0A58A5 -8.25%, #161921 134.93%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(10, 88, 165, 0.3);
}

.signin-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 88, 165, 0.4);
}

.signin-button:active {
  transform: translateY(0);
}

.signin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Signin Footer */
.signin-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.signup-link {
  font-size: 0.875rem;
  color: #6B7280;
  margin: 0;
}

.signup-link-text {
  color: #0A58A5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-link-text:hover {
  color: #161921;
  text-decoration: underline;
}

/* Page Animation */
.signin-container {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

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

.progress-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.signin-form-container {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signin-container {
    padding: 1rem;
    padding-top: 5rem;
  }
  
  .signin-content {
    max-width: 100%;
  }
  
  .progress-section {
    padding: 1.5rem;
  }
  
  .signin-form-container {
    padding: 2rem 1.5rem;
  }
  
  .signin-title {
    font-size: 1.75rem;
  }
  
  .signin-description {
    font-size: 0.9375rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .signin-form-container {
    padding: 1.5rem 1rem;
  }
  
  .signin-title {
    font-size: 1.5rem;
  }
  
  .form-input {
    padding: 0.875rem;
  }
  
  .signin-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}
