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

body{
    font-family:'Segoe UI',sans-serif;
    background:#f3f4f6;
    color:#111827;
}

.login-page{
    min-height:100vh;
    background:linear-gradient(135deg,#071226,#0f172a);
    display:flex;
    align-items:center;
    justify-content:center;
}

.login-container{
    width:1100px;
    background:white;
    border-radius:24px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 1fr;
    box-shadow:0 20px 50px rgba(0,0,0,0.2);
}

.login-left{
    background:linear-gradient(135deg,#071226,#0f172a);
    color:white;
    padding:70px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-left h1{
    font-size:72px;
}

.login-left h2{
    font-size:40px;
    margin:10px 0 20px;
}

.login-right{
    padding:70px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.login-box{
    width:100%;
}

.login-box h3{
    font-size:34px;
    margin-bottom:30px;
}

.login-box input{
    width:100%;
    height:58px;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:0 18px;
    margin-bottom:20px;
}

.login-box button{
    width:100%;
    height:58px;
    border:none;
    border-radius:14px;
    background:#dc2626;
    color:white;
    font-weight:700;
    cursor:pointer;
}

.dashboard-layout{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:280px;
    background:linear-gradient(180deg,#071226 0%, #0f172a 100%);
    color:white;
    padding:25px 18px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
}

.sidebar-logo h1{
    font-size:52px;
}

.sidebar-logo span{
    font-size:11px;
}

.sidebar-menu{
    list-style:none;
    margin-top:35px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.sidebar-menu li a{
    display:flex;
    align-items:center;
    gap:14px;
    color:#d1d5db;
    text-decoration:none;
    padding:16px;
    border-radius:14px;
    transition:0.3s;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover{
    background:#dc2626;
    color:white;
}

.sidebar-support{
    background:rgba(255,255,255,0.05);
    padding:18px;
    border-radius:18px;
}

.main-content{
    margin-left:280px;
    width:calc(100% - 280px);
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

.dashboard-header{
    height:90px;
    background:white;
    border-bottom:1px solid #e5e7eb;
    padding:0 35px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.header-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.notification-icon{
    width:45px;
    height:45px;
    border-radius:14px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
}

.user-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.avatar{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#111827;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
}

.page-content{
    padding:35px;
    flex:1;
}

.page-header{
    margin-bottom:25px;
}

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

.stat-card{
    background:white;
    border-radius:22px;
    padding:30px;
    display:flex;
    align-items:center;
    gap:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.stat-icon{
    width:65px;
    height:65px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
}

.red .stat-icon{background:#dc2626;}
.blue .stat-icon{background:#2563eb;}
.green .stat-icon{background:#16a34a;}
.orange .stat-icon{background:#ea580c;}

.content-card{
    margin-top:30px;
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.card-header{
    padding:25px;
    border-bottom:1px solid #f1f5f9;
}

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

.dashboard-table th{
    background:#f8fafc;
    padding:18px 25px;
    text-align:left;
}

.dashboard-table td{
    padding:20px 25px;
    border-bottom:1px solid #f1f5f9;
}

.status{
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
}

.pending{
    background:#fef3c7;
}

.quoted{
    background:#dbeafe;
}

.dashboard-footer{
    height:70px;
    background:white;
    border-top:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}

.error{
    background:#fee2e2;
    padding:15px;
    border-radius:12px;
    margin-bottom:20px;
}

.page-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:30px;
}

.page-header h1{
    font-size:34px;
    margin-bottom:5px;
}

.page-header p{
    color:#6b7280;
}

.primary-btn{
    background:#dc2626;
    color:white;
    border:none;
    padding:14px 22px;
    border-radius:14px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
    transition:0.3s;
}

.primary-btn:hover{
    background:#b91c1c;
}

.sidebar-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:35px;
    padding:10px 0 25px;
}

.logo-image{
    width:190px;
    max-width:100%;
    height:auto;
    object-fit:contain;
}

/* Optional white background logo card */

.sidebar-logo{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.05);
    border-radius:20px;
}

.form-card{
    padding-bottom:30px;
}

.modern-form{
    padding:30px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-bottom:25px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#374151;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:16px;
    font-size:14px;
    background:white;
    outline:none;
    transition:0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#dc2626;
    box-shadow:0 0 0 4px rgba(220,38,38,0.08);
}

.full-width{
    margin-bottom:25px;
}

.form-actions{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.primary-btn{
    background:#dc2626;
    color:white;
    border:none;
    padding:14px 24px;
    border-radius:14px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.primary-btn:hover{
    background:#b91c1c;
}

.secondary-btn{
    background:#f3f4f6;
    color:#111827;
    padding:14px 24px;
    border-radius:14px;
    text-decoration:none;
    font-weight:600;
}

.secondary-btn:hover{
    background:#e5e7eb;
}

@media(max-width:768px){

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

}