
:root {
    --clr-navy: #0b3d91;
    --clr-blue: #0056b3;
    --clr-orange: #f58220;
    --clr-text-main: #1e293b;
    --clr-text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-input: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins, sans-serif;
    color: var(--clr-text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('/img/backgrounds/login.jpg') no-repeat center center ;
    background-size: cover;
    overflow-x: hidden;
    padding: 15px;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.6), rgba(35, 213, 209, 0.5));
    z-index: 1;
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 760px;
    min-height: 420px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.brand-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.brand-header {
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 5px;
}

.brand-logo-icon {
    height: 130px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: -1px;
    line-height: 1;
    transform: translateY(-2px);
}

.text-accent {
    color: var(--clr-orange);
}

.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.4);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--clr-navy);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(245, 130, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 130, 32, 0);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-grow: 1;
    align-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.5);
    }

.card-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--clr-blue);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.card-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-text-main);
    line-height: 1.1;
}

.brand-footer {
    margin-top: auto;
    padding-top: 10px;
}

.footer-divider {
    height: 2px;
    width: 30px;
    background: var(--clr-orange);
    margin-bottom: 8px;
    border-radius: 2px;
}

.powered-text {
    font-size: 0.65rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
}

.company-brand {
    color: var(--clr-navy);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
}

    .company-brand span {
        font-weight: 400;
    }

.company-address {
    font-size: 0.6rem;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 500;
}

.company-contact {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .company-contact p {
        font-size: 0.7rem;
        color: var(--clr-text-muted);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
    }

    .company-contact i {
        color: var(--clr-blue);
        font-size: 0.85rem;
    }

.call-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .call-link:hover {
        color: var(--clr-orange);
    }

.form-section {
    flex: 1.1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.form-header {
    margin-bottom: 20px;
}

    .form-header h2 {
        font-size: 1.4rem;
        color: var(--clr-navy);
        font-weight: 800;
        margin-bottom: 2px;
    }

    .form-header p {
        color: var(--clr-text-muted);
        font-size: 0.85rem;
        font-weight: 500;
        margin: 0;
    }

.input-group-custom {
    margin-bottom: 14px;
}

    .input-group-custom label {
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--clr-text-main);
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 16px;
    color: var(--clr-text-muted);
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background-color: var(--glass-input);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--clr-text-main);
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

    .input-wrapper input::placeholder {
        color: #64748b;
    }

    .input-wrapper input:focus {
        background-color: rgba(255, 255, 255, 0.6);
        border-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    }

        .input-wrapper input:focus + .input-icon,
        .input-wrapper input:focus ~ .input-icon {
            color: var(--clr-navy);
        }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    margin: 0;
}

    .checkbox-container input {
        margin-right: 5px;
        width: 13px;
        height: 13px;
        accent-color: var(--clr-navy);
    }

.forgot-link {
    font-size: 0.75rem;
    color: var(--clr-navy);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

    .forgot-link:hover {
        color: var(--clr-blue);
        text-decoration: underline;
    }

.btn-login-custom {
    padding: 10px;
    background: linear-gradient(135deg, var(--clr-blue), var(--clr-navy));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(11, 61, 145, 0.25);
}

    .btn-login-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
        background: linear-gradient(135deg, #0066d6, #092e6e);
    }

    .btn-login-custom:active {
        transform: translateY(1px);
    }
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 400px;
    }

    .brand-section {
        padding: 25px 20px 0 20px;
        border-right: none;
        background: transparent;
    }

    .brand-content {
        justify-content: center;
    }

    .brand-header {
        margin-bottom: 0;
    }

    .logo-container {
        margin-bottom: 0;
    }

    .brand-logo-icon {
        margin: 0 auto;
        height: 100px;
    }

    .modern-badge, .feature-grid, .brand-footer {
        display: none;
    }

    .form-section {
        padding: 20px 25px 30px 25px;
    }
}
