/* Modern Login Design - Split Screen */
.login-wrapper {
  padding: 24px;
  background: #f5f5f5;
}

.login-container {
  overflow: hidden;
  border-radius: 24px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.login-left {
    width: 50%;
    background: linear-gradient(135deg, #1e3349 0%, #030404 100%);
    padding: 80px 60px;
    border-radius: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
}

.login-left-content {
  max-width: 100%;
  z-index: 1;
  flex: 1;
}

.login-logo {
  margin-bottom: 50px;
}

.logo-white {
  filter: brightness(0) invert(1);
  display: block;
}

.login-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.login-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 24px;
}

.login-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-top: 16px;
}

.login-copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.login-copyright p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

/* Phone Mockup */
.phone-illustration {
  margin-top: 80px;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #333;
  margin-bottom: 20px;
  padding-top: 10px;
}

.phone-balance {
  margin-bottom: 30px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.phone-chart {
  margin-bottom: 30px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  margin-bottom: 10px;
  gap: 8px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #ff6b6b 0%, #ee5a6f 100%);
  border-radius: 4px 4px 0 0;
  min-height: 20px;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #666;
  gap: 8px;
}

.chart-labels span {
  flex: 1;
  text-align: center;
}

.phone-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
}

.category-name {
  color: #333;
  font-weight: 500;
}

.category-amount {
  color: #333;
  font-weight: 600;
}

/* Right Side - Login Form */
.login-right {
  width: 50%;
  background: #ffffff;
  padding: 80px 60px;
  border-radius: 0 24px 24px 0;
}

.login-form-container {
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.login-logo-header {
  text-align: center;
}

.login-logo-header .auth-brand img {
  height: 50px;
}

.login-header {
  margin-bottom: 50px;
}

.auth-brand img {
  height: 50px;
}

.signup-link {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
}

.signup-link:hover {
  color: #188ae2;
}

.login-form-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.login-form-content {
  width: 100%;
}

.login-form-content .form-label {
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.login-form-container .card {
  border-radius: 12px;
}

.login-form-container .form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s;
  background-color: #f0f7ff;
}

.login-form-container .form-control:focus {
  border-color: #188ae2;
  box-shadow: 0 0 0 0.2rem rgba(24, 138, 226, 0.1);
  background-color: #ffffff;
}

.login-form-container .input-group-text {
  background-color: #f0f7ff;
  border-color: #e0e0e0;
  color: #6c757d;
}

.login-form-container .input-group:focus-within .input-group-text {
  background-color: #ffffff;
  border-color: #188ae2;
}

.login-form-container .bg-soft {
  background-color: #f0f7ff !important;
}

.login-form-content .form-control-lg {
  padding: 14px 16px;
  font-size: 15px;
  background-color: #f0f7ff;
}

.login-form-content .form-control-lg:focus {
  background-color: #ffffff;
}

.login-form-content .input-group-lg .form-control {
  padding: 14px 16px;
  font-size: 15px;
  background-color: #f0f7ff;
}

.login-form-content .input-group-lg .form-control:focus {
  background-color: #ffffff;
}

.login-form-content .input-group .btn {
  border-color: #e0e0e0;
  color: #666;
}

.login-form-content .input-group .btn:hover {
  background: #f8f9fa;
  border-color: #d0d0d0;
}

.login-form-container .form-check {
  margin-bottom: 0;
}

.login-form-container .form-check-input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.login-form-container .form-check-label {
  color: #333;
  font-size: 14px;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Validation Messages */
.login-form-container [asp-validation-summary],
.login-form-container .validation-summary-errors {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  background: transparent;
  border: none;
}

.login-form-container [asp-validation-summary] ul,
.login-form-container .validation-summary-errors ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-form-container [asp-validation-summary] li,
.login-form-container .validation-summary-errors li {
  color: #dc3545;
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  list-style: none;
}

.login-form-container [asp-validation-summary] li::before,
.login-form-container .validation-summary-errors li::before {
  content: "•";
  color: #dc3545;
  font-weight: bold;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.5;
}

.login-form-container .text-danger {
  color: #dc3545 !important;
  font-size: 13px;
  margin-top: 6px;
  display: block;
  font-weight: 400;
  line-height: 1.4;
}

.login-form-container [asp-validation-for] {
  color: #dc3545 !important;
  font-size: 13px;
  margin-top: 6px;
  display: block;
  font-weight: 400;
}

.forgot-password-link {
  color: #ff6b35;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-password-link:hover {
  color: #e55a2b;
}

.login-submit-btn {
  background: linear-gradient(135deg, #1e3349 0%, #030404 100%);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  /*box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);*/
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #030404;
  color: #ffffff;
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-footer {
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
  margin-top: auto;
  padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .login-wrapper {
    padding: 16px;
  }

  .login-container {
    border-radius: 16px;
  }

  .login-left {
    display: none !important;
  }

  .login-right {
    width: 100%;
    padding: 60px 40px;
    border-radius: 16px;
  }

  .login-form-container {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .login-wrapper {
    padding: 12px;
  }

  .login-container {
    border-radius: 12px;
  }

  .login-right {
    padding: 40px 24px;
    border-radius: 12px;
  }

  .login-form-title {
    font-size: 28px;
  }

  .login-header {
    margin-bottom: 40px;
  }

  .login-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
