/* ================================================================
   SELLER-DASHBOARD.CSS - Seller Dashboard Specific Styles
   ================================================================ */

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.action-btn {
    padding: 16px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.action-btn:hover {
    border-color: var(--primary-green);
    background: rgba(45, 125, 62, 0.05);
    transform: translateY(-2px);
}

.action-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* ===== CONTACT BUTTONS ===== */
.contact-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: #EA4335;
    color: white;
}

.email-btn:hover {
    background: #d33425;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.contact-icon {
    font-size: 18px;
}

/* ===== SELLER STATS CARDS ===== */
.seller-stats-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1a5f3f;
    margin: 8px 0;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ===== ORDERS TABLE BADGES ===== */
.order-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-confirmed {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.badge-shipped {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.badge-delivered {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* ===== MONTHLY SALES CHART ===== */
#monthlySalesChart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sales-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sales-label {
    min-width: 60px;
    font-size: 12px;
    font-weight: 500;
}

.sales-bar-container {
    flex: 1;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.sales-bar-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.sales-amount {
    min-width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .action-btn {
        padding: 12px;
    }

    .stat-number {
        font-size: 24px;
    }
}

/* ===== MOBILE FIXES FOR SELLER DASHBOARD ===== */
@media (max-width: 768px) {
    /* Quick actions two columns */
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Contact buttons stack */
    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    /* Quick actions one column, smaller buttons */
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .action-btn {
        padding: 10px;
        font-size: 13px;
    }

    /* Contact buttons full width */
    .contact-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 13px;
    }

    /* Seller stats smaller */
    .seller-stats-card {
        padding: 12px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Table horizontal scroll */
    .orders-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Monthly sales chart adjustments */
    #monthlySalesChart {
        gap: 12px;
    }

    .sales-bar {
        gap: 8px;
    }

    .sales-label {
        min-width: 50px;
        font-size: 11px;
    }

    .sales-amount {
        min-width: 80px;
        font-size: 12px;
    }
}