:root {
    --bg: #cacaca;
    --card: #ec1a2380; /* big rounded panel */
    --panel: #f7efe6; /* form panel */
    --accent: #ec1a2380; /* buttons & title */
    --text: #2a2a2a;
    --muted: #8b8b8b;
    --input: #ffffff;
    --radius: 22px;
    --background: #f1f1f1;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: "Cairo", sans-serif !important;
}

.frame {
    width: min(1100px, 95vw);
    height: min(620px, 88vh);
    background: #cacaca;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr; /* left / right */
}

/* LEFT: organic form panel */
.form-wrap {
    position: relative;
    padding: 40px 36px 32px 36px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
    overflow: visible;
    text-align: right;
    direction: rtl;
    background-color: var(--background);
}

.panel {
    width: 100%;
    height: 100%;
    background: #e4e4e4;
    border-radius: 301px 26px 26px 26px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

@supports (clip-path: path("M0,0 L1,0")) {
    .panel {
        clip-path: path("M20 0 H580 Q520 110 620 200 Q560 320 620 420 Q510 520 580 620 H20 Z");
    }

    .panel {
        padding: 61px 34px 34px 59px
    }
}

.title {
    font-weight: 700;
    font-size: 44px;
    letter-spacing: 1px;
    color: #ec1a23;
    margin: 4px 0 8px;
}

.subtitle {
    font-size: 13px;
    color: #5f6b56;
    margin-bottom: 22px
}

label {
    display: block;
    font-size: 13px;
    margin: 10px 0 6px;
    color: #4b4b4b
}

.input {
    width: 100%;
    height: 40px;
    border: 1.5px solid #c7c7c7;
    border-radius: 6px;
    background: var(--input);
    padding: 0 12px;
    font-size: 14px;
    outline: none
}

    .input:focus {
        border-color: #ec1a23;
        box-shadow: 0 0 0 3px #ec1a2333
    }

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 16px
}

.remember {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #555
}

.forgot {
    font-size: 12px;
    color: #000000;
    text-decoration: none
}

    .forgot:hover {
        text-decoration: underline
    }
.swal-actions-inline {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem; /* spacing between buttons */
}

.swal-actions-inline button {
    min-width: 100px; /* optional, nicer width */
}

.swal-actions-inline button submit {
    background: #ec1a23;
    min-width: 100px; /* optional, nicer width */
}

.btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #ec1a23;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    font-family: "Cairo", sans-serif !important;
}


    .btn:active {
        transform: translateY(1px)
    }

.sep {
    margin: 14px 0 10px;
    position: relative;
    text-align: center;
    color: #9aa28f;
    font-size: 12px
}

    .sep::before, .sep::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #cfd7c3
    }

    .sep::before {
        left: 0
    }

    .sep::after {
        right: 0
    }

.btn-ghost {
    width: 100%;
    height: 44px;
    border: 1.5px solid #cfd7c3;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer
}

/* RIGHT: image side */
.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .visual .watermark {
        position: absolute;
        inset: 0;
        font-family: Orbitron, Montserrat, sans-serif;
        font-weight: 700;
        letter-spacing: 24px;
        opacity: .09;
        color: #ffffff;
        display: grid;
        place-items: center;
        pointer-events: none;
        user-select: none;
        text-transform: uppercase;
        font-size: 96px;
    }

.car {
    max-width: 100%;
    width: 760px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .frame {
        grid-template-columns: 1fr;
        height: auto;
        margin-top: -24px;
    }

    .visual {
        order: -1;
        height: 440px
    }

    .car {
        width: 640px
    }

    .panel {
        clip-path: none;
        border-radius: 26px
    }
}

.shape {
    position: absolute;
    width: 162px;
    left: 454px;
    z-index: 999;
}

.version-label {
    position: fixed;
    bottom: 10px;
    align-self: end;
    right: 10px;
    font-size: 12px;
    color: #888;
    z-index: 9999;
}