body{
    margin:0;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px 170px;
    box-sizing:border-box;
    background:linear-gradient(135deg,#232F3E,#1a2230);
    font-family:Arial, sans-serif;
}

/* =========================
   OUTER WRAPPER
========================= */
.register-container{
    width:100%;
    max-width:1200px;
    min-height:600px;

    display:flex;

    border-radius:20px;
    overflow:hidden;

    box-shadow:0 25px 70px rgba(0,0,0,0.5);

    animation:pop 0.6s ease;
}

/* =========================
   LEFT SIDE DESIGN PANEL
========================= */
.left-panel{
    flex:1;

    background:linear-gradient(135deg,#232F3E,#2d3e52);

    color:white;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:40px;
    text-align:center;
}

.left-panel h1{
    font-size:32px;
    color:#FEBD69;
}

.left-panel p{
    margin-top:15px;
    color:#cbd5e1;
    line-height:1.6;
}

/* =========================
   RIGHT FORM PANEL
========================= */
.right-panel{
    flex:1;

    background:white;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:40px;
}

/* FORM BOX */
.form-box{
    width:100%;
}

.form-box h2{
    text-align:center;
    color:#232F3E;
    margin-bottom:20px;
}

/* INPUT */
.form-box input{
    width:100%;
    padding:12px;

    margin:10px 0;

    border:1px solid #ddd;
    border-radius:10px;

    outline:none;

    transition:0.3s;
}

/* FOCUS */
.form-box input:focus{
    border-color:#FEBD69;
    box-shadow:0 0 10px rgba(254,189,105,0.3);
}

/* ROLE SELECTOR CLASS */
.role-selector-title {
    font-size: 13px;
    font-weight: 600;
    color: #232F3E;
    margin-top: 15px;
    margin-bottom: 8px;
    text-align: left;
}

.role-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.role-option {
    flex: 1;
}

.role-option input[type="radio"] {
    display: none !important;
}

.role-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    transition: all 0.25s ease;
    text-align: center;
    gap: 6px;
    background: #f8fafc;
}

.role-label i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.role-option input[type="radio"]:checked + .role-label {
    border-color: #FEBD69;
    background: rgba(254, 189, 105, 0.08);
    color: #232F3E;
    box-shadow: 0 4px 12px rgba(254, 189, 105, 0.15);
}

.role-option input[type="radio"]:checked + .role-label i {
    color: #FEBD69;
}

/* BUTTON */
.form-box button{
    width:100%;
    padding:12px;

    background:#FEBD69;
    color:#232F3E;

    border:none;
    border-radius:10px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s ease;
}

/* HOVER */
.form-box button:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

/* LINK */
.form-box p{
    text-align:center;
    margin-top:15px;
    font-size:14px;
    color:#555;
}

.form-box a{
    color:#FEBD69;
    text-decoration:none;
    font-weight:bold;
}

/* =========================
   ANIMATION
========================= */
@keyframes pop{
    from{
        opacity:0;
        transform:scale(0.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){
    .register-container{
        flex-direction:column;
        width:90%;
        height:auto;
    }

    .left-panel{
        padding:30px;
    }

    .right-panel{
        padding:30px;
    }
}
.auth-page{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#232F3E;
    font-family:Arial;
}
.back-btn{
    position:absolute;
    top:20px;
    left:20px;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:white;
    color:#232F3E;

    border-radius:50%;

    box-shadow:0 8px 20px rgba(0,0,0,0.25);

    text-decoration:none;

    font-size:18px;

    transition:0.3s ease;

    z-index:1000;
}

/* HOVER EFFECT */
.back-btn:hover{
    transform:translateX(-4px);
    background:#FEBD69;
    color:#232F3E;
}

/* MESSAGE CONTAINER FOR USER FEEDBACK */
.message-container {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: left;
}

.message-container.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.message-container.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.message-container.hidden {
    display: none;
}


/* =====================================================
   EDIVIC CONVERSION FIX - REGISTER PAGE TRUST UPGRADE
   Added for ads traffic: clearer offer, stronger benefits,
   and role-specific value before signup.
===================================================== */
.auth-register-page {
    background: radial-gradient(circle at top left, rgba(254,189,105,0.18), transparent 34%),
                linear-gradient(135deg,#111827,#232F3E 45%,#0f172a);
}

.register-launch-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(254,189,105,0.14);
    color:#FEBD69;
    font-size:12px;
    font-weight:800;
    letter-spacing:1px;
    margin-bottom:14px;
}

.register-launch-badge.light {
    background:rgba(35,47,62,0.08);
    color:#232F3E;
    margin-bottom:10px;
}

.register-trust-list {
    width:100%;
    max-width:360px;
    margin-top:26px;
    display:flex;
    flex-direction:column;
    gap:12px;
    text-align:left;
}

.register-trust-list div {
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,0.08);
    color:#e5e7eb;
    font-weight:700;
    font-size:14px;
}

.register-trust-list i {
    color:#FEBD69;
    margin-right:8px;
}

.register-subtitle {
    text-align:center;
    color:#64748b !important;
    margin-top:-10px !important;
    margin-bottom:16px !important;
}

.register-benefit-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:18px;
}

.register-benefit-card {
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#f8fafc;
    padding:14px;
}

.register-benefit-card.active {
    border-color:#FEBD69;
    background:rgba(254,189,105,0.1);
}

.register-benefit-card strong {
    display:flex;
    align-items:center;
    gap:8px;
    color:#232F3E;
    font-size:14px;
}

.register-benefit-card strong i {
    color:#FEBD69;
}

.register-benefit-card p {
    text-align:left;
    margin:8px 0 0;
    color:#64748b;
    line-height:1.45;
    font-size:12px;
}

#register-btn {
    font-size:15px;
    letter-spacing:0.2px;
}

@media(max-width:768px){
    body.auth-register-page {
        padding:70px 14px 24px;
        align-items:flex-start;
    }

    .register-benefit-grid {
        grid-template-columns:1fr;
    }

    .register-trust-list {
        max-width:100%;
    }
}

/* =====================================================
   EDIVIC AUTH CONVERSION UI UPDATE
   Login and Signup now share same premium UI + mobile polish
===================================================== */
.register-launch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(254,189,105,0.14);
    color: #FEBD69;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.register-launch-badge.light {
    background: #f1f5f9;
    color: #232F3E;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.register-subtitle {
    text-align: center;
    color: #64748b !important;
    margin-top: -10px !important;
    margin-bottom: 22px !important;
    font-size: 15px !important;
    line-height: 1.45;
}
.register-trust-list {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin-top: 24px;
    text-align: left;
}
.register-trust-list div {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 12px 14px;
    color: #e2e8f0;
    font-weight: 600;
}
.register-trust-list i { color: #FEBD69; margin-right: 8px; }
.register-benefit-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}
.register-benefit-card {
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}
.register-benefit-card.active {
    border-color: #FEBD69;
    background: rgba(254,189,105,0.10);
}
.register-benefit-card strong {
    display: block;
    color: #232F3E;
    font-size: 18px;
    margin-bottom: 8px;
}
.register-benefit-card i { color: #FEBD69; margin-right: 7px; }
.register-benefit-card p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.5;
    font-size: 14px !important;
}
.form-box h2 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 14px;
    font-weight: 900;
}
.form-box input {
    box-sizing: border-box;
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 15px;
}
.role-selector-title {
    font-size: 15px;
    font-weight: 800;
    margin-top: 18px;
}
.role-container { flex-direction: column; gap: 12px; }
.role-label {
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 18px;
}
.form-box button.auth-main-cta,
.form-box button[type="submit"] {
    min-height: 58px;
    border-radius: 18px;
    background: #111827;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(17,24,39,0.16);
}
.form-box p a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(254,189,105,0.12);
    border: 1px solid rgba(254,189,105,0.35);
    margin-left: 6px;
}
.auth-back-round {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff !important;
    color: #232F3E !important;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(15,23,42,0.18);
    font-size: 0 !important;
}
.auth-back-round i { font-size: 20px; }

@media(max-width:768px){
    body.auth-register-page,
    body.auth-login-page,
    body {
        padding: 66px 14px 28px !important;
        align-items: flex-start !important;
        background: linear-gradient(180deg,#f8fafc,#eef2f7) !important;
    }
    .register-container,
    .login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        border-radius: 26px !important;
        box-shadow: 0 20px 50px rgba(15,23,42,0.14) !important;
        overflow: hidden;
    }
    .left-panel {
        display: none !important;
    }
    .right-panel {
        padding: 28px 22px !important;
        background: #ffffff !important;
    }
    .form-box,
    .login-box {
        width: 100% !important;
        max-width: none !important;
    }
    .form-box h2,
    .login-box h2 {
        font-size: 30px !important;
        text-align: left !important;
        margin-bottom: 12px !important;
    }
    .register-launch-badge.light {
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }
    .register-subtitle { text-align: left !important; }
    .register-benefit-card { padding: 16px; text-align: left; }
    .register-benefit-card p { text-align: left !important; }
    .role-label { min-height: 58px; }
    .auth-back-round,
    .professional-back-btn {
        top: 18px !important;
        left: 18px !important;
        width: 50px !important;
        height: 50px !important;
        padding: 0 !important;
    }
}
