/* Make checkbox smaller */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c01f2f;
}
/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:linear-gradient(135deg,#8b1a2d,#c01f2f);
    min-height:100vh;
    color:#fff;
    overflow-x:hidden;
}

/* HEADER */
.topbar{
    background:#741224;
    padding:20px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:26px;
    font-weight:800;
}

.menu-btn{
    width:44px;
    height:44px;
    border-radius:50%;
    background:#fff;
    color:#000;
    display:grid;
    place-items:center;
    font-size:22px;
    cursor:pointer;
}

/* LAYOUT */
.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:60px;
    min-height:calc(100vh - 88px);
}

.left h1{
    font-size:40px;
    font-weight:800;
    margin-bottom:28px;
}

/* CARD */
.card{
    background:#f3dede;
    border-radius:34px;
    padding:42px;
    max-width:620px;
    color:#222;
}

/* TABS */
.tabs{
    display:flex;
    background:#fff;
    padding:6px;
    border-radius:50px;
    margin-bottom:34px;
}

.tabs.hidden{display:none}

.tab{
    flex:1;
    padding:16px 0;
    border:none;
    background:none;
    font-weight:600;
    border-radius:40px;
    cursor:pointer;
}

.tab.active{
    background:#ffc107;
}

/* PAGES */
.page{display:none}
.page.active{display:block}

/* FORM */
label{
    font-size:16px;
    color:#444;
    margin-bottom:10px;
    display:block;
}

input{
    width:100%;
    padding:10px 16px;
    border-radius:24px;
    border:none;
    outline:none;
    font-size:16px;
    height:36px;
}

.forgot{
    display:block;
    text-align:right;
    margin-top:12px;
    font-size:14px;
    color:#555;
    text-decoration:none;
}

/* PROFILE */
.profile{
    text-align:center;
    margin-bottom:26px;
}

.profile img{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
}

.profile h3{
    margin-top:14px;
    font-size:20px;
}

/* CHECKBOX */
.checkbox{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:px;
    font-size:15px;
}

/* PASSWORD */
.password-wrap{
    position:relative;
}

.toggle-eye{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:18px;
    color:#444;
}

/* BUTTONS */
.btn-row{
    display:flex;
    margin-top:36px;
}

.btn-row.center{justify-content:center}
.btn-row.space{justify-content:space-between; gap:16px}

.btn{
    padding:16px 46px;
    border-radius:40px;
    font-weight:600;
    font-size:16px;
    cursor:pointer;
}

.btn.primary{
    background:#8e1b2f;
    color:#fff;
    border:none;
}

.btn.outline{
    background:#fff;
    color:#222;
    border:2px solid #8e1b2f;
}

/* RIGHT SECTION */
.right{
    display:flex;
    justify-content:center;
    align-items:center;
}

.right h2{
    font-size:36px;
    font-weight:800;
    line-height:1.15;
    margin-bottom:20px;
}

.right span{color:#ffc107}

/* MENU */
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:99;
}

.menu-overlay.open{
    opacity:1;
    visibility:visible;
}

.side-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:100%;
    max-width:420px;
    height:100vh;
    background:#fff;
    z-index:100;
    transition:.35s;
}

.side-menu.open{right:0}

.menu-header{
    background:#741224;
    color:#fff;
    padding:26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.menu-links{
    padding:30px;
}

.menu-links a{
    display:block;
    padding:18px 22px;
    border-radius:18px;
    margin-bottom:14px;
    font-weight:600;
    color:#999;
    text-decoration:none;
}

.menu-links a.active{
    background:#fdecec;
    color:#8e1b2f;
    border-left:4px solid #8e1b2f;
}

/* FOOTER */
.site-footer{
    background:#f5f5f5;
    padding:40px 20px;
    color:#333;
    text-align:center;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    font-size:15px;
    margin-bottom:16px;
}

.footer-links a{
    color:#222;
    text-decoration:none;
    font-weight:500;
}

.footer-links a:hover{text-decoration:underline}

.divider{
    color:#f5a623;
    font-weight:bold;
}

.footer-socials{
    display:flex;
    justify-content:center;
    gap:16px;
    margin-bottom:20px;
}

.footer-socials a{
    color:#222;
    font-size:18px;
    text-decoration:none;
    font-weight:600;
}

.footer-text{
    max-width:900px;
    margin:0 auto 20px;
    font-size:14px;
    line-height:1.6;
    color:#444;
}

.footer-copy{
    font-size:14px;
    font-weight:500;
}

/* MOBILE */
@media(max-width:900px){
    .hero{
        grid-template-columns:1fr;
        padding:26px;
    }

    .right{display:none}

    .left h1{
        font-size:36px;
    }
}

@media(max-width:600px){
    .footer-links{
        font-size:14px;
        gap:6px;
    }

    .footer-text{
        font-size:13px;
    }
}
