
/* ==========================================
   SARKARI KAAM REGISTER PAGE
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #003366,
        #0056d6,
        #0a7cff
    );

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

body::before,
body::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

body::before {
    top: -120px;
    left: -120px;
}

body::after {
    bottom: -120px;
    right: -120px;
}


/* =========================
   MAIN AREA
========================= */

.register-page {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;

    position: relative;
    z-index: 2;
}


/* =========================
   REGISTER BOX
========================= */

.register-box {
    width: 100%;
    max-width: 1150px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(15px);

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}


/* =========================
   LEFT SIDE
========================= */

.register-left {
    background: rgba(0, 0, 0, 0.18);

    color: #fff;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 60px;
}

.register-left i {
    font-size: 85px;

    color: #ffd700;

    margin-bottom: 20px;
}

.register-left h1 {
    font-size: 42px;

    margin-bottom: 18px;
}

.register-left p {
    font-size: 18px;

    line-height: 1.8;

    max-width: 380px;
}


/* =========================
   RIGHT SIDE
========================= */

.register-right {
    background: #fff;

    padding: 55px;
}

.register-right h2 {
    text-align: center;

    color: #003366;

    font-size: 34px;

    margin-bottom: 30px;
}


/* =========================
   INPUT BOX
========================= */

.input-box {
    position: relative;

    margin-bottom: 20px;
}

.input-box i {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #0056d6;

    font-size: 18px;

    pointer-events: none;
}

.input-box input {
    width: 100%;

    padding: 16px 18px 16px 50px;

    border: 2px solid #e3e8ef;

    border-radius: 12px;

    outline: none;

    font-size: 16px;

    background: #f8fbff;

    transition: 0.3s;
}

.input-box input:focus {
    border-color: #0056d6;

    background: #fff;

    box-shadow:
        0 0 15px rgba(0, 86, 214, 0.15);
}


/* =========================
   TERMS
========================= */

.terms {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    color: #555;

    margin: 18px 0 25px;

    cursor: pointer;
}

.terms input {
    width: 18px;
    height: 18px;
}


/* =========================
   BUTTON
========================= */

button {
    width: 100%;

    padding: 16px;

    border: none;

    border-radius: 12px;

    background: #0056d6;

    color: #fff;

    font-size: 17px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    background: #ff9800;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(
            255,
            152,
            0,
            0.30
        );
}

button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =========================
   MESSAGE
========================= */

.message {
    padding: 14px;

    margin-bottom: 20px;

    border-radius: 8px;

    text-align: center;

    font-weight: 600;

    font-size: 14px;

    line-height: 1.4;
}

.success {
    background: #d4edda;

    color: #155724;

    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;

    color: #721c24;

    border: 1px solid #f5c6cb;
}


/* =========================
   LOGIN LINK
========================= */

.login-link {
    margin-top: 25px;

    text-align: center;

    color: #555;
}

.login-link a {
    color: #0056d6;

    font-weight: 700;

    text-decoration: none;
}

.login-link a:hover {
    color: #ff9800;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .register-box {
        grid-template-columns: 1fr;
    }

    .register-left {
        padding: 40px 30px;
    }

    .register-right {
        padding: 40px 30px;
    }

}


@media (max-width: 500px) {

    .register-page {
        padding: 15px;
    }

    .register-left h1 {
        font-size: 30px;
    }

    .register-left p {
        font-size: 15px;
    }

    .register-left i {
        font-size: 60px;
    }

    .register-right h2 {
        font-size: 28px;
    }

    .register-right {
        padding: 25px 20px;
    }

    .input-box input {
        font-size: 15px;
    }

    button {
        font-size: 16px;
    }

    .terms {
        font-size: 14px;
    }

}