﻿* {
    box-sizing: border-box;
}

html,
body,
form {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #07111d;
    color: #1b2a3a;
}

.casa-login-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 50px 25px 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient( 115deg, rgba(3, 15, 29, 0.96) 0%, rgba(8, 31, 52, 0.88) 48%, rgba(4, 17, 31, 0.91) 100% ), url("../images/petrol-pump-bg.jpg") center center / cover no-repeat;
}

.casa-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient( circle at 15% 20%, rgba(0, 174, 239, 0.16), transparent 30% ), radial-gradient( circle at 85% 85%, rgba(247, 147, 30, 0.14), transparent 32% );
}

.casa-login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    min-height: 650px;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
}

/* LEFT PANEL */

.casa-brand-panel {
    position: relative;
    width: 48%;
    padding: 58px 55px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(4, 42, 71, 0.98), rgba(6, 84, 120, 0.94) ), url("../images/petrol-pump-side.jpg") center center / cover no-repeat;
}

    .casa-brand-panel::before {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        left: -120px;
        bottom: -140px;
        border-radius: 50%;
        border: 70px solid rgba(255, 255, 255, 0.04);
    }

    .casa-brand-panel::after {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: -130px;
        top: -100px;
        border-radius: 50%;
        background: rgba(255, 166, 0, 0.10);
    }

.casa-brand-content,
.casa-brand-footer {
    position: relative;
    z-index: 2;
}

.casa-brand-badge {
    display: inline-block;
    margin-bottom: 26px;
    padding: 9px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.casa-brand-content h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 43px;
    line-height: 1.2;
    font-weight: 700;
}

.casa-brand-description {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.8;
}

.casa-feature-list {
    margin-top: 48px;
}

.casa-feature {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

    .casa-feature > span {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin-right: 15px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffb21c;
        background: rgba(255, 255, 255, 0.11);
        border: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 18px;
    }

    .casa-feature strong {
        display: block;
        margin-bottom: 4px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

    .casa-feature small {
        display: block;
        color: rgba(255, 255, 255, 0.62);
        font-size: 12px;
    }

.casa-brand-footer {
    padding-top: 25px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 12px;
}

    .casa-brand-footer strong {
        display: block;
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.92);
    }

/* RIGHT PANEL */

.casa-form-panel {
    width: 52%;
    padding: 60px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.casa-form-wrapper {
    width: 100%;
    max-width: 410px;
}

.casa-logo-area {
    margin-bottom: 38px;
    text-align: center;
}

.casa-logo-box {
    min-height: 82px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .casa-logo-box img {
        display: block;
        max-width: 190px;
        max-height: 90px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.casa-logo-area h2 {
    margin: 0 0 9px;
    color: #12263a;
    font-size: 29px;
    font-weight: 700;
}

.casa-logo-area p {
    margin: 0;
    color: #8290a0;
    font-size: 13px;
}

.casa-form-group {
    margin-bottom: 23px;
}

    .casa-form-group label {
        display: block;
        margin-bottom: 9px;
        color: #26384a;
        font-size: 13px;
        font-weight: 600;
    }

.casa-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.casa-forgot-link {
    margin-bottom: 9px;
    color: #087da8;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .casa-forgot-link:hover,
    .casa-forgot-link:focus {
        color: #f28b00;
        text-decoration: none;
    }

.casa-input-wrapper {
    position: relative;
}

.casa-input-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 18px;
    width: 20px;
    color: #7d8b99;
    font-size: 16px;
    text-align: center;
    transform: translateY(-50%);
}

.casa-input {
    width: 100%;
    height: 54px;
    padding: 0 50px;
    border: 1px solid #dce3e9;
    border-radius: 11px;
    outline: none;
    background: #f8fafc;
    color: #192b3d;
    font-size: 14px;
    transition: all 0.25s ease;
}

    .casa-input::placeholder {
        color: #9aa6b2;
    }

    .casa-input:focus {
        border-color: #0786b7;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(7, 134, 183, 0.10);
    }

.casa-input-wrapper:focus-within .casa-input-icon {
    color: #0786b7;
}

.casa-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 16px;
    padding: 5px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #7d8b99;
    cursor: pointer;
    transform: translateY(-50%);
}

    .casa-password-toggle:hover {
        color: #087da8;
    }

.casa-login-button-area {
    margin-top: 32px;
}

.casa-login-button {
    width: 100%;
    height: 56px;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff !important;
    background: linear-gradient(135deg, #073e62, #0786b7);
    box-shadow: 0 12px 25px rgba(7, 91, 130, 0.25);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

    .casa-login-button:hover,
    .casa-login-button:focus {
        color: #ffffff !important;
        background: linear-gradient(135deg, #063553, #05749f);
        box-shadow: 0 15px 30px rgba(7, 91, 130, 0.34);
        transform: translateY(-2px);
    }

    .casa-login-button .fa {
        color: #ffbd35;
    }

.casa-security-message {
    margin-top: 25px;
    color: #97a2ad;
    font-size: 11px;
    text-align: center;
}

    .casa-security-message .fa {
        margin-right: 5px;
        color: #5aaa79;
    }

.casa-mobile-company {
    display: none;
    margin-top: 28px;
    color: #7b8996;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

    .casa-mobile-company strong {
        display: block;
        color: #26384a;
    }

.casa-page-footer {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .casa-login-page {
        padding: 35px 18px 70px;
        align-items: flex-start;
    }

    .casa-login-container {
        max-width: 620px;
        min-height: auto;
        flex-direction: column;
    }

    .casa-brand-panel,
    .casa-form-panel {
        width: 100%;
    }

    .casa-brand-panel {
        padding: 32px 35px;
    }

    .casa-brand-content h1 {
        font-size: 31px;
    }

    .casa-brand-description,
    .casa-feature-list {
        display: none;
    }

    .casa-brand-badge {
        margin-bottom: 15px;
    }

    .casa-brand-footer {
        display: none;
    }

    .casa-form-panel {
        padding: 45px 45px;
    }

    .casa-mobile-company {
        display: block;
    }
}

@media (max-width: 575px) {

    .casa-login-page {
        padding: 20px 12px 65px;
    }

    .casa-login-container {
        border-radius: 17px;
    }

    .casa-brand-panel {
        padding: 25px 24px;
    }

    .casa-brand-content h1 {
        margin-bottom: 0;
        font-size: 25px;
    }

    .casa-brand-badge {
        font-size: 9px;
    }

    .casa-form-panel {
        padding: 35px 23px;
    }

    .casa-logo-area {
        margin-bottom: 30px;
    }

        .casa-logo-area h2 {
            font-size: 25px;
        }

    .casa-input {
        height: 52px;
    }

    .casa-page-footer {
        bottom: 17px;
    }
}
