﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #144587;
    --dark-green: #1e7e34;
    --primary-blue: #0066cc;
    --light-bg: #779dd0;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --light-bg: #f0f9ff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.login-wrapper {
    max-width: 1000px;
    width: 100%;
    display: flex;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

.login-left {
    flex: 1;
    background: linear-gradient(90deg, #144587 0%, #144587 100%);
    padding: 60px 50px;
    color: white;
    display: flex;
    flex-direction: column;
    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);
    }

    50% {
        transform: scale(1.1);
    }
}

.brand-logo {
    width: 180px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

    .brand-logo i {
        font-size: 60px;
        background: linear-gradient(135deg, rgb(0, 111, 144), rgb(0, 111, 144));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.brand-content {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

    .brand-content h1 {
        font-size: 38px;
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .brand-content p {
        font-size: 16px;
        opacity: 0.95;
        line-height: 1.6;
        margin-bottom: 10px;
    }

.brand-tagline {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

.login-right {
    flex: 1;
    padding: 60px 50px;
    background: white;
}

.login-header {
    margin-bottom: 40px;
}

    .login-header h2 {
        font-size: 32px;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

    .login-header p {
        color: #666;
        font-size: 15px;
    }

.form-floating {
    margin-bottom: 20px;
}

    .form-floating > .form-control {
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        padding: 1rem 1rem;
        font-size: 15px;
        height: 60px;
        transition: all 0.3s ease;
    }

        .form-floating > .form-control:focus {
            border-color: rgb(0, 111, 144);
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
        }

    .form-floating > label {
        padding: 1rem 1rem;
        color: #666;
    }

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 4;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
}

    .toggle-password:hover {
        color: rgb(0, 111, 144);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: rgb(0, 111, 144);
        border-color: rgb(0, 111, 144);
    }

.form-check-label {
    color: #555;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}

.forgot-link {
    color: rgb(0, 111, 144);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

    .forgot-link:hover {
        color: rgb(0, 111, 144);
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #144587 0%, #144587 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        position: relative;
        color: #999;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.register-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

    .register-text a {
        color: rgb(0, 111, 144);
        text-decoration: none;
        font-weight: 600;
        margin-left: 5px;
    }

        .register-text a:hover {
            color: rgb(0, 111, 144);
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column-reverse;
    }

    .login-left {
        padding: 40px 30px;
    }

    .login-right {
        padding: 40px 30px;
    }

    .brand-content h1 {
        font-size: 28px;
    }

    .login-header h2 {
        font-size: 26px;
    }
}
