/* HarbiTech Modern Dashboard Styles */
.harbitech-dashboard {
    padding: 20px 0;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.banner-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.banner-text p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.banner-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.meta-item.verified {
    background: rgba(16, 185, 129, 0.2);
}

.banner-reward {
    flex-shrink: 0;
}

.reward-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    min-width: 140px;
}

.reward-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
}

.reward-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.reward-label {
    font-size: 13px;
    opacity: 0.9;
}

/* Section Title */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0 20px;
}

.section-title h3 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.section-title h3 i {
    color: #667eea;
}

.view-all-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.view-all-link:hover {
    gap: 10px;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.action-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.action-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.action-item:hover::before {
    opacity: 0.05;
}

.action-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 1;
}

.action-icon-wrapper.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-icon-wrapper.green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.action-icon-wrapper.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.action-icon-wrapper.pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.action-icon-wrapper.orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.action-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
}

/* Statistics Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.stat-box.blue-gradient::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-box.orange-gradient::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-box.green-gradient::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-box.purple-gradient::before {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon-bg {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.blue-gradient .stat-icon-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.orange-gradient .stat-icon-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.green-gradient .stat-icon-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.purple-gradient .stat-icon-bg {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-details {
    flex: 1;
    z-index: 1;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
}

.stat-title {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* Orders Table */
.table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: #f8f9fd;
}

.orders-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.orders-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.orders-table tbody tr:hover {
    background: #f8f9fd;
}

.orders-table td {
    padding: 18px 20px;
    font-size: 14px;
}

.order-number {
    color: #667eea;
    font-weight: 700;
}

.order-date {
    color: #718096;
}

.order-amount {
    font-weight: 700;
    color: #2d3748;
}

.status-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pill.completed,
.status-pill.processing {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-pill.pending,
.status-pill.on-hold {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
}

.status-pill.cancelled,
.status-pill.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

/* No Orders State */
.no-orders {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.no-orders i {
    font-size: 64px;
    color: #cbd5e0;
    margin-bottom: 16px;
}

.no-orders p {
    font-size: 16px;
    color: #718096;
    margin-bottom: 24px;
}

.shop-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s;
}

.shop-btn:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text h2 {
        font-size: 22px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .table-wrapper {
        overflow-x: auto;
    }
}

/* Durum renkleri iyileştirme */
.status-pill.draft,
.status-pill.pending,
.status-pill.on-hold {
    background: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
    font-weight: 600;
}

.status-pill.completed,
.status-pill.processing {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-weight: 600;
}

.status-pill.beklemede {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    font-weight: 600;
}

/* Tablodaki durum yazılarını daha görünür yap */
.orders-table .status-pill {
    padding: 8px 14px;
    font-size: 13px;
    text-transform: capitalize;
}

/* Hover animasyonları */
.action-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-item:hover .action-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.stat-box:hover .stat-icon-bg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .welcome-banner {
        padding: 20px;
    }
    
    .banner-text h2 {
        font-size: 20px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}