/* LOGIN PAGE */



.login-page {

  background: linear-gradient(135deg, #f8f9fc 0%, #e8eef7 100%);

  min-height: 100vh;

}



.login-section {

  padding: 10px 0;

}



.login-container {

  background: white;

  border-radius: 16px;

  overflow: hidden;

  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);

  }

}



/* Left Side */

.login-left {

  background: linear-gradient(135deg, #0a3c72 0%, #0b2f59 100%);

  color: white;

  padding: 30px 30px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: hidden;

}



.login-left::before {

  content: '';

  position: absolute;

  top: -50%;

  right: -50%;

  width: 200%;

  height: 200%;

  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);

  animation: pulse 15s ease-in-out infinite;

}



@keyframes pulse {

  0%, 100% {

    transform: scale(1);

    opacity: 0.5;

  }

  50% {

    transform: scale(1.1);

    opacity: 0.8;

  }

}



.login-left-content {

  position: relative;

  z-index: 1;

}



.login-icon {

  margin-bottom: 15px;

  animation: float 3s ease-in-out infinite;

}



@keyframes float {

  0%, 100% {

    transform: translateY(0);

  }

  50% {

    transform: translateY(-10px);

  }

}



.login-left h2 {

  font-size: 26px;

  font-weight: 900;

  margin-bottom: 10px;

  color: white;

}



.login-left > p {

  font-size: 13px;

  color: rgba(255, 255, 255, 0.9);

  margin-bottom: 18px;

  line-height: 1.5;

}



.login-features {

  display: flex;

  flex-direction: column;

  gap: 10px;

}



.feature-item {

  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 14px;

  color: rgba(255, 255, 255, 0.95);

  animation: fadeInLeft 0.6s ease forwards;

  opacity: 0;

}



.feature-item:nth-child(1) { animation-delay: 0.3s; }

.feature-item:nth-child(2) { animation-delay: 0.4s; }

.feature-item:nth-child(3) { animation-delay: 0.5s; }

.feature-item:nth-child(4) { animation-delay: 0.6s; }



@keyframes fadeInLeft {

  from {

    opacity: 0;

    transform: translateX(-20px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



.feature-item svg {

  flex-shrink: 0;

}



/* Right Side - Form */

.login-right {

  padding: 30px 30px;

  background: white;

}



.login-form-container h3 {

  font-size: 24px;

  font-weight: 900;

  color: #0b2f59;

  margin-bottom: 5px;

}



.login-subtitle {

  font-size: 13px;

  color: #6c757d;

  margin-bottom: 18px;

}



.form-group {

  margin-bottom: 14px;

}



.form-group label {

  display: block;

  font-size: 14px;

  font-weight: 700;

  color: #0b2f59;

  margin-bottom: 8px;

}



.input-with-icon {

  position: relative;

  display: flex;

  align-items: center;

  transition: all 0.3s ease;

}



.input-with-icon svg:first-child {

  position: absolute;

  left: 16px;

  pointer-events: none;

  transition: all 0.3s ease;

  z-index: 1;

}



.input-with-icon input {

  width: 100%;

  padding: 13px 16px 13px 40px !important;

  border: 2px solid #e5e9f2;

  border-radius: 8px;

  font-size: 14px;

  color: #0b2f59;

  transition: all 0.3s ease;

  background: white;

  position: relative;

}



.password-field input {

  padding-right: 55px !important;

}



.input-with-icon input::placeholder {

  color: #9ca3af;

  opacity: 1;

}



.input-with-icon input:focus {

  outline: none;

  border-color: #0a3c72;

  background: #f8f9fc;

}



.input-with-icon.focused svg:first-child {

  transform: scale(1.1);

}



.input-with-icon.focused svg:first-child path,

.input-with-icon.focused svg:first-child rect,

.input-with-icon.focused svg:first-child circle {

  stroke: #0a3c72;

}



.toggle-password {

  position: absolute;

  right: 10px;

  top: 50%;

  transform: translateY(-50%);

  background: none;

  border: none;

  cursor: pointer;

  padding: 6px;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s ease;

  z-index: 10;

  height: 30px;

  width: 30px;

}



.toggle-password:hover {

  transform: translateY(-50%) scale(1.1);

}



.toggle-password svg {

  width: 18px;

  height: 18px;

  display: block;

}



.form-options {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 20px;

}



.remember-me {

  display: flex;

  align-items: center;

  gap: 8px;

}



.remember-me input[type="checkbox"] {

  width: 18px;

  height: 18px;

  cursor: pointer;

  accent-color: #0a3c72;

}



.remember-me label {

  font-size: 14px;

  color: #6c757d;

  cursor: pointer;

  margin: 0;

}



.forgot-password {

  font-size: 14px;

  font-weight: 600;

  color: #0a3c72;

  text-decoration: none;

  transition: color 0.3s ease;

}



.forgot-password:hover {

  color: #e6a01b;

}



.btn-login {

  width: 100%;

  background: linear-gradient(135deg, #e2a02b, #cf8507);

  color: white;

  border: none;

  border-radius: 8px;

  padding: 13px 24px;

  font-size: 15px;

  font-weight: 900;

  letter-spacing: 0.5px;

  cursor: pointer;

  text-transform: uppercase;

  box-shadow: 0 4px 12px rgba(230, 160, 27, 0.3);

  transition: all 0.3s ease;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-bottom: 20px;

}



.btn-login:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 16px rgba(230, 160, 27, 0.4);

}



.btn-login:active {

  transform: translateY(0);

}



.btn-login.loading {

  background: #6c757d;

  cursor: not-allowed;

}



.btn-login.success {

  background: #28a745;

}



.spinner {

  width: 20px;

  height: 20px;

  border: 3px solid rgba(255, 255, 255, 0.3);

  border-top-color: white;

  border-radius: 50%;

  animation: spin 0.8s linear infinite;

}



@keyframes spin {

  to {

    transform: rotate(360deg);

  }

}



.divider {

  position: relative;

  text-align: center;

  margin: 20px 0;

}



.divider::before {

  content: '';

  position: absolute;

  top: 50%;

  left: 0;

  right: 0;

  height: 1px;

  background: #e5e9f2;

}



.divider span {

  position: relative;

  background: white;

  padding: 0 15px;

  font-size: 13px;

  font-weight: 600;

  color: #9ca3af;

}



.social-login {

  display: flex;

  flex-direction: column;

  gap: 10px;

  margin-bottom: 20px;

}



.btn-social {

  width: 100%;

  padding: 11px 20px;

  border: 2px solid #e5e9f2;

  border-radius: 8px;

  background: white;

  color: #0b2f59;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

}



.btn-social:hover {

  border-color: #0a3c72;

  background: #f8f9fc;

  transform: translateY(-2px);

}



.btn-google {

  color: #db4437;

}



.btn-google:hover {

  border-color: #db4437;

  background: #fef5f4;

}



.btn-facebook {

  color: #1877f2;

}



.btn-facebook:hover {

  border-color: #1877f2;

  background: #f0f7ff;

}



.signup-link {

  text-align: center;

  font-size: 14px;

  color: #6c757d;

  margin: 0;

}



.signup-link a {

  color: #0a3c72;

  font-weight: 700;

  text-decoration: none;

  transition: color 0.3s ease;

}



.signup-link a:hover {

  color: #e6a01b;

}



/* RESPONSIVE */

@media (max-width: 992px) {

  .login-left {

    padding: 50px 40px;

  }



  .login-right {

    padding: 50px 40px;

  }



  .login-left h2 {

    font-size: 28px;

  }



  .login-form-container h3 {

    font-size: 26px;

  }

}



@media (max-width: 768px) {

  .login-section {

    padding: 20px 0;

  }



  .login-left {

    padding: 40px 30px;

    text-align: center;

  }



  .login-icon {

    display: flex;

    justify-content: center;

  }



  .login-features {

    align-items: center;

  }



  .feature-item {

    justify-content: center;

  }



  .login-right {

    padding: 40px 30px;

  }



  .login-left h2 {

    font-size: 26px;

  }



  .login-form-container h3 {

    font-size: 24px;

  }



  .form-options {

    flex-direction: column;

    gap: 12px;

    align-items: flex-start;

  }

}



@media (max-width: 576px) {

  .login-container {

    border-radius: 12px;

  }



  .login-left {

    padding: 30px 20px;

  }



  .login-right {

    padding: 30px 20px;

  }



  .login-left h2 {

    font-size: 24px;

  }



  .login-left > p {

    font-size: 14px;

  }



  .feature-item {

    font-size: 14px;

  }



  .login-form-container h3 {

    font-size: 22px;

  }



  .input-with-icon input {

    padding: 13px 16px 13px 50px;

    font-size: 14px;

  }



  .btn-login {

    padding: 13px 20px;

    font-size: 14px;

  }



  .btn-social {

    padding: 11px 16px;

    font-size: 13px;

  }

}

