/* =====================================
   TAXPILOT REI PORTAL
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#f4f7fb;
    color:#1f2937;
    display:flex;
    min-height:100vh;
}

/* =====================================
   SIDEBAR
===================================== */

.sidebar{
    width:260px;
    background:#0f172a;
    color:white;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    padding:30px 20px;
}

.logo{
    font-size:28px;
    font-weight:800;
    margin-bottom:40px;
    color:white;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.menu-item{
    color:#cbd5e1;
    text-decoration:none;
    padding:14px 16px;
    border-radius:12px;
    transition:.3s;
    font-weight:500;
}

.menu-item:hover{
    background:#1e293b;
    color:white;
}

.menu-item.active{
    background:linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );
    color:white;
}

/* =====================================
   MAIN CONTENT
===================================== */

.main-content{
    margin-left:260px;
    width:calc(100% - 260px);
    padding:40px;
}

/* =====================================
   TOP BAR
===================================== */

.topbar{
    margin-bottom:30px;
}

.topbar h1{
    font-size:36px;
    font-weight:800;
    color:#0f172a;
}

.topbar p{
    color:#64748b;
    margin-top:8px;
}

/* =====================================
   HERO SECTION
===================================== */

.hero{
    background:linear-gradient(
        135deg,
        #0f172a,
        #0284c7
    );

    border-radius:24px;
    padding:60px;
    color:white;
    margin-bottom:30px;
}

.hero h2{
    font-size:42px;
    font-weight:800;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    max-width:700px;
    line-height:1.7;
    opacity:.95;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

/* =====================================
   BUTTONS
===================================== */

.btn-primary{
    background:#22c55e;
    color:white;
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-secondary{
    background:white;
    color:#0f172a;
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
}

/* =====================================
   STATS GRID
===================================== */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:30px;
}

.card{
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.card h3{
    color:#64748b;
    font-size:16px;
    margin-bottom:15px;
}

.card span{
    font-size:42px;
    font-weight:800;
    color:#0f172a;
}

/* =====================================
   ACTIVITY
===================================== */

.activity-box{
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.section-header{
    margin-bottom:15px;
}

.section-header h2{
    font-size:24px;
    color:#0f172a;
}

/* =====================================
   TABLES
===================================== */

.table-container{
    background:white;
    border-radius:20px;
    padding:25px;
    overflow:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    text-align:left;
    padding:15px;
    background:#f8fafc;
    font-size:14px;
}

table td{
    padding:15px;
    border-bottom:1px solid #e5e7eb;
}

/* =====================================
   FORMS
===================================== */

.form-card{
    background:white;
    border-radius:20px;
    padding:30px;
}

input,
select,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:12px;
    margin-top:8px;
    margin-bottom:20px;
}

label{
    font-weight:600;
}

button{
    border:none;
    cursor:pointer;
}

/* =====================================
   UPLOAD ZONE
===================================== */

.upload-zone{
    border:3px dashed #38bdf8;
    border-radius:20px;
    padding:60px;
    text-align:center;
    background:#f8fafc;
}

.upload-zone h3{
    margin-bottom:10px;
}

.upload-zone p{
    color:#64748b;
}

/* =====================================
   RESPONSIVE
===================================== */

@media(max-width:1200px){

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.sidebar{
    display:none;
}

.main-content{
    margin-left:0;
    width:100%;
    padding:20px;
}

.hero{
    padding:30px;
}

.hero h2{
    font-size:28px;
}

.stats-grid{
    grid-template-columns:1fr;
}

.hero-buttons{
    flex-direction:column;
}

}