/**
 * Vendor Dashboard Specific Styles
 */

.dashboard-sidebar {
    background: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 2rem 0;
}

.dashboard-sidebar .nav-link {
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: rgba(22, 90, 67, 0.1);
    color: var(--primary-color);
    border-right-color: var(--primary-color);
}

.dashboard-content {
    padding: 2rem;
    background: var(--bg-color);
    min-height: 100vh;
}

.dashboard-header {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--primary-color);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    float: left;
    opacity: 0.3;
}

/* Dashboard Tables */
.dashboard-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dashboard-table table {
    margin-bottom: 0;
}

.dashboard-table thead {
    background: var(--primary-color);
    color: white;
}

.dashboard-table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.dashboard-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.dashboard-table tbody tr:hover {
    background: rgba(22, 90, 67, 0.05);
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background: var(--light-gray);
}

.progress-bar {
    background: var(--primary-color);
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Chart Container */
.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(22, 90, 67, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(22, 90, 67, 0.1);
}

/* Multi-step Form */
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    gap: 1rem;
    padding: 0 20px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    right: calc(25px + 12.5px);
    left: calc(25px + 12.5px);
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
    border-radius: 2px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    min-width: 0;
    max-width: none;
}

.step .step-number {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    transition: var(--transition);
    font-family: "Dosis","GE Dinar One",sans-serif;
    flex-shrink: 0;
    color: #666;
}

.step .step-label {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
    width: 100%;
    padding: 0 5px;
}

.step.active .step-number {
    border-color: var(--mainSiteColor);
    background: var(--mainSiteColor);
    color: white;
    box-shadow: 0 0 0 4px rgba(1, 126, 179, 0.2);
}

.step.active .step-label {
    color: var(--mainSiteColor);
    font-weight: 600;
}

.step.completed .step-number {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

.step.completed .step-label {
    color: var(--success-color);
}

.step:hover:not(.active):not(.completed) .step-number {
    border-color: #d0d0d0;
    transform: scale(1.05);
}

.form-step {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.empty-state h3 {
    color: #666;
    margin-bottom: 0.5rem;
}

