/* ===============================================
   SELLER DASHBOARD STYLES
   =============================================== */

/* Layout Principal */
.seller_dashboard_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1280px) {
    .seller_dashboard_container {
        grid-template-columns: 1fr 350px;
        grid-template-areas:
            "header header"
            "stats stats"
            "main sidebar";
    }
}

/* ================= HEADER ================= */
.seller_dashboard_header {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.seller_dashboard_title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seller_dashboard_subtitle {
    font-size: 1rem;
    color: #9ca3af;
}

.seller_dashboard_btn_primary {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.seller_dashboard_btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.seller_dashboard_btn_primary svg {
    width: 18px;
    height: 18px;
}

/* ================= STATS GRID ================= */
.seller_dashboard_stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .seller_dashboard_stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .seller_dashboard_stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.seller_dashboard_stat_card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seller_dashboard_stat_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #06b6d4, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seller_dashboard_stat_card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.seller_dashboard_stat_card:hover::before {
    opacity: 1;
}

.seller_dashboard_stat_card.stat_products::before {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.seller_dashboard_stat_card.stat_sales::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.seller_dashboard_stat_card.stat_commissions::before {
    background: linear-gradient(180deg, #a855f7, #9333ea);
}

.seller_dashboard_stat_card.stat_orders::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.seller_dashboard_stat_icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat_products .seller_dashboard_stat_icon {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.stat_sales .seller_dashboard_stat_icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat_commissions .seller_dashboard_stat_icon {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.stat_orders .seller_dashboard_stat_icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.seller_dashboard_stat_icon svg {
    width: 28px;
    height: 28px;
}

.seller_dashboard_stat_content {
    flex: 1;
}

.seller_dashboard_stat_content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.seller_dashboard_stat_content p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.seller_dashboard_stat_trend {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.seller_dashboard_stat_trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.seller_dashboard_stat_trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.seller_dashboard_stat_trend.neutral {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

/* ================= MAIN CONTENT ================= */
.seller_dashboard_main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1280px) {
    .seller_dashboard_main {
        grid-area: main;
    }
}

/* ================= CARDS ================= */
.seller_dashboard_card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.seller_dashboard_card_header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.seller_dashboard_card_title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.seller_dashboard_card_subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
}

.seller_dashboard_card_body {
    padding: 1.5rem;
}

.seller_dashboard_link {
    font-size: 0.875rem;
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.seller_dashboard_link:hover {
    color: #3b82f6;
}

/* ================= CHART CARD ================= */
.seller_dashboard_chart_card {
    min-height: 400px;
}

.seller_dashboard_chart_card .seller_dashboard_card_body {
    height: 300px;
}

.seller_dashboard_card_tabs {
    display: flex;
    gap: 0.5rem;
}

.seller_dashboard_tab {
    padding: 0.5rem 1rem;
    background: rgba(55, 65, 81, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.seller_dashboard_tab:hover {
    background: rgba(55, 65, 81, 0.5);
    color: #fff;
}

.seller_dashboard_tab.active {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    border-color: transparent;
}

/* ================= PRODUCTS LIST ================= */
.seller_dashboard_products_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seller_dashboard_product_item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(55, 65, 81, 0.3);
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.seller_dashboard_product_item:hover {
    background: rgba(55, 65, 81, 0.5);
    transform: translateX(4px);
}

.seller_dashboard_product_image {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(6, 182, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller_dashboard_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller_dashboard_product_placeholder {
    font-size: 24px;
}

.seller_dashboard_product_info {
    flex: 1;
}

.seller_dashboard_product_info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.seller_dashboard_product_info p {
    font-size: 0.75rem;
    color: #9ca3af;
}

.seller_dashboard_product_price {
    text-align: right;
}

.seller_dashboard_product_price span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #06b6d4;
    margin-bottom: 0.25rem;
}

.seller_dashboard_product_price small {
    font-size: 0.75rem;
    color: #10b981;
}

/* ================= SIDEBAR ================= */
.seller_dashboard_sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1280px) {
    .seller_dashboard_sidebar {
        grid-area: sidebar;
    }
}

/* ================= ACTIVITY LIST ================= */
.seller_dashboard_activity_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seller_dashboard_activity_item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(55, 65, 81, 0.3);
    border-radius: 0.75rem;
}

.seller_dashboard_activity_icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.seller_dashboard_activity_icon.sale {
    background: rgba(16, 185, 129, 0.2);
}

.seller_dashboard_activity_icon.commission {
    background: rgba(168, 85, 247, 0.2);
}

.seller_dashboard_activity_icon.product {
    background: rgba(59, 130, 246, 0.2);
}

.seller_dashboard_activity_content {
    flex: 1;
}

.seller_dashboard_activity_content p {
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.seller_dashboard_activity_content span {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ================= GOALS ================= */
.seller_dashboard_goals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.seller_dashboard_goal {
    
}

.seller_dashboard_goal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.seller_dashboard_goal_header span:first-child {
    color: #9ca3af;
    font-weight: 500;
}

.seller_dashboard_goal_header span:last-child {
    color: #fff;
    font-weight: 600;
}

.seller_dashboard_progress_bar {
    height: 8px;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.seller_dashboard_progress_fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.seller_dashboard_goal_percentage {
    text-align: right;
    font-size: 0.75rem;
    color: #06b6d4;
    font-weight: 600;
}

/* ================= QUICK ACTIONS ================= */
.seller_dashboard_quick_actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.seller_dashboard_quick_action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: rgba(55, 65, 81, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.seller_dashboard_quick_action:hover {
    background: rgba(55, 65, 81, 0.5);
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.3);
}

.seller_dashboard_quick_action svg {
    width: 24px;
    height: 24px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 640px) {
    .seller_dashboard_header {
        padding: 1.5rem;
    }

    .seller_dashboard_title {
        font-size: 1.5rem;
    }

    .seller_dashboard_stat_card {
        padding: 1.25rem;
    }

    .seller_dashboard_stat_content h3 {
        font-size: 1.5rem;
    }

    .seller_dashboard_card_header,
    .seller_dashboard_card_body {
        padding: 1.25rem;
    }
}
