﻿

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter',sans-serif;
    background: linear-gradient(135deg,#eef4ff,#f8fbff,#ffffff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    overflow-x: hidden;
}

/* =========================
           MAIN CONTAINER
        ========================= */

.container {
    width: 980px;
    min-height: 620px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 50px rgba(15,23,42,0.10), 0 8px 24px rgba(37,99,235,0.08);
}

/* =========================
           LEFT PANEL
        ========================= */

.left-panel {
    width: 45%;
    position: relative;
    background: linear-gradient( rgba(10,25,55,0.55), rgba(10,25,55,0.70) ), url('/cImg/imglogin.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255,255,255,0.15);
}

/* LOGO */

.logo {
    font-family: 'Poppins',sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* LEFT CONTENT */

.left-content {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

    .left-content h1 {
        font-family: 'Poppins',sans-serif;
        font-size: 50px;
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 800;
    }

    .left-content p {
        font-size: 15px;
        line-height: 1.8;
        color: rgba(255,255,255,0.95);
        margin-bottom: 30px;
    }

/* FEATURES */

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.feature-box {
    padding: 11px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: 0.3s;
}

    .feature-box:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,0.22);
    }

/* =========================
           RIGHT PANEL
        ========================= */

.right-panel {
    width: 55%;
    padding: 38px 55px;
    position: relative;
    background: white;
}

/* TOP BUTTONS */

.top-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-bottom: 35px;
}

.switch-btn {
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.active-btn {
    background: linear-gradient(135deg,#2563eb,#06b6d4);
    color: white;
    box-shadow: 0 10px 20px rgba(37,99,235,0.18);
}

.inactive-btn {
    background: #eef2ff;
    color: #111827;
}

/* FORM */

.form-box h2 {
    font-family: 'Poppins',sans-serif;
    font-size: 38px;
    color: #071c3a;
    margin-bottom: 10px;
}

.form-box p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

/* INPUTS */

.input-group {
    position: relative;
    margin-bottom: 18px;
}
    
    .input-group input,
    .input-group select {
        width: 100%;
        border: none;
        outline: none;
        background: #f1f5f9;
        border-radius: 14px;
        padding: 15px 50px 15px 18px;
        font-size: 14px;
        transition: 0.3s;
    }

        .input-group input:focus,
        .input-group select:focus {
            background: white;
            border: 1px solid #2563eb;
            box-shadow: 0 0 0 5px rgba(37,99,235,0.12);
        }

    .input-group i {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #2563eb;
        font-size: 16px;
    }

/* TWO COLUMN */

.two-column {
    display: flex;
    gap: 16px;
}

    .two-column .input-group {
        width: 100%;
    }

/* OPTIONS */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

    .options a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
    }

/* BUTTON */

.main-btn {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg,#2563eb,#06b6d4);
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s;
}

    .main-btn:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 18px 30px rgba(37,99,235,0.22);
    }

/* SOCIAL */

.social-text {
    text-align: center;
    color: #64748b;
    margin: 24px 0 18px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

    .social-icons div {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #f1f5f9;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: 0.3s;
    }

        .social-icons div:hover {
            background: #dbeafe;
            transform: translateY(-3px);
        }

    .social-icons i {
        font-size: 18px;
        color: #071c3a;
    }

/* TRUST */

.trust {
    margin-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

    .trust i {
        color: #14b8a6;
        margin-right: 6px;
    }

/* FOOTER */

.footer {
    position: absolute;
    bottom: 22px;
    left: 55px;
    color: #94a3b8;
    font-size: 12px;
}

/* SIGNUP */

#signupForm {
    display: none;
}



/* =========================
           RESPONSIVE
        ========================= */

@media(max-width:1000px) {

    .container {
        width: 100%;
        max-width: 500px;
        display: block;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        width: 100%;
        padding: 35px 24px;
    }

    .top-buttons {
        justify-content: center;
    }

    .two-column {
        flex-direction: column;
        gap: 0;
    }

    .footer {
        position: relative;
        left: auto;
        bottom: auto;
        text-align: center;
        margin-top: 25px;
    }
}

@media(max-width:600px) {

    body {
        padding: 14px;
    }

    .right-panel {
        padding: 28px 18px;
    }

    .form-box h2 {
        font-size: 28px;
    }

    .left-content h1 {
        font-size: 40px;
    }
}


.captcha-box {
    width: 100%;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
    margin: 18px 0;
}

.captcha-text {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
}

.captcha-input input {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    box-sizing: border-box;
}

    .captcha-input input:focus {
        background: #fff;
        border: 1px solid #2563eb;
    }