/* ==========================================
   RAKETEER SIGN UP PAGE - EXACT SPLIT LAYOUT
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}


.page-split {
    display: flex;
    width: 100vw;
    min-height: 100vh;
}

/* ------------------------------------------
   LEFT PANEL (EXACT POSITION & SIZE MATCH)
   ------------------------------------------ */
.panel-left {
        width: 50%;
    background: 
        radial-gradient(
        circle at 0% 20%,
        #1515D4 0%,
        #0009B3 35%,
        #000080 65%,
        transparent 100%
        ),

        radial-gradient(
        circle 500px at 85% 85%,
        #1515D4 0%,
        #0009B3 35%,
        #000080 65%,
        transparent 100%
    ),
    #000080;

    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-right: 5%;
    position: relative;
    z-index: 3;
}

.branding-content {
    max-width: 440px;
    width: 100%;
    margin-top: -40px; 
}


.brand-title {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}


.brand-tagline {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 75px; 
    font-weight: 400;
}

.role-label {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 18px;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* BASE ROLE CARD STYLES */
.role-card {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 18px 24px;
    width: 100%;
    max-width: 420px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.25s ease;
}

.role-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.role-card input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}


.radio-dot {
    width: 17px;
    height: 17px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    margin-right: 14px;
    display: inline-block;
    position: relative;
    background: transparent;
    flex-shrink: 0;
}


/* checked state STYLES */
.role-card:has(input[type="radio"]:checked) {
    background-color: #ffffff;
    border-color: #ffffff;
}

.role-card:has(input[type="radio"]:checked) .role-text {
    color: #0009B3;
    font-weight: 100;
}


.role-card input[type="radio"]:checked + .radio-dot::after,
.role-card input[type="radio"]:checked ~ .radio-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #0009B3;
    color: #0009B3;
    border-color: #0009B3;
    border-radius: 50%;
}

.role-card:has(input[type="radio"]:checked) .radio-dot {
    border-color: #0009B3;
}

.role-text {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 100;
}

.admin-hidden {
    display: none;
}


/* ------------------------------------------
   MIDDLE BOUNDARY SLASHES 
   ------------------------------------------ */
.slash-container {
    position: absolute;
    right: -35px;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.slash-bar {
    width: 60px;
    height: 22px;
    transform: skewY(38deg);
}

.bar-blue-top {
    background-color: #000080;
}

.bar-white-mid {
    background-color: #ffffff;
}

.bar-blue-bot {
    background-color: #000080;
}
/* ------------------------------------------
   RIGHT PANEL (SIGN UP FORM)
   ------------------------------------------ */
.panel-right {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.form-container {
    width: 100%;
    max-width: 420px;
}


.input-box {
    position: relative;
    margin-bottom: 22px;
    width: 100%;
}

.input-box input {
    width: 100%;
    padding: 18px 26px;
    border: 1.8px solid #5552a0;
    border-radius: 15px;
    color: #334155;
    font-size: 1rem;
    outline: none;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.input-box input:focus {
    border-color: #000abf;
}

.input-box label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #5552a0;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.25s ease;
    background-color: #ffffff;
    padding: 0 6px;
}

/* Hide the actual placeholder */
.input-box input::placeholder {
    color: transparent;
}

/* Float label when focused OR when there is text */
.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.85rem;
    transform: translateY(-50%);
    color: #000abf;
    font-weight: 500;
}

/* TERMS AND CONDITIONS ROW */
.terms-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 24px;
    padding: 0 12px;
    width: 100%;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
}

.terms-left {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.terms-left input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #000080;
}

.terms-link {
    color: #3b318f;
    text-decoration: underline;
    font-style: italic;
    font-weight: 500;
}

/* SIGN UP BUTTON */
.btn-submit {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;
    background: #000080;
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 128, 0.35);

    transition: transform 0.1s ease;
}

.btn-submit:hover {
     background: radial-gradient(
        circle 150px at var(--mouse-x) var(--mouse-y),
        #3030F0 0%,
        #1010C5 40%,
        #000080 100%
    );
}

/* RESPONSIVE LAYOUT */
@media (max-width: 900px) {
    .page-split {
        flex-direction: column;
    }
    .panel-left, .panel-right {
        width: 100%;
        padding: 40px 20px;
    }
    .slash-container {
        display: none;
    }
}