/* =====================================
   BukkieGo Register Page
   register.css
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#F3EFE6;
    color:#1B2430;
    min-height:100vh;
}

/* ===============================
   PAGE
================================= */

.register-page{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:100vh;
}

/* ===============================
   LEFT SIDE
================================= */

.register-left{
    background:linear-gradient(135deg,#1B2430,#2A3444);
    color:#fff;
    padding:80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
    overflow:hidden;
}

.register-left::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(232,98,44,.12);
    top:-180px;
    right:-150px;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:50px;
}

.logo i{
    font-size:42px;
    color:#E8622C;
}

.logo h2{
    font-size:34px;
    font-family:'Space Grotesk',sans-serif;
}

.register-left h1{
    font-size:52px;
    line-height:1.1;
    margin-bottom:25px;
}

.register-left p{
    color:rgba(255,255,255,.85);
    font-size:18px;
    line-height:1.8;
    max-width:520px;
}

/* ===============================
   FEATURES
================================= */

.features{
    margin-top:45px;
    display:grid;
    gap:18px;
}

.features div{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:17px;
}

.features i{
    color:#E8622C;
    font-size:22px;
}

/* ===============================
   RIGHT SIDE
================================= */

.register-right{
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px;
}

.register-right h2{
    font-size:38px;
    margin-bottom:8px;
    font-family:'Space Grotesk',sans-serif;
}

.register-right>p{
    color:#666;
    margin-bottom:30px;
}

/* ===============================
   ROLE SWITCH
================================= */

.role-switch{
    display:flex;
    background:#F4F4F4;
    border-radius:14px;
    padding:6px;
    margin-bottom:30px;
}

.role-switch button{
    flex:1;
    height:50px;
    border:none;
    background:transparent;
    cursor:pointer;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.role-switch button.active{
    background:#E8622C;
    color:#fff;
    box-shadow:0 6px 15px rgba(232,98,44,.3);
}

/* ===============================
   FORM
================================= */

form{
    width:100%;
}

.input-box{
    margin-bottom:20px;
}

.input-box label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#444;
}

.input-box input,
.input-box select{
    width:100%;
    height:55px;
    border:2px solid #ddd;
    border-radius:14px;
    padding:0 18px;
    font-size:16px;
    outline:none;
    transition:.3s;
    background:#fff;
}

.input-box input:focus,
.input-box select:focus{
    border-color:#E8622C;
    box-shadow:0 0 0 4px rgba(232,98,44,.15);
}

/* ===============================
   DRIVER SECTION
================================= */

#driverFields{
    margin-top:15px;
    padding-top:20px;
    border-top:1px solid #eee;
}

/* ===============================
   REGISTER BUTTON
================================= */

.registerBtn{
    width:100%;
    height:58px;
    border:none;
    border-radius:14px;
    background:#E8622C;
    color:#fff;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    margin-top:20px;
    transition:.3s;
}

.registerBtn:hover{
    background:#C94F1F;
    transform:translateY(-2px);
}

/* ===============================
   LOGIN LINK
================================= */

.login-link{
    text-align:center;
    margin-top:30px;
    color:#666;
}

.login-link a{
    color:#E8622C;
    text-decoration:none;
    font-weight:700;
}

.login-link a:hover{
    text-decoration:underline;
}

/* ===============================
   CARD ANIMATION
================================= */

.register-right{
    animation:slideIn .8s ease;
}

@keyframes slideIn{

from{
    opacity:0;
    transform:translateX(40px);
}

to{
    opacity:1;
    transform:translateX(0);
}

}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width:1000px){

.register-page{
    grid-template-columns:1fr;
}

.register-left{
    text-align:center;
    align-items:center;
    padding:60px 35px;
}

.register-left h1{
    font-size:42px;
}

.register-right{
    padding:45px 30px;
}

}

@media(max-width:650px){

.register-left{
    display:none;
}

.register-page{
    grid-template-columns:1fr;
}

.register-right{
    padding:35px 20px;
}

.register-right h2{
    font-size:30px;
}

.role-switch{
    flex-direction:column;
    gap:8px;
    background:transparent;
    padding:0;
}

.role-switch button{
    background:#F4F4F4;
}

.input-box input,
.input-box select{
    height:52px;
}

.registerBtn{
    height:54px;
}

}