*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f7fb;color:#162033}.container{width:min(1120px,92%);margin:auto}header{background:#111c2f;color:#fff;position:sticky;top:0}.nav{height:68px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:28px;font-weight:800;color:#fff;text-decoration:none;letter-spacing:1px}.nav a{color:#fff;text-decoration:none;margin-left:18px}.btn{display:inline-block;border:0;background:#2563eb;color:#fff;padding:13px 20px;border-radius:10px;text-decoration:none;font-weight:bold;cursor:pointer}.btn.outline{background:transparent;border:1px solid #94a3b8}.btn.small{padding:9px 14px}.full{width:100%;margin-top:20px}.hero{padding:80px 0 45px;min-height:380px;display:flex;align-items:center}.hero h1{font-size:clamp(42px,7vw,76px);line-height:1;margin:16px 0}.hero h1 span{color:#2563eb}.hero p{font-size:19px;color:#667085;max-width:650px;line-height:1.7}.actions{display:flex;gap:12px;margin-top:25px}.tag{display:inline-block;background:#dbeafe;color:#1d4ed8;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:bold}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 60px}.card,.stat{background:#fff;border:1px solid #e7eaf0;border-radius:16px;padding:24px;box-shadow:0 5px 20px rgba(0,0,0,.04)}.card h3{margin-top:0}.card p{color:#667085;line-height:1.6}.icon{font-size:30px}.auth-box{max-width:480px;margin:55px auto;background:#fff;padding:30px;border-radius:18px;border:1px solid #e5e7eb}.auth-box h2{margin-top:0}.auth-box p{color:#667085}label{display:block;font-size:14px;font-weight:bold;margin:16px 0 7px}input,select{width:100%;padding:13px;border:1px solid #d0d5dd;border-radius:9px;font-size:16px}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:9px;margin:15px 0}.center{text-align:center}.demo-note{margin-top:20px;padding:12px;background:#f8fafc;border-radius:8px;font-size:13px}.dashboard-head{padding:45px 0 20px}.dashboard-head h1{margin:12px 0 6px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.stat span{display:block;color:#667085;font-size:14px}.stat b{display:block;font-size:30px;margin-top:10px}footer{border-top:1px solid #e5e7eb;padding:25px 0;color:#667085;margin-top:40px}@media(max-width:750px){.cards{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.hero{padding-top:50px}.nav{height:62px}.nav a{margin-left:10px}.brand{font-size:22px}}.voice-page{padding:45px 0;max-width:850px}.mic{width:110px;height:110px;border-radius:50%;border:0;font-size:45px;background:#2563eb;cursor:pointer;box-shadow:0 10px 30px rgba(37,99,235,.25);margin:20px 0}.voice-page .card{margin:12px 0}
.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.filter{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filter select,.filter input{padding:10px;border:1px solid #d0d5dd;border-radius:8px}@media(max-width:700px){.analytics-grid{grid-template-columns:1fr}}
/* =========================================================
   ADUTHU SHOP DASHBOARD BUTTON FIX
   ========================================================= */

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 25px 0 35px;
}

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;

    padding: 14px 20px;

    background: #2563eb;
    color: #ffffff !important;

    border: 1px solid #2563eb;
    border-radius: 10px;

    text-decoration: none;
    font-weight: 700;
    font-size: 15px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-btn:hover {
    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}

.dashboard-btn:active {
    transform: translateY(0);
}


/* Improve normal buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;
    color: #ffffff !important;

    border: 1px solid #2563eb;

    padding: 13px 20px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


/* Responsive dashboard */

@media (max-width: 750px) {

    .dashboard-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-btn {
        width: 100%;
        min-width: 0;
    }

}

@media (max-width: 480px) {

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ADUTHU NOTIFICATION BADGE
   ========================================================= */

.notification-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    background: #ef4444;
    color: #ffffff;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    line-height: 1;
}

/* =========================================================
   ADUTHU CUSTOMER ORDER TRACKING
   ========================================================= */

.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #dbeafe;
    color: #1d4ed8;

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
}

.order-status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.order-status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}


/* TRACKER */

.order-tracker {
    display: flex;
    align-items: flex-start;

    width: 100%;

    margin: 35px 0 25px;

    overflow-x: auto;

    padding: 10px 5px 20px;
}


.track-step {
    min-width: 95px;

    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;

    opacity: 0.45;
}


.track-step.active {
    opacity: 1;
}


.track-circle {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e5e7eb;
    color: #667085;

    font-weight: 800;

    border: 3px solid #e5e7eb;
}


.track-step.active .track-circle {
    background: #2563eb;
    color: #ffffff;

    border-color: #2563eb;
}


.track-label {
    margin-top: 10px;

    text-align: center;

    font-size: 12px;
    font-weight: 700;

    color: #667085;
}


.track-step.active .track-label {
    color: #162033;
}


.track-line {
    flex: 1;

    min-width: 45px;

    height: 4px;

    background: #e5e7eb;

    margin-top: 17px;

    border-radius: 10px;
}


.track-line.active {
    background: #2563eb;
}


/* CANCELLED */

.tracking-cancelled {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 25px 0;

    padding: 18px;

    border-radius: 12px;

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;
}


.cancelled-icon {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ef4444;
    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
}


.tracking-cancelled p {
    margin: 5px 0 0;
}


/* SUMMARY */

.order-summary-box {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-top: 25px;

    padding: 18px;

    background: #f8fafc;

    border-radius: 12px;
}


.order-summary-box div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.order-summary-box span {
    color: #667085;

    font-size: 12px;
}


.order-summary-box strong {
    font-size: 15px;
}


/* MOBILE */

@media (max-width: 700px) {

    .order-summary-box {
        grid-template-columns: 1fr;
    }

    .order-tracker {
        justify-content: flex-start;
    }

    .track-step {
        min-width: 85px;
    }

}

/* =========================================================
   CUSTOMER ORDER CANCELLATION
   ========================================================= */

.customer-cancel-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;
    padding: 18px;

    background: #fff7ed;

    border: 1px solid #fed7aa;
    border-radius: 12px;
}

.customer-cancel-box p {
    margin: 5px 0 0;
    color: #667085;
}

.cancel-order-btn {
    border: 0;

    background: #dc2626;
    color: #ffffff;

    padding: 12px 18px;

    border-radius: 10px;

    font-weight: 700;
    cursor: pointer;
}

.cancel-order-btn:hover {
    background: #b91c1c;
}

.customer-cancel-locked {
    margin-top: 20px;
    padding: 14px 16px;

    border-radius: 10px;

    background: #f8fafc;
    border: 1px solid #e5e7eb;

    color: #667085;
    font-size: 14px;
}

@media (max-width: 700px) {

    .customer-cancel-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cancel-order-btn {
        width: 100%;
    }
}

/* =========================================================
   ADUTHU NEARBY SHOPS UI
   ========================================================= */

.location-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    padding: 20px 24px;

    margin-bottom: 28px;

    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.location-summary p {
    margin: 6px 0 0;
    color: #667085;
}


.nearby-shop-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.nearby-shop-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    padding: 26px;

    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}


.nearby-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
    flex-wrap: wrap;
}


.nearby-shop-header h2 {
    margin: 0 0 8px;
}


.nearby-shop-header p {
    margin: 0;
    color: #667085;
}


.distance-badge {
    background: #dbeafe;
    color: #1d4ed8;

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
}


.shop-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;

    margin: 20px 0;

    padding: 14px 16px;

    background: #f8fafc;

    border-radius: 10px;

    color: #475467;
    font-size: 14px;
}


.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 20px;
}


.shop-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    padding: 20px;

    background: #ffffff;
}


.shop-product-card h3 {
    margin-top: 0;
}


.shop-product-card p {
    color: #667085;
    line-height: 1.5;
}


.product-price {
    font-size: 18px;
    font-weight: 800;

    margin: 14px 0 8px;
}


.product-stock {
    color: #667085;

    margin-bottom: 15px;
}


.empty-shop-products {
    margin-top: 20px;

    padding: 15px;

    border-radius: 10px;

    background: #f8fafc;

    color: #667085;
}


/* MOBILE */

@media (max-width: 900px) {

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

}


@media (max-width: 650px) {

    .location-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-product-grid {
        grid-template-columns: 1fr;
    }

    .nearby-shop-card {
        padding: 18px;
    }

}

/* =========================================================
   PRODUCT MANAGEMENT
   ========================================================= */

.product-management-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: start;
}

.product-add-card {
    position: sticky;
    top: 90px;
}

.product-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.product-manage-card {
    margin-bottom: 20px;
}

.product-manage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.product-manage-header h2 {
    margin: 0 0 10px;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-active-tag,
.product-inactive-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.product-active-tag {
    background: #dcfce7;
    color: #15803d;
}

.product-inactive-tag {
    background: #fee2e2;
    color: #b91c1c;
}

.product-big-price {
    font-size: 24px;
    font-weight: 800;
}

.product-big-price small {
    font-size: 13px;
    color: #667085;
}

.product-details {
    margin-top: 22px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.product-details summary {
    cursor: pointer;
    font-weight: 800;
}

.product-edit-form {
    margin-top: 15px;
}

.stock-management-box {
    margin-top: 20px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
}

.stock-current {
    color: #667085;
}

.stock-current strong {
    display: block;
    margin-top: 5px;
    color: #162033;
    font-size: 22px;
}

.stock-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.stock-actions form {
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.stock-actions .btn {
    width: 100%;
    margin-top: 10px;
}

.product-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.product-deactivate-btn,
.product-activate-btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

.product-deactivate-btn {
    background: #fee2e2;
    color: #b91c1c;
}

.product-activate-btn {
    background: #dcfce7;
    color: #15803d;
}


@media (max-width: 900px) {

    .product-management-layout {
        grid-template-columns: 1fr;
    }

    .product-add-card {
        position: static;
    }

    .stock-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   VOICE PRODUCT MANAGEMENT
   ========================================================= */

.voice-product-manager {
    margin-bottom: 24px;
}

.voice-product-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.voice-product-head h2 {
    margin: 0 0 6px;
}

.voice-product-head p {
    margin: 0;
    color: #667085;
}

.voice-command-help {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 20px;
}

.voice-command-help strong {
    background: #f1f5f9;

    padding: 8px 12px;

    border-radius: 8px;

    font-size: 13px;
}

.voice-product-status {
    margin-top: 18px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 10px;

    color: #475467;
}

.voice-product-preview {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid #93c5fd;

    background: #eff6ff;

    border-radius: 12px;
}

.voice-product-preview span {
    color: #667085;

    font-size: 13px;
}

.voice-product-preview h3 {
    margin: 8px 0 16px;
}

.voice-confirm-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}




/* =========================================================
   CUSTOMER REVIEWS
   ========================================================= */

.order-review-section {
    margin-top: 24px;
    padding: 20px;
    background: #fffdf5;
    border: 1px solid #fde68a;
    border-radius: 14px;
}

.order-review-section h3 {
    margin-top: 0;
}

.order-review-section > p {
    color: #667085;
}

.review-product-card {
    margin-top: 16px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.review-product-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.reviewed-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}




/* =========================================================
   SMART INVENTORY FORECAST
   ========================================================= */

.forecast-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.forecast-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.forecast-table th {
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.forecast-table td {
    padding: 14px 16px;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 1px solid #eef2f6;
}

.forecast-table tr:last-child td {
    border-bottom: none;
}

.forecast-table tbody tr:hover {
    background: #f8fafc;
}


/* =========================================================
   FORECAST STATUS BADGES
   ========================================================= */

.forecast-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.forecast-stock-ok {
    background: #dcfce7;
    color: #15803d;
}

.forecast-reorder-soon {
    background: #fef3c7;
    color: #b45309;
}

.forecast-urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.forecast-out {
    background: #fecaca;
    color: #991b1b;
}

.forecast-no-data {
    background: #f1f5f9;
    color: #64748b;
}


/* =========================================================
   DEMAND BADGES
   ========================================================= */

.demand-high {
    background: #fee2e2;
    color: #b91c1c;
}

.demand-medium {
    background: #fef3c7;
    color: #b45309;
}

.demand-low {
    background: #dbeafe;
    color: #1d4ed8;
}

.demand-none {
    background: #f1f5f9;
    color: #64748b;
}


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

@media (max-width: 768px) {

    .forecast-table-wrap {
        margin-left: 0;
        margin-right: 0;
    }

    .forecast-table th,
    .forecast-table td {
        padding: 12px;
        font-size: 13px;
    }
}





/* =========================================================
   STEP 10.2 - SMART INVENTORY FORECAST
========================================================= */

.smart-forecast-card {
    overflow: hidden;
}

.forecast-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.forecast-heading-row h2 {
    margin: 0 0 8px 0;
}

.forecast-description {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.forecast-count {
    background: #e8f0ff;
    color: #1557d6;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    white-space: nowrap;
}


/* PRODUCT LIST */

.smart-forecast-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.forecast-product-card {
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}


/* HEADER */

.forecast-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #e6eaf0;
}

.forecast-product-name {
    margin: 0 0 5px 0;
    font-size: 21px;
    color: #172033;
}

.forecast-product-unit {
    font-size: 13px;
    color: #64748b;
}

.forecast-header-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}


/* INFORMATION GRID */

.forecast-info-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    background: #e4e8ef;
    border-bottom: 1px solid #e4e8ef;
}

.forecast-info-box {
    background: #f8fafc;
    padding: 17px 16px;
    min-height: 76px;
}

.forecast-info-box span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 7px;
}

.forecast-info-box strong {
    display: block;
    font-size: 16px;
    color: #172033;
}

.reorder-highlight {
    background: #fffaf0;
}

.reorder-highlight strong {
    color: #b45309;
}


/* ACTION AREA */

.forecast-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 17px 22px;
    background: #ffffff;
}

.forecast-action-message {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.forecast-action-message strong {
    color: #172033;
}

.forecast-action-button form {
    margin: 0;
}

.forecast-reorder-btn {
    white-space: nowrap;
}


/* EMPTY STATE */

.forecast-empty-state {
    text-align: center;
    padding: 45px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.forecast-empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.forecast-empty-state h3 {
    margin: 0 0 8px;
}

.forecast-empty-state p {
    margin: 0;
    color: #64748b;
}


/* TABLET */

@media (max-width: 1100px) {

    .forecast-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .forecast-heading-row {
        flex-direction: column;
    }

    .forecast-product-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .forecast-header-badges {
        justify-content: flex-start;
    }

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

    .forecast-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .forecast-action-button,
    .forecast-action-button form {
        width: 100%;
    }

    .forecast-reorder-btn {
        width: 100%;
    }

}


/* SMALL MOBILE */

@media (max-width: 430px) {

    .forecast-info-grid {
        grid-template-columns: 1fr;
    }

}







/* =========================================================
   SMART INVENTORY FORECAST - CARD GRID
   ========================================================= */

.smart-forecast-card {
    margin-top: 24px;
    padding: 24px;
}

.forecast-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.forecast-heading-row h2 {
    margin: 0 0 8px 0;
}

.forecast-description {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.forecast-count {
    background: #dbeafe;
    color: #0b55d4;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 20px;
    white-space: nowrap;
}


/* PRODUCT LIST */

.smart-forecast-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* INDIVIDUAL PRODUCT */

.forecast-product-card {
    border: 1px solid #dfe5ee;
    border-radius: 16px;
    padding: 22px;
    background: #ffffff;
}

.forecast-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.forecast-product-name {
    font-size: 24px;
    margin: 0 0 6px 0;
    color: #0f172a;
}

.forecast-product-unit {
    color: #64748b;
    font-size: 14px;
}


/* BADGES */

.forecast-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.forecast-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.demand-high {
    background: #fee2e2;
    color: #b91c1c;
}

.demand-medium {
    background: #fef3c7;
    color: #b45309;
}

.demand-low {
    background: #dbeafe;
    color: #1d4ed8;
}

.demand-none {
    background: #e5e7eb;
    color: #475569;
}

.forecast-out {
    background: #fee2e2;
    color: #b91c1c;
}

.forecast-urgent {
    background: #fecaca;
    color: #991b1b;
}

.forecast-reorder-soon {
    background: #fef3c7;
    color: #b45309;
}

.forecast-stock-ok {
    background: #dcfce7;
    color: #15803d;
}

.forecast-no-data {
    background: #e5e7eb;
    color: #475569;
}


/* =========================================================
   6 BOX GRID
   ========================================================= */

.forecast-info-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
    width: 100%;
}

.forecast-info-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    min-width: 0;
    min-height: 82px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    box-sizing: border-box;
}

.forecast-info-box span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 7px;
}

.forecast-info-box strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.reorder-highlight {
    background: #fff7ed;
    border-color: #fed7aa;
}

.reorder-highlight strong {
    color: #c2410c;
}


/* =========================================================
   ACTION AREA
   ========================================================= */

.forecast-action-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.forecast-action-message {
    color: #475569;
    line-height: 1.5;
}

.forecast-action-message strong {
    color: #0f172a;
    margin-right: 4px;
}

.forecast-action-button {
    flex-shrink: 0;
}

.forecast-action-button form {
    margin: 0;
}

.forecast-reorder-btn {
    white-space: nowrap;
}


/* EMPTY STATE */

.forecast-empty-state {
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.forecast-empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}


/* =========================================================
   TABLE IMPROVEMENT
   ========================================================= */

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

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

.table-wrap th,
.table-wrap td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}


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

@media (max-width: 900px) {

    .forecast-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 600px) {

    .smart-forecast-card {
        padding: 16px;
    }

    .forecast-heading-row {
        flex-direction: column;
    }

    .forecast-product-header {
        flex-direction: column;
    }

    .forecast-header-badges {
        justify-content: flex-start;
    }

    .forecast-info-grid {
        grid-template-columns: 1fr !important;
    }

    .forecast-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .forecast-action-button,
    .forecast-action-button form,
    .forecast-reorder-btn {
        width: 100%;
    }

}