/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    color: #1a472a;
    margin-bottom: 10px;
    font-size: 32px;
}

.dashboard-header p {
    color: #666;
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 4px;
}

.stat-description {
    font-size: 13px;
    color: #999;
}

.credit-card {
    border-left: 4px solid #2196f3;
}

.deposit-card {
    border-left: 4px solid #4caf50;
}

.deposit-status {
    color: #4caf50;
}

/* Action Section */
.action-section {
    margin-bottom: 40px;
}

.action-section h2 {
    color: #1a472a;
    margin-bottom: 20px;
    font-size: 24px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.btn-icon {
    font-size: 32px;
}

.btn-text {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.browse-btn {
    border-color: #2196f3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.browse-btn:hover {
    border-color: #1976d2;
}

.upload-btn {
    border-color: #4caf50;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.upload-btn:hover {
    border-color: #388e3c;
}

.payment-btn {
    border-color: #ff9800;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.payment-btn:hover {
    border-color: #f57c00;
}

/* Info Banners */
.info-banner {
    background: white;
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.success-banner {
    border-left-color: #4caf50;
    background: linear-gradient(135deg, #f1f8f4 0%, #e8f5e9 100%);
}

.banner-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.banner-content {
    flex: 1;
}

.banner-content h3 {
    color: #1a472a;
    margin-bottom: 12px;
    font-size: 20px;
}

.banner-content p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.banner-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.banner-content li {
    margin: 8px 0;
    color: #555;
    line-height: 1.6;
}

.banner-content .btn-primary,
.banner-content .btn-secondary {
    margin-right: 10px;
    margin-top: 10px;
    display: inline-block;
}

/* History Section */
.history-section {
    margin-bottom: 40px;
}

.history-section h2 {
    color: #1a472a;
    margin-bottom: 20px;
    font-size: 24px;
}

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

.history-table thead {
    background: #f5f5f5;
}

.history-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-table td {
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    color: #555;
}

.history-table tbody tr:hover {
    background: #f9f9f9;
}

.empty-state {
    text-align: center;
    padding: 40px 20px !important;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
    font-size: 16px;
}

.error-state {
    text-align: center;
    padding: 40px 20px !important;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-approved {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-rejected {
    background: #ffebee;
    color: #c62828;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

/* Buttons */
.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .info-banner {
        flex-direction: column;
        text-align: center;
    }

    .banner-content .btn-primary,
    .banner-content .btn-secondary {
        display: block;
        width: 100%;
        margin: 5px 0;
    }

    .table-container {
        overflow-x: auto;
    }

    .history-table {
        min-width: 600px;
    }
}
