* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #ede8dd 100%);
    /* background: linear-gradient(135deg, #f9f6ee 0%, #ede8dd 100%); */

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e7586;
}

.login-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Side - Illustration */
.login-illustration {
    /* background: linear-gradient(135deg, #306263 0%, #1f3d3e 100%); */
    background: linear-gradient(135deg, #5d960d 0%, #335207 100%);
    position: relative;
    overflow: hidden;
    display: none;
}

.login-illustration.show {
    display: flex;
}

.illustration-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    /* color: #D1A721; */
    color: #d6e716;
    font-size: 50px;
    /* color: #f9f6ee; */
    text-align: center;
    position: relative;
    z-index: 2;
}

.illustration-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.illustration-icon i {
    font-size: 50px;
    /* color: #D1A721; */
    color: #d6e716;
}

/* .fa-style {
    font-size: 50px;
    color: #D1A721;
} */

.illustration-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f9f6ee;
}

.illustration-content p {
    font-size: 14px;
    color: rgba(249, 246, 238, 0.8);
    line-height: 1.6;
}

.illustration-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: #f9f6ee;
    top: -150px;
    right: -150px;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    background: #D1A721;
    bottom: -100px;
    left: -100px;
}

/* Right Side - Form */
.login-form-section {
    padding: 50px 45px;
    /* padding: 60px 50px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 30px;
    /* margin-bottom: 40px; */
    text-align: center;
}

.login-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #5c8e11;
    /* color: #306263; */
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    /* color: #5c8e11; */
    color: #6e7586;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5c8e11;
    /* color: #306263; */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e4d8;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    color: #6e7586;
    transition: all 0.3s ease;
    /* background: #f9f6ee; */
}

.form-group .error-custom {
    width: 100%;
    padding: 14px 16px;
    /* border: 2px solid #ea8f7f; */
    border: 2px solid #E74A3B;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Geist', sans-serif;
    color: #6e7586;
    transition: all 0.3s ease;
    background: #f9f6ee;
}

.text-error {
    color: #E74A3B
}

.form-group input:focus {
    outline: none;
    border-color: #5d960d;
    /* border-color: #D1A721; */
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(93, 150, 13, 0.1);
    /* box-shadow: 0 0 0 4px rgba(209, 167, 33, 0.1); */
}

.form-group input::placeholder {
    color: #b0abb5;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.custom-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #306263;
}

.custom-checkbox label {
    margin-bottom: 0;
    text-transform: none;
    font-weight: 500;
    cursor: pointer;
}

.forgot-password {
    color: #306263;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #D1A721;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #5d960d 0%, #335207 100%);
    /* background: linear-gradient(135deg, #306263 0%, #1f3d3e 100%); */
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(48, 98, 99, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #d9d4c8;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d9d4c8;
}

.divider span {
    padding: 0 12px;
    color: #6e7586;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-social {
    padding: 12px;
    border: 2px solid #e8e4d8;
    background: #f9f6ee;
    border-radius: 10px;
    color: #306263;
    font-size: 13px;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-social:hover {
    border-color: #D1A721;
    background: #FFFFFF;
    color: #D1A721;
}

.btn-social i {
    font-size: 16px;
}

.signup-link {
    text-align: center;
    font-size: 12px;
    color: #6e7586;
}

.signup-link a {
    color: #306263;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #D1A721;
}

/* Responsive */
@media (max-width: 768px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-illustration {
        display: none !important;
    }

    .login-form-section {
        padding: 40px 30px;
    }

    .login-header h1 {
        font-size: 26px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}

/* Loading state */
.btn-login.loading {
    opacity: 0.7;
    pointer-events: none
}

.btn-login.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.409);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.alerts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Alert Base Styles */
.alert {
    position: relative;
    padding: 0.45rem 1rem;
    /* padding: 0.75rem 1.25rem; */
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 15px;
}

.alert-text {
    font-size: 14px;
    margin: 0;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .close {
    position: absolute;
    right: 1.25rem;
    top: 0.75rem;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-shadow: none;
    opacity: 0.5;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.alert-dismissible .close:hover,
.alert-dismissible .close:focus {
    opacity: 0.75;
    outline: 0;
}

/* Alert Primary - #306263 */
.alert-primary {
    color: #1f3d3e;
    background-color: #d4e5e5;
    border-color: #a9d4d5;
}

.alert-primary .alert-icon {
    color: #306263;
}

.alert-primary .alert-heading {
    color: #1f3d3e;
}

.alert-primary hr {
    border-top-color: #99d0d1;
}

.alert-primary .alert-link {
    color: #1a3334;
    font-weight: 700;
}

/* Alert Secondary - #D1A721 */
.alert-secondary {
    color: #8b6914;
    background-color: #fef3d6;
    border-color: #fde69a;
}

.alert-secondary .alert-icon {
    color: #D1A721;
}

.alert-secondary .alert-heading {
    color: #8b6914;
}

.alert-secondary hr {
    border-top-color: #fde69a;
}

.alert-secondary .alert-link {
    color: #6b5410;
    font-weight: 700;
}

/* Alert Success - #10B981 */
.alert-success {
    color: #0f6848;
    background-color: #d2f4e8;
    border-color: #a8e6d7;
}

.alert-success .alert-icon {
    color: #10B981;
}

.alert-success .alert-heading {
    color: #0f6848;
}

.alert-success hr {
    border-top-color: #a8e6d7;
}

.alert-success .alert-link {
    color: #084c35;
    font-weight: 700;
}

/* Alert Danger - #E74A3B */
.alert-danger {
    color: #78261f;
    background-color: #fadbd8;
    border-color: #f3a199;
}

.alert-danger .alert-icon {
    color: #E74A3B;
}

.alert-danger .alert-heading {
    color: #78261f;
}

.alert-danger hr {
    border-top-color: #f3a199;
}

.alert-danger .alert-link {
    color: #5d1c16;
    font-weight: 700;
}

/* Alert Warning - #F59E0B */
.alert-warning {
    color: #9a4900;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-warning .alert-icon {
    color: #F59E0B;
}

.alert-warning .alert-heading {
    color: #9a4900;
}

.alert-warning hr {
    border-top-color: #ffeaa7;
}

.alert-warning .alert-link {
    color: #6c3400;
    font-weight: 700;
}

/* Alert Info - #36B9CC */
.alert-info {
    color: #1c606a;
    background-color: #d7f1f5;
    border-color: #a8e6d7;
}

.alert-info .alert-icon {
    color: #36B9CC;
}

.alert-info .alert-heading {
    color: #1c606a;
}

.alert-info hr {
    border-top-color: #a8e6d7;
}

.alert-info .alert-link {
    color: #113b42;
    font-weight: 700;
}

/* Alert Dark - #3a3f4a */
.alert-dark {
    color: #2f3037;
    background-color: #d1d1d5;
    border-color: #a9aab1;
}

.alert-dark .alert-icon {
    color: #3a3f4a;
}

.alert-dark .alert-heading {
    color: #2f3037;
}

.alert-dark hr {
    border-top-color: #a9aab1;
}

.alert-dark .alert-link {
    color: #18181c;
    font-weight: 700;
}

/* Alert Light - #f9f6ee */
.alert-light {
    color: #818183;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.alert-light .alert-icon {
    color: #f9f6ee;
}

.alert-light .alert-heading {
    color: #818183;
}

.alert-light hr {
    border-top-color: #ececf6;
}

.alert-light .alert-link {
    color: #686869;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 576px) {
    .alert {
        flex-direction: column;
        gap: 8px;
    }

    .alert-icon {
        margin-top: 0;
    }

    .alert-dismissible .close {
        right: 0.75rem;
        top: 0.5rem;
    }

    h1 {
        font-size: 24px;
    }
}

.demo-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #306263;
    margin-bottom: 16px;
    border-bottom: 2px solid #e8e4d8;
    padding-bottom: 10px;
}