* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: #eff6ff;
    font-family: Arial, sans-serif;
    BACKGROUND: #F1F1F1;
}

.main-container {
    height: 100%;
      background: #eff6ff;
}

.ak-log {
    width: 60%;
}

/* Left Blue Panel */
.left-panel {
    background-image: url(../images/Rectangle300.png);
    background-position: center;
    background-size: cover;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Left panel pseudo-elements for depth */
.left-panel::before {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -150px;
}

.left-panel::after {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -100px;
}

/* Login Card */
.login-card {
    color: #1e3a8a; 
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 415px;
}

.login-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #003364;
    font-size: 30px;
}

/* Form Card (Sign-up specific) */
.form-card {
     color: #1e3a8a;
    padding: 25px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
}

.form-card h4 {
    font-weight: 600;
    font-size: 30px;
    color: #003364;
}

/* Global Form Controls */
.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    display: block;
    width: 100%;
    padding: 10px;
    font-weight: 400;
    line-height: 1.5;
    color: #3C3E3F;
}

.form-control:focus {
    box-shadow: none;
    border-color: #2563eb; 
}

/* Button Styles */
.btn-login {
     background: linear-gradient(to right, #2563eb, #1d4ed8);
    border: none;
    border-radius: 50px;
    padding: 10px;
    color: #fff;
    font-weight: 500;
}

.btn-login:hover {
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    border: none;
    border-radius: 50px;
    padding: 10px;
}

.btn-primary:hover {
    opacity: 0.9;
}

button.btn.btn-login.w-100,
button.btn.btn-primary.w-100 {
    color: white;
    font-size: 17px;
    font-weight: 600;
    border-radius: 21px;
    margin-top: 7px;
}

/* Google Button */
.google-btn {
    border-radius: 50px;
    border: 1px solid #ccc;
    padding: 8px;
    background: #fff;
}

button.google-btn.w-50 {
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2%;
    margin: 0 auto;
    display: block;
}
 .form-label {
        margin-bottom: 0.5rem;
    }
    

/* Checkbox */
input.form-check-input {
     border: 2px solid #3b82f6;
}

/* Divider */
.divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 34%;
     background: #bfdbfe;
    position: absolute;
    top: 59%;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    font-size: 14px;
    color: #6A6D6F;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
}

.toast-success {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
}

.toast-success .toast-header {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-success .btn-close {
    filter: brightness(0) invert(1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Validation Styles - Custom for both login and register */
.invalid-feedback-custom {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    display: block;
}

.form-control.is-invalid-custom {
    border-color: #dc3545 !important;
    border-bottom-color: #dc3545 !important;
}

.form-control.is-invalid-custom:focus {
    border-color: #dc3545 !important;
    box-shadow: none;
}

/* Bootstrap validation overrides */
.form-control.is-invalid {
    border-bottom-color: #dc3545 !important;
    background-image: none !important;
}

.invalid-feedback {
    display: block !important;
    font-size: 12px;
    margin-top: 5px;
    color: #dc3545;
}

/* Small text utilities */
.small-text {
    font-size: 12px;
    color: #3C3E3F;
}

/* Sign-up bottom text */
.sign-up-bottom-text a {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.sign-up-bottom-text p.text-center.mt-3.small-text {
    font-size: 16px;
    color: #6A6D6F;
}

/* Label styles */
label.form-check-label.small {
    color: #3C3E3F;
    font-size: 12px;
}

label.form-check-label.small a {
    color: #3C3E3F;
    font-size: 12px;
}

label.form-check-label.small-text a {
    color: #00000080;
    font-size: 12px;
    font-weight: 400;
}

/* Link styles */
a.small {
   color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.Register-section a {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

/* Layout overrides */
.col-md-6.d-flex.align-items-center.justify-content-center {
    margin-top: 40px;
}

.col-md-5.d-flex.align-items-center.justify-content-end {
    margin-top: 40px;
}

.col-md-6.d-none.d-md-block {
    padding: 0px;
}

/* Additional spacing utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Form check styling */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.form-check-label {
    margin-bottom: 0;
}

/* Text colors */
.text-danger {
    color: #dc3545 !important;
}

.text-center {
    text-align: center !important;
}

/* W-100 utility */
.w-100 {
    width: 100% !important;
}

.w-50 {
    width: 50% !important;
}