/* ==========================================
   EXPERT DASHBOARD LAYOUT
========================================== */

.bce-dashboard-layout{
    display:flex;
    gap:30px;
    max-width:1400px;
    margin:40px auto;
    align-items:flex-start;
}

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

.bce-sidebar{
    width:260px;
    min-width:260px;
    background:#071b4d;
    padding:25px;
    border-radius:12px;
}

.bce-sidebar-logo{
    color:#fff;
    font-size:26px;
    font-weight:700;
    margin-bottom:30px;
}

.bce-sidebar ul{
    margin:0;
    padding:0;
    list-style:none;
}

.bce-sidebar li{
    margin-bottom:10px;
}

.bce-sidebar a{
    display:block;
    padding:14px;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    transition:0.3s;
}

.bce-sidebar a:hover{
    background:#0f2f87;
}

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

.bce-main{
    flex:1;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}

/* ==========================================
   PAGE HEADER
========================================== */

.bce-page-header h1{
    margin:0 0 10px;
    font-size:36px;
}

.bce-page-header p{
    color:#666;
    margin-bottom:30px;
}

/* ==========================================
   DASHBOARD STATS
========================================== */

.bce-stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.bce-stat-card{
    background:#f7f8fb;
    padding:30px;
    border-radius:12px;
    text-align:center;
}

.bce-stat-card h3{
    font-size:38px;
    color:#071b4d;
    margin-bottom:10px;
}

.bce-stat-card p{
    margin:0;
}

/* ==========================================
   CARD
========================================== */

.bce-card{
    width:100%;
}

/* ==========================================
   FORM
========================================== */

.bce-product-form{
    width:100%;
}

.bce-form-group{
    margin-bottom:25px;
}

.bce-form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.bce-form-group input,
.bce-form-group textarea{
    width:100%;
    box-sizing:border-box;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.bce-form-group textarea{
    min-height:220px;
    resize:vertical;
}

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

.bce-btn{
    background:#071b4d;
    color:#fff;
    border:none;
    padding:14px 30px;
    border-radius:8px;
    cursor:pointer;
    text-decoration:none;
    display:inline-block;
}

.bce-btn:hover{
    background:#0f2f87;
}

.bce-btn-secondary{
    background:#eceff4;
    color:#000;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    display:inline-block;
}

/* ==========================================
   SUCCESS / ERROR
========================================== */

.bce-success{
    background:#e8f5e9;
    color:#2e7d32;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
}

.bce-error{
    background:#ffebee;
    color:#c62828;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
}

/* ==========================================
   DASHBOARD LINKS
========================================== */

.bce-dashboard-actions{
    margin-top:40px;
}

.bce-dashboard-cards{
    display:flex;
    gap:20px;
    margin-top:30px;
}

.bce-card-link{
    flex:1;
    background:#071b4d;
    color:#fff;
    padding:25px;
    border-radius:12px;
    text-decoration:none;
    text-align:center;
    font-weight:600;
}

.bce-card-link:hover{
    background:#0f2f87;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px){

    .bce-dashboard-layout{
        flex-direction:column;
    }

    .bce-sidebar{
        width:100%;
        min-width:100%;
    }

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

    .bce-dashboard-cards{
        flex-direction:column;
    }
}

/* Product Pages */

.bce-card{
    width:100% !important;
    max-width:100%;
}

.bce-product-form{
    width:100%;
}

.bce-product-form .bce-form-group{
    width:100%;
}

.bce-product-form input,
.bce-product-form textarea{
    width:100%;
}

.bce-product-form textarea{
    min-height:250px;
}

/* Product Grid Layout */

.bce-product-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

/* Product Form Layout */

.bce-card{
    width:100%;
    max-width:100%;
}

.bce-product-form{
    width:100%;
}

.bce-product-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.bce-form-group{
    width:100%;
}

.bce-form-group input,
.bce-form-group textarea{
    width:100%;
    display:block;
}

.bce-form-group textarea{
    min-height:250px;
}

/* Larger content area */

.bce-main{
    flex:1;
    min-width:800px;
}

/* Better card */

.bce-card{
    background:#fff;
    padding:30px;
    border-radius:12px;
}

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

.bce-products-table th,
.bce-products-table td{
    padding:12px;
    border:1px solid #ddd;
    text-align:left;
}

.bce-products-table th{
    background:#0c225f;
    color:#fff;
}