/* /Components/CalendarView.razor.rz.scp.css */
/* Calendar View Styles */
.calendar-container[b-e62zv8890q] {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.calendar-header[b-e62zv8890q] {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.calendar-nav[b-e62zv8890q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.calendar-title[b-e62zv8890q] {
    flex: 1;
    text-align: center;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.btn-nav[b-e62zv8890q] {
    background: white;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 2.5rem;
    height: 2.5rem;
}

.btn-nav:hover[b-e62zv8890q] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-today:hover[b-e62zv8890q], .btn-date:hover[b-e62zv8890q] {
    background: #2563eb;
}

/* Date Picker */
.date-picker-overlay[b-e62zv8890q] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.date-picker[b-e62zv8890q] {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

.date-picker h3[b-e62zv8890q] {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.25rem;
}

.date-input[b-e62zv8890q] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.date-picker-buttons[b-e62zv8890q] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-primary[b-e62zv8890q] {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover[b-e62zv8890q] {
    background: #2563eb;
}

.btn-secondary[b-e62zv8890q] {
    background: #e2e8f0;
    color: #475569;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover[b-e62zv8890q] {
    background: #cbd5e1;
}

/* Timeline Calendar */
.calendar-timeline[b-e62zv8890q] {
    display: block;
    overflow-y: auto;
    width: 100%;
    max-height: calc(100vh - 200px);
}

.calendar-timeline-header[b-e62zv8890q] {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.car-header[b-e62zv8890q] {
    min-width: 150px;
    width: 150px;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 2px solid #cbd5e1;
    background: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 12;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.hours-header[b-e62zv8890q] {
    display: flex;
    flex: 1;
}

.hour-cell[b-e62zv8890q] {
    flex: 1;
    min-width: 60px;
    width: 60px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    border-right: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.calendar-timeline-body[b-e62zv8890q] {
    display: flex;
    flex-direction: column;
}

.car-row[b-e62zv8890q] {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    min-height: 80px;
    position: relative;
}

.car-row:hover[b-e62zv8890q] {
    background: #f8fafc;
}

.car-name[b-e62zv8890q] {
    min-width: 150px;
    width: 150px;
    padding: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #1e293b;
    border-right: 2px solid #cbd5e1;
    background: white;
    position: sticky;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.car-row:hover .car-name[b-e62zv8890q] {
    background: #f8fafc;
}

.hours-row[b-e62zv8890q] {
    display: flex;
    position: relative;
    min-height: 80px;
    flex: 1;
}

.hours-row[b-e62zv8890q]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.hours-row .hour-cell[b-e62zv8890q] {
    min-width: 60px;
    width: 60px;
    border-right: 1px solid #e2e8f0;
    position: relative;
    padding: 0;
}

/* Order Blocks */
.order-block[b-e62zv8890q] {
    position: absolute;
    top: 4px;
    bottom: 4px;
    border-radius: 0.25rem;
    border-left: 3px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 40px; /* Минимальная ширина для видимости */
}

.order-block:hover[b-e62zv8890q] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.order-content[b-e62zv8890q] {
    padding: 0.375rem 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.order-time[b-e62zv8890q] {
    font-weight: 600;
    font-size: 0.75rem;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.order-client[b-e62zv8890q] {
    font-weight: 500;
    font-size: 0.8125rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.125rem;
}

.order-address[b-e62zv8890q] {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Styles */

/* Small Mobile Devices (до 480px) */
@media (max-width: 480px) {
    .calendar-container[b-e62zv8890q] {
        border-radius: 0.5rem;
        margin: 0;
    }

    .calendar-header[b-e62zv8890q] {
        padding: 1rem;
    }

    .calendar-nav[b-e62zv8890q] {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .calendar-title[b-e62zv8890q] {
        font-size: 1.125rem;
        order: -1;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .btn-nav[b-e62zv8890q] {
        min-width: 2rem;
        height: 2rem;
        padding: 0.375rem;
    }

    .btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
        flex: 1;
    }

    .results-summary[b-e62zv8890q] {
        padding: 0.5rem 0.75rem;
        margin: 0.75rem;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-info[b-e62zv8890q] {
        width: 100%;
        justify-content: space-between;
    }

    .view-toggle[b-e62zv8890q] {
        width: 100%;
        justify-content: center;
    }

    .orders-list[b-e62zv8890q] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .order-card-header[b-e62zv8890q] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .order-card-body[b-e62zv8890q] {
        padding: 0.625rem 0.75rem;
    }

    .order-card-footer[b-e62zv8890q] {
        flex-direction: column;
        gap: 0.375rem;
        align-items: stretch;
        padding: 0.5rem 0.75rem;
    }

    .footer-actions[b-e62zv8890q] {
        width: 100%;
        justify-content: space-between;
    }

    .footer-actions .btn-compact[b-e62zv8890q] {
        flex: 1;
    }

    .order-hint[b-e62zv8890q] {
        text-align: center;
    }

    .earnings-table-container[b-e62zv8890q] {
        margin: 0.75rem;
        border-radius: 0.375rem;
    }

    .earnings-table[b-e62zv8890q] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-e62zv8890q],
    .earnings-table td[b-e62zv8890q] {
        padding: 0.5rem 0.625rem;
    }

    .client-cell[b-e62zv8890q],
    .address-cell[b-e62zv8890q] {
        max-width: 120px;
    }

    .empty-state[b-e62zv8890q] {
        padding: 1.5rem 0.75rem;
        margin: 0.75rem;
    }

    .empty-state-icon[b-e62zv8890q] {
        font-size: 2.5rem;
    }

    .empty-state h3[b-e62zv8890q] {
        font-size: 1.125rem;
    }

    .car-header[b-e62zv8890q], .car-name[b-e62zv8890q] {
        min-width: 80px;
        width: 80px;
        font-size: 0.6875rem;
        padding: 0.5rem 0.375rem;
    }

    /* Уменьшаем шрифт для маленьких экранов */
    .hour-cell[b-e62zv8890q],
    .hours-row .hour-cell[b-e62zv8890q] {
        font-size: 0.625rem;
        padding: 0.5rem 0.125rem;
        min-width: 40px;
        width: 40px;
    }

    .car-row[b-e62zv8890q] {
        min-height: 60px;
    }

    .hours-row[b-e62zv8890q] {
        min-height: 60px;
    }

    .order-block[b-e62zv8890q] {
        min-width: 30px;
    }

    .order-content[b-e62zv8890q] {
        padding: 0.25rem 0.25rem;
    }

    .order-time[b-e62zv8890q] {
        font-size: 0.5625rem;
    }

    .order-client[b-e62zv8890q] {
        font-size: 0.6875rem;
    }

    .order-address[b-e62zv8890q] {
        display: none; /* Скрываем адрес на маленьких экранах */
    }

    /* Date Picker на маленьких экранах */
    .date-picker[b-e62zv8890q] {
        padding: 1.5rem;
        min-width: auto;
        width: 90%;
        max-width: 320px;
    }

    .date-picker h3[b-e62zv8890q] {
        font-size: 1.125rem;
    }
}

/* Mobile & Small Tablets (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .calendar-header[b-e62zv8890q] {
        padding: 1.25rem;
    }

    .calendar-nav[b-e62zv8890q] {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .calendar-title[b-e62zv8890q] {
        font-size: 1.25rem;
        order: -1;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .btn-nav[b-e62zv8890q] {
        min-width: 2.25rem;
        height: 2.25rem;
    }

    .btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }

    .car-header[b-e62zv8890q], .car-name[b-e62zv8890q] {
        min-width: 100px;
        width: 100px;
        font-size: 0.75rem;
        padding: 0.625rem 0.5rem;
    }

    /* Стили для средних мобильных */
    .hour-cell[b-e62zv8890q],
    .hours-row .hour-cell[b-e62zv8890q] {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
        min-width: 50px;
        width: 50px;
    }

    .car-row[b-e62zv8890q] {
        min-height: 70px;
    }

    .hours-row[b-e62zv8890q] {
        min-height: 70px;
    }

    .order-content[b-e62zv8890q] {
        padding: 0.25rem 0.375rem;
    }

    .order-time[b-e62zv8890q] {
        font-size: 0.625rem;
    }

    .order-client[b-e62zv8890q] {
        font-size: 0.75rem;
    }

    .order-address[b-e62zv8890q] {
        font-size: 0.625rem;
    }

    .date-picker[b-e62zv8890q] {
        padding: 1.75rem;
        min-width: 320px;
    }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .calendar-header[b-e62zv8890q] {
        padding: 1.375rem;
    }

    .calendar-title[b-e62zv8890q] {
        font-size: 1.375rem;
    }

    .btn-nav[b-e62zv8890q] {
        min-width: 2.375rem;
        height: 2.375rem;
    }

    .btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }

    .car-header[b-e62zv8890q], .car-name[b-e62zv8890q] {
        min-width: 130px;
        width: 130px;
        font-size: 0.8125rem;
    }

    /* Стили для планшетов */
    .hour-cell[b-e62zv8890q],
    .hours-row .hour-cell[b-e62zv8890q] {
        font-size: 0.8125rem;
        padding: 0.625rem 0.375rem;
        min-width: 55px;
        width: 55px;
    }

    .order-time[b-e62zv8890q] {
        font-size: 0.6875rem;
    }

    .order-client[b-e62zv8890q] {
        font-size: 0.8125rem;
    }

    .order-address[b-e62zv8890q] {
        font-size: 0.6875rem;
    }
}

/* Large Tablets & Small Desktops (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .car-header[b-e62zv8890q], .car-name[b-e62zv8890q] {
        min-width: 140px;
        width: 140px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем размеры кнопок для сенсорных устройств */
    .btn-nav[b-e62zv8890q] {
        min-width: 2.75rem;
        height: 2.75rem;
    }

    .btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
        padding: 0.625rem 1rem;
        min-height: 2.75rem;
    }

    .order-block[b-e62zv8890q] {
        min-width: 50px; /* Больше минимальная ширина для touch */
    }

    /* Убираем hover эффекты на touch устройствах */
    .order-block:hover[b-e62zv8890q] {
        transform: none;
    }

    .btn-nav:hover[b-e62zv8890q] {
        background: white;
        border-color: #e2e8f0;
    }
}

/* Landscape Orientation для мобильных устройств */
@media (max-width: 767px) and (orientation: landscape) {
    .calendar-header[b-e62zv8890q] {
        padding: 0.75rem 1rem;
    }

    .calendar-title[b-e62zv8890q] {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .btn-nav[b-e62zv8890q] {
        min-width: 2rem;
        height: 2rem;
    }

    .car-header[b-e62zv8890q], .car-name[b-e62zv8890q] {
        min-width: 90px;
        width: 90px;
    }

    /* Стили в landscape режиме */
    .hour-cell[b-e62zv8890q],
    .hours-row .hour-cell[b-e62zv8890q] {
        padding: 0.375rem 0.125rem;
    }

    .car-row[b-e62zv8890q] {
        min-height: 50px;
    }

    .hours-row[b-e62zv8890q] {
        min-height: 50px;
    }

    .order-content[b-e62zv8890q] {
        padding: 0.125rem 0.25rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .order-block[b-e62zv8890q] {
        border-left-width: 4px; /* Более толстая граница на retina экранах */
    }
}

/* Results Summary */
.results-summary[b-e62zv8890q] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    margin: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-info[b-e62zv8890q] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-summary strong[b-e62zv8890q] {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

/* View Toggle */
.view-toggle[b-e62zv8890q] {
    display: flex;
    gap: 0.25rem;
    background: white;
    border-radius: 0.375rem;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
}

.view-toggle-btn[b-e62zv8890q] {
    padding: 0.375rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.view-toggle-btn .icon[b-e62zv8890q] {
    font-size: 1rem;
    line-height: 1;
}

.view-toggle-btn:hover[b-e62zv8890q] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-toggle-btn.active[b-e62zv8890q] {
    background: #3b82f6;
    color: white;
}

.view-toggle-btn.active:hover[b-e62zv8890q] {
    background: #2563eb;
}

/* Orders List */
.orders-list[b-e62zv8890q] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Order Card */
.order-card[b-e62zv8890q] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-card:hover[b-e62zv8890q] {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.15), 0 2px 4px -1px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.order-card-header[b-e62zv8890q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.order-id[b-e62zv8890q] {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.order-label[b-e62zv8890q] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.order-number[b-e62zv8890q] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Order Status Badge */
.order-status[b-e62zv8890q] {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-created[b-e62zv8890q] {
    background: #f3f4f6;
    color: #374151;
}

.status-approvedwithemployers[b-e62zv8890q] {
    background: #dbeafe;
    color: #1e40af;
}

.status-processing[b-e62zv8890q] {
    background: #fef3c7;
    color: #92400e;
}

.status-finished[b-e62zv8890q] {
    background: #d1fae5;
    color: #065f46;
}

.status-creatinginvoice[b-e62zv8890q] {
    background: #e0e7ff;
    color: #3730a3;
}

.status-awaitingpayment[b-e62zv8890q] {
    background: #fce7f3;
    color: #831843;
}

.status-sendingpayment[b-e62zv8890q] {
    background: #cffafe;
    color: #0e7490;
}

.status-closed[b-e62zv8890q] {
    background: #f3f4f6;
    color: #6b7280;
}

/* Order Card Body */
.order-card-body[b-e62zv8890q] {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.order-info-row[b-e62zv8890q] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-info-item[b-e62zv8890q] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label[b-e62zv8890q] {
    font-size: 0.625rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.info-value[b-e62zv8890q] {
    font-size: 0.8125rem;
    color: #1e293b;
    font-weight: 500;
}

.info-value.price[b-e62zv8890q] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #059669;
}

/* Order Services */
.order-services[b-e62zv8890q] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.services-tags[b-e62zv8890q] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.service-tag[b-e62zv8890q] {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

/* Order Card Footer */
.order-card-footer[b-e62zv8890q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-actions[b-e62zv8890q] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.order-hint[b-e62zv8890q] {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-style: italic;
}

/* Empty State */
.empty-state[b-e62zv8890q] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #cbd5e1;
    margin: 1rem;
}

.empty-state-icon[b-e62zv8890q] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3[b-e62zv8890q] {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p[b-e62zv8890q] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Orders Table */
.earnings-table-container[b-e62zv8890q] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.earnings-table[b-e62zv8890q] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.earnings-table thead[b-e62zv8890q] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.earnings-table th[b-e62zv8890q] {
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.earnings-table tbody tr[b-e62zv8890q] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.earnings-table tbody tr:hover[b-e62zv8890q] {
    background: #f8fafc;
}

.earnings-table tbody tr:last-child[b-e62zv8890q] {
    border-bottom: none;
}

.earnings-table td[b-e62zv8890q] {
    padding: 0.75rem 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.order-id-cell[b-e62zv8890q] {
    font-weight: 700;
    color: #3b82f6;
}

.client-cell[b-e62zv8890q] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.address-cell[b-e62zv8890q] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
}

.date-cell[b-e62zv8890q] {
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
}

.price-cell[b-e62zv8890q] {
    text-align: right;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.payment-cell[b-e62zv8890q] {
    font-size: 0.8125rem;
    color: #64748b;
}

.status-cell[b-e62zv8890q] {
    text-align: center;
}

.services-cell[b-e62zv8890q] {
    max-width: 200px;
}

.services-tags-compact[b-e62zv8890q] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.service-tag-small[b-e62zv8890q] {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.service-tag-small.more[b-e62zv8890q] {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #64748b;
    border-color: #cbd5e1;
}

.empty-description[b-e62zv8890q] {
    color: #cbd5e1;
}

.action-cell[b-e62zv8890q] {
    text-align: right;
}

.action-buttons[b-e62zv8890q] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-compact[b-e62zv8890q] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Print Styles */
@media print {
    .calendar-container[b-e62zv8890q] {
        box-shadow: none;
        border: 1px solid #000;
    }

    .btn-nav[b-e62zv8890q], .btn-today[b-e62zv8890q], .btn-date[b-e62zv8890q] {
        display: none;
    }

    .order-block[b-e62zv8890q] {
        box-shadow: none;
        border: 1px solid #000;
    }

    .calendar-timeline[b-e62zv8890q] {
        overflow: visible;
    }

    .view-toggle[b-e62zv8890q],
    .order-card-footer[b-e62zv8890q],
    .btn-primary[b-e62zv8890q] {
        display: none;
    }
}
/* /Components/TopErrorAlert.razor.rz.scp.css */
.top-alert[b-o9gyyaj2tg] {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(220, 53, 69, 0.9); /* красный полупрозрачный */
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    font-size: 0.9rem;
}

.top-alert-text[b-o9gyyaj2tg] {
    margin-right: 4px;
}

.top-alert-close[b-o9gyyaj2tg] {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}


/* /Components/TopInfoAlert.razor.rz.scp.css */
.top-info-alert[b-td1mrnk9ox] {
    position: fixed;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(40, 167, 69, 0.9); /* зеленый полупрозрачный */
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    font-size: 0.9rem;
}

.top-info-alert-text[b-td1mrnk9ox] {
    margin-right: 4px;
}

.top-info-alert-close[b-td1mrnk9ox] {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}


/* /Pages/DispetcherEarnings.razor.rz.scp.css */
/* Base Button Styles */
.btn-primary[b-zrj9u95i11] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-primary:hover[b-zrj9u95i11] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:active[b-zrj9u95i11] {
    transform: translateY(0);
}

.btn-secondary[b-zrj9u95i11] {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-secondary:hover[b-zrj9u95i11] {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active[b-zrj9u95i11] {
    transform: translateY(0);
}

/* Form Control */
.form-control[b-zrj9u95i11] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus[b-zrj9u95i11] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control[b-zrj9u95i11]::placeholder {
    color: #94a3b8;
}

/* Employee Earnings Container */
.employee-earnings-container[b-zrj9u95i11] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Page Header */
.page-header[b-zrj9u95i11] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.header-content h1[b-zrj9u95i11] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.header-content p[b-zrj9u95i11] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* Loading */
.loading[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.loading p[b-zrj9u95i11] {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.spinner[b-zrj9u95i11] {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-zrj9u95i11 0.8s linear infinite;
}

/* Filters Section */
.filters-section[b-zrj9u95i11] {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.filters-header[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.filters-header h3[b-zrj9u95i11] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.filters-header h3[b-zrj9u95i11]::before {
    content: '🔍';
    font-size: 1rem;
}

.filters-grid[b-zrj9u95i11] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.filter-group[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
}

.filter-group label[b-zrj9u95i11] {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-compact[b-zrj9u95i11] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Active Filters Display */
.active-filters[b-zrj9u95i11] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.active-filters-label[b-zrj9u95i11] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.375rem;
    display: block;
}

.active-filters-list[b-zrj9u95i11] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.filter-tag[b-zrj9u95i11] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
}

.filter-tag button[b-zrj9u95i11] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag button:hover[b-zrj9u95i11] {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Results Summary */
.results-summary[b-zrj9u95i11] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-info[b-zrj9u95i11] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-summary strong[b-zrj9u95i11] {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

.total-earnings[b-zrj9u95i11] {
    font-weight: 600;
}

.total-earnings strong[b-zrj9u95i11] {
    color: #059669;
    font-size: 1rem;
}

/* View Toggle */
.view-toggle[b-zrj9u95i11] {
    display: flex;
    gap: 0.25rem;
    background: white;
    border-radius: 0.375rem;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
}

.view-toggle-btn[b-zrj9u95i11] {
    padding: 0.375rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.view-toggle-btn .icon[b-zrj9u95i11] {
    font-size: 1rem;
    line-height: 1;
}

.view-toggle-btn:hover[b-zrj9u95i11] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-toggle-btn.active[b-zrj9u95i11] {
    background: #3b82f6;
    color: white;
}

.view-toggle-btn.active:hover[b-zrj9u95i11] {
    background: #2563eb;
}

/* Earnings List */
.earnings-list[b-zrj9u95i11] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

/* Earning Card */
.earning-card[b-zrj9u95i11] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earning-card:hover[b-zrj9u95i11] {
    border-color: #059669;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.15), 0 2px 4px -1px rgba(5, 150, 105, 0.1);
    transform: translateY(-1px);
}

.earning-card-header[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.875rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid #bbf7d0;
}

.earning-employee[b-zrj9u95i11] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.employee-icon[b-zrj9u95i11] {
    font-size: 1.25rem;
}

.employee-name[b-zrj9u95i11] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.earning-amount[b-zrj9u95i11] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    padding: 0.25rem 0.625rem;
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #bbf7d0;
}

/* Earning Card Body */
.earning-card-body[b-zrj9u95i11] {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.earning-info-row[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.earning-info-item[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label[b-zrj9u95i11] {
    font-size: 0.625rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.info-value[b-zrj9u95i11] {
    font-size: 0.8125rem;
    color: #1e293b;
    font-weight: 500;
}

.info-value.price[b-zrj9u95i11] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #059669;
}

.earning-description[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

/* Earning Card Footer */
.earning-card-footer[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.btn-edit-card[b-zrj9u95i11] {
    background: white;
    border: 1px solid #e5e7eb;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    flex: 1;
}

.btn-edit-card:hover[b-zrj9u95i11] {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-open-order[b-zrj9u95i11] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
}

.btn-open-order:hover[b-zrj9u95i11] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(37, 99, 235, 0.3);
}

/* Empty State */
.empty-state[b-zrj9u95i11] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #cbd5e1;
}

.empty-state-icon[b-zrj9u95i11] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3[b-zrj9u95i11] {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p[b-zrj9u95i11] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .earnings-list[b-zrj9u95i11] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .employee-earnings-container[b-zrj9u95i11] {
        padding: 0;
    }

    .filters-section[b-zrj9u95i11] {
        border-radius: 0.375rem;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .filters-grid[b-zrj9u95i11] {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .dropdown-menu[b-zrj9u95i11] {
        max-height: 280px;
    }

    .filters-header[b-zrj9u95i11] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .earnings-list[b-zrj9u95i11] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .earning-card-header[b-zrj9u95i11] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .earning-amount[b-zrj9u95i11] {
        align-self: flex-end;
    }

    .earning-card-body[b-zrj9u95i11] {
        padding: 0.625rem 0.75rem;
    }

    .earning-card-footer[b-zrj9u95i11] {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .btn-edit-card[b-zrj9u95i11] {
        height: 2rem;
        padding: 0.375rem;
        font-size: 0.875rem;
    }

    .btn-open-order[b-zrj9u95i11] {
        font-size: 0.75rem;
        padding: 0.4375rem 0.875rem;
        height: 2rem;
    }

    .results-summary[b-zrj9u95i11] {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-info[b-zrj9u95i11] {
        width: 100%;
        justify-content: space-between;
    }

    .view-toggle[b-zrj9u95i11] {
        width: 100%;
        justify-content: center;
    }

    .active-filters[b-zrj9u95i11] {
        margin-top: 0.75rem;
    }

    .active-filters-list[b-zrj9u95i11] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tag[b-zrj9u95i11] {
        justify-content: space-between;
    }

    /* Table responsive behavior */
    .earnings-table-container[b-zrj9u95i11] {
        border-radius: 0.375rem;
    }

    .earnings-table[b-zrj9u95i11] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-zrj9u95i11],
    .earnings-table td[b-zrj9u95i11] {
        padding: 0.5rem 0.625rem;
    }

    .client-cell[b-zrj9u95i11],
    .service-cell[b-zrj9u95i11] {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .employee-name[b-zrj9u95i11] {
        font-size: 0.875rem;
    }

    .earning-amount[b-zrj9u95i11] {
        font-size: 1rem;
        padding: 0.1875rem 0.5rem;
    }

    .btn-edit-card[b-zrj9u95i11] {
        height: 1.875rem;
        font-size: 0.875rem;
        padding: 0.25rem;
    }

    .btn-open-order[b-zrj9u95i11] {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
        height: 1.875rem;
    }

    .empty-state[b-zrj9u95i11] {
        padding: 1.5rem 0.75rem;
    }

    .empty-state-icon[b-zrj9u95i11] {
        font-size: 2.5rem;
    }

    .empty-state h3[b-zrj9u95i11] {
        font-size: 1.125rem;
    }
}

/* Custom Dropdown */
.custom-dropdown[b-zrj9u95i11] {
    position: relative;
    width: 100%;
}

.dropdown-toggle[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: white;
}

.dropdown-toggle:hover[b-zrj9u95i11] {
    border-color: #cbd5e1;
}

.dropdown-text[b-zrj9u95i11] {
    flex: 1;
    color: #374151;
    font-size: 0.875rem;
}

.dropdown-arrow[b-zrj9u95i11] {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.custom-dropdown:has(.dropdown-menu) .dropdown-arrow[b-zrj9u95i11] {
    transform: rotate(180deg);
}

.dropdown-menu[b-zrj9u95i11] {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.dropdown-search[b-zrj9u95i11] {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-search .form-control[b-zrj9u95i11] {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
}

.dropdown-items[b-zrj9u95i11] {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem;
}

.dropdown-item-checkbox[b-zrj9u95i11] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    user-select: none;
}

.dropdown-item-checkbox:hover[b-zrj9u95i11] {
    background: #f1f5f9;
}

.dropdown-item-checkbox input[type="checkbox"][b-zrj9u95i11] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.dropdown-item-checkbox span[b-zrj9u95i11] {
    font-size: 0.8125rem;
    color: #374151;
    font-weight: 500;
}

.dropdown-footer[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.dropdown-footer .btn-compact[b-zrj9u95i11] {
    flex: 1;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.dropdown-empty[b-zrj9u95i11] {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-style: italic;
}

/* Scrollbar for dropdown items */
.dropdown-items[b-zrj9u95i11]::-webkit-scrollbar {
    width: 6px;
}

.dropdown-items[b-zrj9u95i11]::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 3px;
}

.dropdown-items[b-zrj9u95i11]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-items[b-zrj9u95i11]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Earnings Table */
.earnings-table-container[b-zrj9u95i11] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earnings-table[b-zrj9u95i11] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.earnings-table thead[b-zrj9u95i11] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.earnings-table th[b-zrj9u95i11] {
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.earnings-table tbody tr[b-zrj9u95i11] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.earnings-table tbody tr:hover[b-zrj9u95i11] {
    background: #f8fafc;
}

.earnings-table tbody tr:last-child[b-zrj9u95i11] {
    border-bottom: none;
}

.earnings-table td[b-zrj9u95i11] {
    padding: 0.75rem 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.employee-cell[b-zrj9u95i11] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.employee-icon[b-zrj9u95i11] {
    font-size: 1rem;
}

.client-cell[b-zrj9u95i11] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-cell[b-zrj9u95i11] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volume-cell[b-zrj9u95i11] {
    text-align: right;
}

.price-cell[b-zrj9u95i11] {
    text-align: right;
    font-weight: 600;
    color: #059669;
}

.percent-cell[b-zrj9u95i11] {
    text-align: right;
    font-weight: 600;
}

.earning-cell[b-zrj9u95i11] {
    text-align: right;
    font-weight: 700;
    color: #059669;
    font-size: 0.9375rem;
}

.date-range-cell[b-zrj9u95i11] {
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
    min-width: 250px;
}

.description-cell[b-zrj9u95i11] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #475569;
}

.empty-description[b-zrj9u95i11] {
    color: #cbd5e1;
}

.action-cell[b-zrj9u95i11] {
    text-align: right;
}

/* Action Buttons */
.action-buttons[b-zrj9u95i11] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-icon[b-zrj9u95i11] {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.btn-icon:hover[b-zrj9u95i11] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-edit:hover[b-zrj9u95i11] {
    background: #dbeafe;
    border-color: #3b82f6;
}

/* Modal Overlay */
.modal-overlay[b-zrj9u95i11] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(4px);
    animation: fadeIn-b-zrj9u95i11 0.2s ease;
}

@keyframes fadeIn-b-zrj9u95i11 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Content */
.modal-content[b-zrj9u95i11] {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-zrj9u95i11 0.3s ease;
}

@keyframes slideIn-b-zrj9u95i11 {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.75rem 0.75rem 0 0;
}

.modal-header h2[b-zrj9u95i11] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.modal-close[b-zrj9u95i11] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.modal-close:hover[b-zrj9u95i11] {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body[b-zrj9u95i11] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Edit Info Section */
.edit-info-section[b-zrj9u95i11] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.edit-info-row[b-zrj9u95i11] {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
}

.edit-info-row:not(:last-child)[b-zrj9u95i11] {
    border-bottom: 1px solid rgba(187, 247, 208, 0.5);
}

.edit-info-label[b-zrj9u95i11] {
    font-size: 0.875rem;
    color: #047857;
    font-weight: 600;
}

.edit-info-value[b-zrj9u95i11] {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 500;
    text-align: right;
}

/* Form Section */
.form-section[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group[b-zrj9u95i11] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-zrj9u95i11] {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group textarea[b-zrj9u95i11] {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Error Message */
.error-message[b-zrj9u95i11] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer[b-zrj9u95i11] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 0.75rem 0.75rem;
}

.modal-footer button[b-zrj9u95i11] {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.modal-footer button:disabled[b-zrj9u95i11] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner Small */
.spinner-small[b-zrj9u95i11] {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-zrj9u95i11 0.6s linear infinite;
}

@keyframes spin-b-zrj9u95i11 {
    to {
        transform: rotate(360deg);
    }
}

/* Print styles */
@media print {
    .filters-section[b-zrj9u95i11],
    .earning-card-footer[b-zrj9u95i11],
    .view-toggle[b-zrj9u95i11],
    .btn-primary[b-zrj9u95i11],
    .modal-overlay[b-zrj9u95i11] {
        display: none;
    }

    .earning-card[b-zrj9u95i11] {
        page-break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }

    .earnings-list[b-zrj9u95i11] {
        display: block;
    }

    .earning-card[b-zrj9u95i11] {
        margin-bottom: 1rem;
    }

    .earnings-table[b-zrj9u95i11] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-zrj9u95i11],
    .earnings-table td[b-zrj9u95i11] {
        padding: 0.375rem 0.5rem;
    }
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content[b-zrj9u95i11] {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header[b-zrj9u95i11],
    .modal-footer[b-zrj9u95i11] {
        border-radius: 0;
    }

    .modal-body[b-zrj9u95i11] {
        padding: 1rem;
    }

    .modal-footer[b-zrj9u95i11] {
        flex-direction: column;
    }

    .modal-footer button[b-zrj9u95i11] {
        width: 100%;
        justify-content: center;
    }

    .footer-actions[b-zrj9u95i11] {
        flex-direction: column;
    }

    .footer-actions .btn-compact[b-zrj9u95i11] {
        width: 100%;
    }

    .action-buttons[b-zrj9u95i11] {
        flex-wrap: wrap;
    }
}
/* /Pages/EarningAnalisys.razor.rz.scp.css */
.earning-analytics-container[b-83avejb90h] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Tabs */
.tabs-container[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.tab-button[b-83avejb90h] {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    white-space: nowrap;
    text-align: center;
}

.tab-button:hover[b-83avejb90h] {
    background: #f1f5f9;
    color: #3b82f6;
}

.tab-button.active[b-83avejb90h] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.tab-content[b-83avejb90h] {
    animation: fadeIn-b-83avejb90h 0.3s ease-in-out;
}

@keyframes fadeIn-b-83avejb90h {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.page-header[b-83avejb90h] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.header-content h1[b-83avejb90h] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.header-content p[b-83avejb90h] {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}

/* Filters Section */
.filters-section[b-83avejb90h] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.filters-header[b-83avejb90h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filters-header h3[b-83avejb90h] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.filters-grid[b-83avejb90h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.filter-group[b-83avejb90h] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label[b-83avejb90h] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.filter-group .checkbox-label[b-83avejb90h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.filter-group .checkbox-label input[type="checkbox"][b-83avejb90h] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #3b82f6;
}

.filter-group .checkbox-label span[b-83avejb90h] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    user-select: none;
}

/* View Toggle */
.view-toggle[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    width: fit-content;
}

.btn-toggle[b-83avejb90h] {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-toggle:hover[b-83avejb90h] {
    background: #f1f5f9;
    color: #3b82f6;
}

.btn-toggle.active[b-83avejb90h] {
    background: #3b82f6;
    color: white;
}

/* Loading */
.loading-container[b-83avejb90h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.spinner[b-83avejb90h] {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-83avejb90h 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-83avejb90h {
    to {
        transform: rotate(360deg);
    }
}

.loading-container p[b-83avejb90h] {
    color: #64748b;
    font-size: 0.875rem;
}

/* Analytics Tables */
.analytics-tables[b-83avejb90h] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analytics-section[b-83avejb90h] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.section-title[b-83avejb90h] {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.table-container[b-83avejb90h] {
    overflow-x: auto;
}

.analytics-table[b-83avejb90h] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.analytics-table thead[b-83avejb90h] {
    background: #f8fafc;
}

.analytics-table th[b-83avejb90h] {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.analytics-table td[b-83avejb90h] {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1e293b;
}

.analytics-table tbody tr:hover[b-83avejb90h] {
    background: #f8fafc;
}

.analytics-table tfoot[b-83avejb90h] {
    background: #f8fafc;
    font-weight: 600;
}

.analytics-table tfoot td[b-83avejb90h] {
    border-top: 2px solid #e5e7eb;
    color: #1e293b;
}

.amount[b-83avejb90h] {
    text-align: left;
    font-variant-numeric: tabular-nums;
}

/* Charts */
.analytics-charts[b-83avejb90h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.chart-section[b-83avejb90h] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.chart-container[b-83avejb90h] {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}

/* Empty State */
.empty-state[b-83avejb90h] {
    background: white;
    border-radius: 0.5rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.empty-state p[b-83avejb90h] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Custom Dropdown */
.custom-dropdown[b-83avejb90h] {
    position: relative;
}

.dropdown-toggle[b-83avejb90h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    text-align: left;
}

.dropdown-text[b-83avejb90h] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow[b-83avejb90h] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.dropdown-menu[b-83avejb90h] {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 300px;
    display: flex;
    flex-direction: column;
}

.dropdown-items[b-83avejb90h] {
    overflow-y: auto;
    padding: 0.5rem 0;
    max-height: 200px;
}

.dropdown-item-checkbox[b-83avejb90h] {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
    gap: 0.5rem;
    transition: background-color 0.15s;
}

.dropdown-item-checkbox:hover[b-83avejb90h] {
    background-color: #f8fafc;
}

.dropdown-item-checkbox input[type="checkbox"][b-83avejb90h] {
    cursor: pointer;
    width: 1rem;
    height: 1rem;
}

.dropdown-item-checkbox span[b-83avejb90h] {
    flex: 1;
    font-size: 0.875rem;
    color: #1e293b;
}

.dropdown-footer[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.btn-compact[b-83avejb90h] {
    padding: 0.375rem 0.75rem;
    font-size: 0.813rem;
}

/* View Toggle */
.view-toggle[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.btn-toggle[b-83avejb90h] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-toggle:hover[b-83avejb90h] {
    background: #f1f5f9;
    color: #3b82f6;
}

.btn-toggle.active[b-83avejb90h] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Chart Type Toggle */
.chart-type-toggle[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.btn-chart-type[b-83avejb90h] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-chart-type:hover[b-83avejb90h] {
    background: #f1f5f9;
    color: #10b981;
}

.btn-chart-type.active[b-83avejb90h] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Period Analytics Section */
.period-analytics-section[b-83avejb90h] {
    margin-top: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.section-header[b-83avejb90h] {
    margin-bottom: 1.5rem;
}

.section-header .section-title[b-83avejb90h] {
    margin: 0;
    color: #1e293b;
}

.period-tabs[b-83avejb90h] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.period-tab[b-83avejb90h] {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.period-tab:hover[b-83avejb90h] {
    background: #e2e8f0;
    color: #10b981;
}

.period-tab.active[b-83avejb90h] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.period-data-container[b-83avejb90h] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.subsection-title[b-83avejb90h] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .tabs-container[b-83avejb90h] {
        gap: 0.375rem;
    }

    .tab-button[b-83avejb90h] {
        min-width: 120px;
        padding: 0.625rem 0.75rem;
        font-size: 0.813rem;
    }
}

@media (max-width: 768px) {
    .earning-analytics-container[b-83avejb90h] {
        padding: 0 1rem;
    }

    .tabs-container[b-83avejb90h] {
        gap: 0.5rem;
        padding: 0.375rem;
    }

    .tab-button[b-83avejb90h] {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .filters-grid[b-83avejb90h] {
        grid-template-columns: 1fr;
    }

    .analytics-charts[b-83avejb90h] {
        grid-template-columns: 1fr;
    }

    .chart-container[b-83avejb90h] {
        height: 250px;
    }

    .table-container[b-83avejb90h] {
        overflow-x: scroll;
    }

    .analytics-table[b-83avejb90h] {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .tabs-container[b-83avejb90h] {
        gap: 0.375rem;
        padding: 0.25rem;
    }

    .tab-button[b-83avejb90h] {
        flex: 1 1 100%;
        min-width: 0;
        padding: 0.5rem 0.375rem;
        font-size: 0.75rem;
    }

    .page-header[b-83avejb90h] {
        padding: 1rem;
    }

    .filters-section[b-83avejb90h] {
        padding: 1rem;
    }

    .analytics-section[b-83avejb90h] {
        padding: 1rem;
    }

    .chart-section[b-83avejb90h] {
        padding: 1rem;
    }

    .header-content h1[b-83avejb90h] {
        font-size: 1.5rem;
    }
}

/* /Pages/EmployeeEarnings.razor.rz.scp.css */
/* Base Button Styles */
.btn-primary[b-1a851bauph] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-primary:hover[b-1a851bauph] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:active[b-1a851bauph] {
    transform: translateY(0);
}

.btn-secondary[b-1a851bauph] {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-secondary:hover[b-1a851bauph] {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active[b-1a851bauph] {
    transform: translateY(0);
}

/* Form Control */
.form-control[b-1a851bauph] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus[b-1a851bauph] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control[b-1a851bauph]::placeholder {
    color: #94a3b8;
}

/* Employee Earnings Container */
.employee-earnings-container[b-1a851bauph] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Page Header */
.page-header[b-1a851bauph] {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.header-content h1[b-1a851bauph] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.header-content p[b-1a851bauph] {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* Loading */
.loading[b-1a851bauph] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.loading p[b-1a851bauph] {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.spinner[b-1a851bauph] {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-1a851bauph 0.8s linear infinite;
}

/* Filters Section */
.filters-section[b-1a851bauph] {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.filters-header[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.filters-header h3[b-1a851bauph] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.filters-header h3[b-1a851bauph]::before {
    content: '🔍';
    font-size: 1rem;
}

.filters-grid[b-1a851bauph] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.filter-group[b-1a851bauph] {
    display: flex;
    flex-direction: column;
}

.filter-group label[b-1a851bauph] {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-compact[b-1a851bauph] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Active Filters Display */
.active-filters[b-1a851bauph] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.active-filters-label[b-1a851bauph] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.375rem;
    display: block;
}

.active-filters-list[b-1a851bauph] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.filter-tag[b-1a851bauph] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
}

.filter-tag button[b-1a851bauph] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag button:hover[b-1a851bauph] {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Results Summary */
.results-summary[b-1a851bauph] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-info[b-1a851bauph] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-summary strong[b-1a851bauph] {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

.total-earnings[b-1a851bauph] {
    font-weight: 600;
}

.total-earnings strong[b-1a851bauph] {
    color: #059669;
    font-size: 1rem;
}

/* View Toggle */
.view-toggle[b-1a851bauph] {
    display: flex;
    gap: 0.25rem;
    background: white;
    border-radius: 0.375rem;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
}

.view-toggle-btn[b-1a851bauph] {
    padding: 0.375rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.view-toggle-btn .icon[b-1a851bauph] {
    font-size: 1rem;
    line-height: 1;
}

.view-toggle-btn:hover[b-1a851bauph] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-toggle-btn.active[b-1a851bauph] {
    background: #3b82f6;
    color: white;
}

.view-toggle-btn.active:hover[b-1a851bauph] {
    background: #2563eb;
}

/* Earnings List */
.earnings-list[b-1a851bauph] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

/* Earning Card */
.earning-card[b-1a851bauph] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earning-card:hover[b-1a851bauph] {
    border-color: #059669;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.15), 0 2px 4px -1px rgba(5, 150, 105, 0.1);
    transform: translateY(-1px);
}

.earning-card-header[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.875rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid #bbf7d0;
}

.earning-employee[b-1a851bauph] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.employee-icon[b-1a851bauph] {
    font-size: 1.25rem;
}

.employee-name[b-1a851bauph] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.earning-amount[b-1a851bauph] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    padding: 0.25rem 0.625rem;
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #bbf7d0;
}

/* Earning Card Body */
.earning-card-body[b-1a851bauph] {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.earning-info-row[b-1a851bauph] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.earning-info-item[b-1a851bauph] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label[b-1a851bauph] {
    font-size: 0.625rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.info-value[b-1a851bauph] {
    font-size: 0.8125rem;
    color: #1e293b;
    font-weight: 500;
}

.info-value.price[b-1a851bauph] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #059669;
}

.earning-description[b-1a851bauph] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

/* Earning Card Footer */
.earning-card-footer[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.btn-edit-card[b-1a851bauph] {
    background: white;
    border: 1px solid #e5e7eb;
    color: #64748b;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    flex: 1;
}

.btn-edit-card:hover[b-1a851bauph] {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-open-order[b-1a851bauph] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
}

.btn-open-order:hover[b-1a851bauph] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(37, 99, 235, 0.3);
}

/* Empty State */
.empty-state[b-1a851bauph] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #cbd5e1;
}

.empty-state-icon[b-1a851bauph] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3[b-1a851bauph] {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p[b-1a851bauph] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .earnings-list[b-1a851bauph] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .employee-earnings-container[b-1a851bauph] {
        padding: 0;
    }

    .filters-section[b-1a851bauph] {
        border-radius: 0.375rem;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .filters-grid[b-1a851bauph] {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .dropdown-menu[b-1a851bauph] {
        max-height: 280px;
    }

    .filters-header[b-1a851bauph] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .earnings-list[b-1a851bauph] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .earning-card-header[b-1a851bauph] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .earning-amount[b-1a851bauph] {
        align-self: flex-end;
    }

    .earning-card-body[b-1a851bauph] {
        padding: 0.625rem 0.75rem;
    }

    .earning-card-footer[b-1a851bauph] {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .btn-edit-card[b-1a851bauph] {
        height: 2rem;
        padding: 0.375rem;
        font-size: 0.875rem;
    }

    .btn-open-order[b-1a851bauph] {
        font-size: 0.75rem;
        padding: 0.4375rem 0.875rem;
        height: 2rem;
    }

    .results-summary[b-1a851bauph] {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-info[b-1a851bauph] {
        width: 100%;
        justify-content: space-between;
    }

    .view-toggle[b-1a851bauph] {
        width: 100%;
        justify-content: center;
    }

    .active-filters[b-1a851bauph] {
        margin-top: 0.75rem;
    }

    .active-filters-list[b-1a851bauph] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tag[b-1a851bauph] {
        justify-content: space-between;
    }

    /* Table responsive behavior */
    .earnings-table-container[b-1a851bauph] {
        border-radius: 0.375rem;
    }

    .earnings-table[b-1a851bauph] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-1a851bauph],
    .earnings-table td[b-1a851bauph] {
        padding: 0.5rem 0.625rem;
    }

    .client-cell[b-1a851bauph],
    .service-cell[b-1a851bauph] {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .employee-name[b-1a851bauph] {
        font-size: 0.875rem;
    }

    .earning-amount[b-1a851bauph] {
        font-size: 1rem;
        padding: 0.1875rem 0.5rem;
    }

    .btn-edit-card[b-1a851bauph] {
        height: 1.875rem;
        font-size: 0.875rem;
        padding: 0.25rem;
    }

    .btn-open-order[b-1a851bauph] {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
        height: 1.875rem;
    }

    .empty-state[b-1a851bauph] {
        padding: 1.5rem 0.75rem;
    }

    .empty-state-icon[b-1a851bauph] {
        font-size: 2.5rem;
    }

    .empty-state h3[b-1a851bauph] {
        font-size: 1.125rem;
    }
}

/* Custom Dropdown */
.custom-dropdown[b-1a851bauph] {
    position: relative;
    width: 100%;
}

.dropdown-toggle[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: white;
}

.dropdown-toggle:hover[b-1a851bauph] {
    border-color: #cbd5e1;
}

.dropdown-text[b-1a851bauph] {
    flex: 1;
    color: #374151;
    font-size: 0.875rem;
}

.dropdown-arrow[b-1a851bauph] {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.custom-dropdown:has(.dropdown-menu) .dropdown-arrow[b-1a851bauph] {
    transform: rotate(180deg);
}

.dropdown-menu[b-1a851bauph] {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.dropdown-search[b-1a851bauph] {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-search .form-control[b-1a851bauph] {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
}

.dropdown-items[b-1a851bauph] {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem;
}

.dropdown-item-checkbox[b-1a851bauph] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    user-select: none;
}

.dropdown-item-checkbox:hover[b-1a851bauph] {
    background: #f1f5f9;
}

.dropdown-item-checkbox input[type="checkbox"][b-1a851bauph] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.dropdown-item-checkbox span[b-1a851bauph] {
    font-size: 0.8125rem;
    color: #374151;
    font-weight: 500;
}

.dropdown-footer[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.dropdown-footer .btn-compact[b-1a851bauph] {
    flex: 1;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.dropdown-empty[b-1a851bauph] {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-style: italic;
}

/* Scrollbar for dropdown items */
.dropdown-items[b-1a851bauph]::-webkit-scrollbar {
    width: 6px;
}

.dropdown-items[b-1a851bauph]::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 3px;
}

.dropdown-items[b-1a851bauph]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-items[b-1a851bauph]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Earnings Table */
.earnings-table-container[b-1a851bauph] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earnings-table[b-1a851bauph] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.earnings-table thead[b-1a851bauph] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.earnings-table th[b-1a851bauph] {
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.earnings-table tbody tr[b-1a851bauph] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.earnings-table tbody tr:hover[b-1a851bauph] {
    background: #f8fafc;
}

.earnings-table tbody tr:last-child[b-1a851bauph] {
    border-bottom: none;
}

.earnings-table td[b-1a851bauph] {
    padding: 0.75rem 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.employee-cell[b-1a851bauph] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.employee-icon[b-1a851bauph] {
    font-size: 1rem;
}

.client-cell[b-1a851bauph] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-cell[b-1a851bauph] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volume-cell[b-1a851bauph] {
    text-align: right;
}

.price-cell[b-1a851bauph] {
    text-align: right;
    font-weight: 600;
    color: #059669;
}

.percent-cell[b-1a851bauph] {
    text-align: right;
    font-weight: 600;
}

.earning-cell[b-1a851bauph] {
    text-align: right;
    font-weight: 700;
    color: #059669;
    font-size: 0.9375rem;
}

.date-range-cell[b-1a851bauph] {
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
    min-width: 250px;
}

.description-cell[b-1a851bauph] {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #475569;
}

.empty-description[b-1a851bauph] {
    color: #cbd5e1;
}

.action-cell[b-1a851bauph] {
    text-align: right;
}

/* Action Buttons */
.action-buttons[b-1a851bauph] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-icon[b-1a851bauph] {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.btn-icon:hover[b-1a851bauph] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-edit:hover[b-1a851bauph] {
    background: #dbeafe;
    border-color: #3b82f6;
}

/* Modal Overlay */
.modal-overlay[b-1a851bauph] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(4px);
    animation: fadeIn-b-1a851bauph 0.2s ease;
}

@keyframes fadeIn-b-1a851bauph {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Content */
.modal-content[b-1a851bauph] {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideIn-b-1a851bauph 0.3s ease;
}

@keyframes slideIn-b-1a851bauph {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.75rem 0.75rem 0 0;
}

.modal-header h2[b-1a851bauph] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.modal-close[b-1a851bauph] {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.modal-close:hover[b-1a851bauph] {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body[b-1a851bauph] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Edit Info Section */
.edit-info-section[b-1a851bauph] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.edit-info-row[b-1a851bauph] {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
}

.edit-info-row:not(:last-child)[b-1a851bauph] {
    border-bottom: 1px solid rgba(187, 247, 208, 0.5);
}

.edit-info-label[b-1a851bauph] {
    font-size: 0.875rem;
    color: #047857;
    font-weight: 600;
}

.edit-info-value[b-1a851bauph] {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 500;
    text-align: right;
}

/* Form Section */
.form-section[b-1a851bauph] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group[b-1a851bauph] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-1a851bauph] {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group textarea[b-1a851bauph] {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Error Message */
.error-message[b-1a851bauph] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer[b-1a851bauph] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 0.75rem 0.75rem;
}

.modal-footer button[b-1a851bauph] {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.modal-footer button:disabled[b-1a851bauph] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner Small */
.spinner-small[b-1a851bauph] {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-1a851bauph 0.6s linear infinite;
}

@keyframes spin-b-1a851bauph {
    to {
        transform: rotate(360deg);
    }
}

/* Print styles */
@media print {
    .filters-section[b-1a851bauph],
    .earning-card-footer[b-1a851bauph],
    .view-toggle[b-1a851bauph],
    .btn-primary[b-1a851bauph],
    .modal-overlay[b-1a851bauph] {
        display: none;
    }

    .earning-card[b-1a851bauph] {
        page-break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }

    .earnings-list[b-1a851bauph] {
        display: block;
    }

    .earning-card[b-1a851bauph] {
        margin-bottom: 1rem;
    }

    .earnings-table[b-1a851bauph] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-1a851bauph],
    .earnings-table td[b-1a851bauph] {
        padding: 0.375rem 0.5rem;
    }
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content[b-1a851bauph] {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header[b-1a851bauph],
    .modal-footer[b-1a851bauph] {
        border-radius: 0;
    }

    .modal-body[b-1a851bauph] {
        padding: 1rem;
    }

    .modal-footer[b-1a851bauph] {
        flex-direction: column;
    }

    .modal-footer button[b-1a851bauph] {
        width: 100%;
        justify-content: center;
    }

    .footer-actions[b-1a851bauph] {
        flex-direction: column;
    }

    .footer-actions .btn-compact[b-1a851bauph] {
        width: 100%;
    }

    .action-buttons[b-1a851bauph] {
        flex-wrap: wrap;
    }
}

/* /Pages/LockedOrders.razor.rz.scp.css */
/* Locked Orders Container */
.locked-orders-container[b-y87ucm5fq6] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Results Summary */
.results-summary[b-y87ucm5fq6] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-info[b-y87ucm5fq6] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-summary strong[b-y87ucm5fq6] {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Empty State */
.empty-state[b-y87ucm5fq6] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #cbd5e1;
}

.empty-state-icon[b-y87ucm5fq6] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3[b-y87ucm5fq6] {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p[b-y87ucm5fq6] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Orders Table */
.earnings-table-container[b-y87ucm5fq6] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earnings-table[b-y87ucm5fq6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.earnings-table thead[b-y87ucm5fq6] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.earnings-table th[b-y87ucm5fq6] {
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.earnings-table tbody tr[b-y87ucm5fq6] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.earnings-table tbody tr:hover[b-y87ucm5fq6] {
    background: #f8fafc;
}

.earnings-table tbody tr:last-child[b-y87ucm5fq6] {
    border-bottom: none;
}

.earnings-table td[b-y87ucm5fq6] {
    padding: 0.75rem 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.order-id-cell[b-y87ucm5fq6] {
    font-weight: 700;
    color: #3b82f6;
}

.client-cell[b-y87ucm5fq6] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.locked-by-cell[b-y87ucm5fq6] {
    font-weight: 500;
    color: #1e293b;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.date-cell[b-y87ucm5fq6] {
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
}

.empty-description[b-y87ucm5fq6] {
    color: #cbd5e1;
}

.action-cell[b-y87ucm5fq6] {
    text-align: right;
}

.action-buttons[b-y87ucm5fq6] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .locked-orders-container[b-y87ucm5fq6] {
        padding: 0;
    }

    .results-summary[b-y87ucm5fq6] {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-info[b-y87ucm5fq6] {
        width: 100%;
        justify-content: space-between;
    }

    .earnings-table-container[b-y87ucm5fq6] {
        border-radius: 0.375rem;
    }

    .earnings-table[b-y87ucm5fq6] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-y87ucm5fq6],
    .earnings-table td[b-y87ucm5fq6] {
        padding: 0.5rem 0.625rem;
    }

    .client-cell[b-y87ucm5fq6],
    .locked-by-cell[b-y87ucm5fq6] {
        max-width: 120px;
    }

    .empty-state[b-y87ucm5fq6] {
        padding: 1.5rem 0.75rem;
    }

    .empty-state-icon[b-y87ucm5fq6] {
        font-size: 2.5rem;
    }

    .empty-state h3[b-y87ucm5fq6] {
        font-size: 1.125rem;
    }
}

/* /Pages/MyOrders.razor.rz.scp.css */
/* My Orders Container */
.my-orders-container[b-ldfwp8xc06] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Filters Section */
.filters-section[b-ldfwp8xc06] {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.filters-header[b-ldfwp8xc06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.filters-header h3[b-ldfwp8xc06] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.filters-header h3[b-ldfwp8xc06]::before {
    content: '🔍';
    font-size: 1rem;
}

.filters-grid[b-ldfwp8xc06] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.filter-group[b-ldfwp8xc06] {
    display: flex;
    flex-direction: column;
}

.filter-group label[b-ldfwp8xc06] {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-compact[b-ldfwp8xc06] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Active Filters Display */
.active-filters[b-ldfwp8xc06] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.active-filters-label[b-ldfwp8xc06] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.375rem;
    display: block;
}

.active-filters-list[b-ldfwp8xc06] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.filter-tag[b-ldfwp8xc06] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
}

.filter-tag button[b-ldfwp8xc06] {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag button:hover[b-ldfwp8xc06] {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Results Summary */
.results-summary[b-ldfwp8xc06] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-info[b-ldfwp8xc06] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-summary strong[b-ldfwp8xc06] {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.875rem;
}

/* View Toggle */
.view-toggle[b-ldfwp8xc06] {
    display: flex;
    gap: 0.25rem;
    background: white;
    border-radius: 0.375rem;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
}

.view-toggle-btn[b-ldfwp8xc06] {
    padding: 0.375rem 0.625rem;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.view-toggle-btn .icon[b-ldfwp8xc06] {
    font-size: 1rem;
    line-height: 1;
}

.view-toggle-btn:hover[b-ldfwp8xc06] {
    background: #f1f5f9;
    color: #1e293b;
}

.view-toggle-btn.active[b-ldfwp8xc06] {
    background: #3b82f6;
    color: white;
}

.view-toggle-btn.active:hover[b-ldfwp8xc06] {
    background: #2563eb;
}

/* Orders List */
.orders-list[b-ldfwp8xc06] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

/* Order Card */
.order-card[b-ldfwp8xc06] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-card:hover[b-ldfwp8xc06] {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.15), 0 2px 4px -1px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.order-card-header[b-ldfwp8xc06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.order-id[b-ldfwp8xc06] {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.order-label[b-ldfwp8xc06] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.order-number[b-ldfwp8xc06] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Order Status Badge */
.order-status[b-ldfwp8xc06] {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-created[b-ldfwp8xc06] {
    background: #f3f4f6;
    color: #374151;
}

.status-approvedwithemployers[b-ldfwp8xc06] {
    background: #dbeafe;
    color: #1e40af;
}

.status-processing[b-ldfwp8xc06] {
    background: #fef3c7;
    color: #92400e;
}

.status-finished[b-ldfwp8xc06] {
    background: #d1fae5;
    color: #065f46;
}

.status-creatinginvoice[b-ldfwp8xc06] {
    background: #e0e7ff;
    color: #3730a3;
}

.status-awaitingpayment[b-ldfwp8xc06] {
    background: #fce7f3;
    color: #831843;
}

.status-closed[b-ldfwp8xc06] {
    background: #f3f4f6;
    color: #6b7280;
}

/* Order Card Body */
.order-card-body[b-ldfwp8xc06] {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.order-info-row[b-ldfwp8xc06] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-info-item[b-ldfwp8xc06] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label[b-ldfwp8xc06] {
    font-size: 0.625rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.info-value[b-ldfwp8xc06] {
    font-size: 0.8125rem;
    color: #1e293b;
    font-weight: 500;
}

.info-value.price[b-ldfwp8xc06] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #059669;
}

/* Order Services */
.order-services[b-ldfwp8xc06] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.services-tags[b-ldfwp8xc06] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.service-tag[b-ldfwp8xc06] {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

/* Order Description */
.order-description[b-ldfwp8xc06] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

/* Order Card Footer */
.order-card-footer[b-ldfwp8xc06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-actions[b-ldfwp8xc06] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.order-hint[b-ldfwp8xc06] {
    font-size: 0.6875rem;
    color: #94a3b8;
    font-style: italic;
}

/* Empty State */
.empty-state[b-ldfwp8xc06] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed #cbd5e1;
}

.empty-state-icon[b-ldfwp8xc06] {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3[b-ldfwp8xc06] {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p[b-ldfwp8xc06] {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .orders-list[b-ldfwp8xc06] {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .my-orders-container[b-ldfwp8xc06] {
        padding: 0;
    }

    .filters-section[b-ldfwp8xc06] {
        border-radius: 0.375rem;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .filters-grid[b-ldfwp8xc06] {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .dropdown-menu[b-ldfwp8xc06] {
        max-height: 280px;
    }

    .filters-header[b-ldfwp8xc06] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .orders-list[b-ldfwp8xc06] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .order-card-header[b-ldfwp8xc06] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .order-card-body[b-ldfwp8xc06] {
        padding: 0.625rem 0.75rem;
    }

    .order-card-footer[b-ldfwp8xc06] {
        flex-direction: column;
        gap: 0.375rem;
        align-items: stretch;
        padding: 0.5rem 0.75rem;
    }

    .footer-actions[b-ldfwp8xc06] {
        width: 100%;
        justify-content: space-between;
    }

    .footer-actions .btn-compact[b-ldfwp8xc06] {
        flex: 1;
    }

    .footer-actions .btn-icon[b-ldfwp8xc06] {
        flex: 0 0 auto;
        min-width: 2.5rem;
    }

    .order-hint[b-ldfwp8xc06] {
        text-align: center;
    }

    .results-summary[b-ldfwp8xc06] {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-info[b-ldfwp8xc06] {
        width: 100%;
        justify-content: space-between;
    }

    .view-toggle[b-ldfwp8xc06] {
        width: 100%;
        justify-content: center;
    }

    /* Table responsive behavior */
    .earnings-table-container[b-ldfwp8xc06] {
        border-radius: 0.375rem;
    }

    .earnings-table[b-ldfwp8xc06] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-ldfwp8xc06],
    .earnings-table td[b-ldfwp8xc06] {
        padding: 0.5rem 0.625rem;
    }

    .client-cell[b-ldfwp8xc06],
    .address-cell[b-ldfwp8xc06] {
        max-width: 120px;
    }

    .active-filters[b-ldfwp8xc06] {
        margin-top: 0.75rem;
    }

    .active-filters-list[b-ldfwp8xc06] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tag[b-ldfwp8xc06] {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .order-number[b-ldfwp8xc06] {
        font-size: 0.875rem;
    }

    .order-status[b-ldfwp8xc06] {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.375rem;
    }

    .empty-state[b-ldfwp8xc06] {
        padding: 1.5rem 0.75rem;
    }

    .empty-state-icon[b-ldfwp8xc06] {
        font-size: 2.5rem;
    }

    .empty-state h3[b-ldfwp8xc06] {
        font-size: 1.125rem;
    }
}

/* Custom Dropdown */
.custom-dropdown[b-ldfwp8xc06] {
    position: relative;
    width: 100%;
}

.dropdown-toggle[b-ldfwp8xc06] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: white;
}

.dropdown-toggle:hover[b-ldfwp8xc06] {
    border-color: #cbd5e1;
}

.dropdown-text[b-ldfwp8xc06] {
    flex: 1;
    color: #374151;
    font-size: 0.875rem;
}

.dropdown-arrow[b-ldfwp8xc06] {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.custom-dropdown:has(.dropdown-menu) .dropdown-arrow[b-ldfwp8xc06] {
    transform: rotate(180deg);
}

.dropdown-menu[b-ldfwp8xc06] {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.dropdown-search[b-ldfwp8xc06] {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-search .form-control[b-ldfwp8xc06] {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
}

.dropdown-items[b-ldfwp8xc06] {
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem;
}

.dropdown-item-checkbox[b-ldfwp8xc06] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    user-select: none;
}

.dropdown-item-checkbox:hover[b-ldfwp8xc06] {
    background: #f1f5f9;
}

.dropdown-item-checkbox input[type="checkbox"][b-ldfwp8xc06] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.dropdown-item-checkbox span[b-ldfwp8xc06] {
    font-size: 0.8125rem;
    color: #374151;
    font-weight: 500;
}

.dropdown-footer[b-ldfwp8xc06] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.dropdown-footer .btn-compact[b-ldfwp8xc06] {
    flex: 1;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.dropdown-empty[b-ldfwp8xc06] {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-style: italic;
}

/* Scrollbar for dropdown items */
.dropdown-items[b-ldfwp8xc06]::-webkit-scrollbar {
    width: 6px;
}

.dropdown-items[b-ldfwp8xc06]::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 3px;
}

.dropdown-items[b-ldfwp8xc06]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-items[b-ldfwp8xc06]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Orders Table */
.earnings-table-container[b-ldfwp8xc06] {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.earnings-table[b-ldfwp8xc06] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.earnings-table thead[b-ldfwp8xc06] {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.earnings-table th[b-ldfwp8xc06] {
    padding: 0.75rem 0.875rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.earnings-table tbody tr[b-ldfwp8xc06] {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.earnings-table tbody tr:hover[b-ldfwp8xc06] {
    background: #f8fafc;
}

.earnings-table tbody tr:last-child[b-ldfwp8xc06] {
    border-bottom: none;
}

.earnings-table td[b-ldfwp8xc06] {
    padding: 0.75rem 0.875rem;
    color: #1e293b;
    vertical-align: middle;
}

.order-id-cell[b-ldfwp8xc06] {
    font-weight: 700;
    color: #3b82f6;
}

.client-cell[b-ldfwp8xc06] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.address-cell[b-ldfwp8xc06] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
}

.date-cell[b-ldfwp8xc06] {
    white-space: nowrap;
    font-size: 0.8125rem;
    color: #64748b;
}

.price-cell[b-ldfwp8xc06] {
    text-align: right;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.payment-cell[b-ldfwp8xc06] {
    font-size: 0.8125rem;
    color: #64748b;
}

.status-cell[b-ldfwp8xc06] {
    text-align: center;
}

.services-cell[b-ldfwp8xc06] {
    max-width: 200px;
}

.services-tags-compact[b-ldfwp8xc06] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.service-tag-small[b-ldfwp8xc06] {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.service-tag-small.more[b-ldfwp8xc06] {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #64748b;
    border-color: #cbd5e1;
}

.empty-description[b-ldfwp8xc06] {
    color: #cbd5e1;
}

.action-cell[b-ldfwp8xc06] {
    text-align: right;
}

.action-buttons[b-ldfwp8xc06] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

/* Print styles */
@media print {
    .filters-section[b-ldfwp8xc06],
    .order-card-footer[b-ldfwp8xc06],
    .view-toggle[b-ldfwp8xc06],
    .btn-primary[b-ldfwp8xc06] {
        display: none;
    }

    .order-card[b-ldfwp8xc06] {
        page-break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }

    .orders-list[b-ldfwp8xc06] {
        display: block;
    }

    .order-card[b-ldfwp8xc06] {
        margin-bottom: 1rem;
    }

    .earnings-table[b-ldfwp8xc06] {
        font-size: 0.75rem;
    }

    .earnings-table th[b-ldfwp8xc06],
    .earnings-table td[b-ldfwp8xc06] {
        padding: 0.375rem 0.5rem;
    }
}

/* /Pages/OrderView.razor.rz.scp.css */
/* Compact button style for small, responsive controls on OrderView */
.btn-compact[b-ps657xrjf5] {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.2;
  border-radius: 0.25rem;
}

/* Left spacing utility for inline compact buttons */
.ml-compact[b-ps657xrjf5] {
  margin-left: 6px;
}

/* Responsiveness: slightly tighter on tablets */
@media (max-width: 768px) {
  .btn-compact[b-ps657xrjf5] {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Remove underline from anchor buttons in this view */
a.btn-primary[b-ps657xrjf5],
a.btn-secondary[b-ps657xrjf5],
a.btn-primary:visited[b-ps657xrjf5],
a.btn-secondary:visited[b-ps657xrjf5],
a.btn-primary:hover[b-ps657xrjf5],
a.btn-secondary:hover[b-ps657xrjf5],
a.btn-primary:focus[b-ps657xrjf5],
a.btn-secondary:focus[b-ps657xrjf5] {
  text-decoration: none;
}

/* Extra compact on small phones */
@media (max-width: 480px) {
  .btn-compact[b-ps657xrjf5] {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
  .ml-compact[b-ps657xrjf5] {
    margin-left: 4px;
  }
}

/* Center align texts and buttons in documents table */
.docs-table th[b-ps657xrjf5],
.docs-table td[b-ps657xrjf5] {
  text-align: center;
  vertical-align: middle;
}

/* Services header: responsive layout */
.services-header[b-ps657xrjf5] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.services-header h3[b-ps657xrjf5] {
  margin: 0;
  margin-right: auto;
}

.services-actions[b-ps657xrjf5] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 480px) {
  .services-actions .btn-primary[b-ps657xrjf5] {
    flex: 1 1 100%;
  }
}

/* Modern checkbox wrapper */
.checkbox-wrapper[b-ps657xrjf5] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-wrapper:hover[b-ps657xrjf5] {
  opacity: 0.8;
}

.checkbox-wrapper .form-check-input[b-ps657xrjf5] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #007bff;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-wrapper .form-check-input:checked[b-ps657xrjf5] {
  background-color: #007bff;
  border-color: #007bff;
}

.checkbox-wrapper .form-check-input:focus[b-ps657xrjf5] {
  outline: 2px solid rgba(0, 123, 255, 0.3);
  outline-offset: 2px;
}

.checkbox-wrapper .form-check-label[b-ps657xrjf5] {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  user-select: none;
  transition: color 0.2s ease;
  line-height: 20px;
}

.checkbox-wrapper:hover .form-check-label[b-ps657xrjf5] {
  color: #007bff;
}

/* Responsive adjustments for checkboxes */
@media (max-width: 768px) {
  .checkbox-wrapper[b-ps657xrjf5] {
    padding: 6px 0;
  }
  
  .checkbox-wrapper .form-check-input[b-ps657xrjf5] {
    width: 18px;
    height: 18px;
  }
  
  .checkbox-wrapper .form-check-label[b-ps657xrjf5] {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .checkbox-wrapper[b-ps657xrjf5] {
    gap: 8px;
  }
  
  .checkbox-wrapper .form-check-input[b-ps657xrjf5] {
    width: 16px;
    height: 16px;
  }
  
  .checkbox-wrapper .form-check-label[b-ps657xrjf5] {
    font-size: 12px;
  }
}

/* /Pages/Structure.razor.rz.scp.css */
.structure-container[b-sv2587vpqu] {
    display: flex;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

/* Sidebar */
.structure-sidebar[b-sv2587vpqu] {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-title[b-sv2587vpqu] {
    padding: 24px 20px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.entity-menu[b-sv2587vpqu] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 8px;
}

.entity-item[b-sv2587vpqu] {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 4px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.entity-item:hover[b-sv2587vpqu] {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    transform: translateX(4px);
}

.entity-item.active[b-sv2587vpqu] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.entity-icon[b-sv2587vpqu] {
    font-size: 20px;
    min-width: 24px;
    text-align: left;
}

/* Main Content */
.structure-content[b-sv2587vpqu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    margin: 16px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.content-header[b-sv2587vpqu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: white;
}

.content-title[b-sv2587vpqu] {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading */
.loading-container[b-sv2587vpqu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.spinner[b-sv2587vpqu] {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-b-sv2587vpqu 0.8s linear infinite;
}

@keyframes spin-b-sv2587vpqu {
    to {
        transform: rotate(360deg);
    }
}

/* Entity List */
.entity-list[b-sv2587vpqu] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    align-content: start;
}

.entity-card[b-sv2587vpqu] {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.entity-card:hover[b-sv2587vpqu] {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.card-content[b-sv2587vpqu] {
    flex: 1;
    min-width: 0;
}

.card-content h4[b-sv2587vpqu] {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-details[b-sv2587vpqu] {
    margin: 4px 0;
    font-size: 14px;
    color: #718096;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-actions[b-sv2587vpqu] {
    display: flex;
    gap: 8px;
}

.btn-icon-action[b-sv2587vpqu] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon-action:hover[b-sv2587vpqu] {
    transform: scale(1.1);
}

.btn-icon-action.edit:hover[b-sv2587vpqu] {
    background: rgba(102, 126, 234, 0.15);
}

.btn-icon-action.delete:hover[b-sv2587vpqu] {
    background: rgba(245, 101, 101, 0.15);
}

/* Empty State */
.empty-state[b-sv2587vpqu] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    text-align: center;
}

.empty-state p[b-sv2587vpqu] {
    margin: 0 0 24px 0;
    font-size: 18px;
    color: #718096;
}

/* Buttons */
.btn[b-sv2587vpqu] {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary[b-sv2587vpqu] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover[b-sv2587vpqu] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary[b-sv2587vpqu] {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover[b-sv2587vpqu] {
    background: #cbd5e0;
}

.btn-icon[b-sv2587vpqu] {
    font-size: 18px;
    font-weight: bold;
}

/* Modal */
.modal-overlay[b-sv2587vpqu] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn-b-sv2587vpqu 0.2s ease;
}

@keyframes fadeIn-b-sv2587vpqu {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content[b-sv2587vpqu] {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp-b-sv2587vpqu 0.3s ease;
}

@keyframes slideUp-b-sv2587vpqu {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-sv2587vpqu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-header h3[b-sv2587vpqu] {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
}

.btn-close[b-sv2587vpqu] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #718096;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-close:hover[b-sv2587vpqu] {
    background: rgba(0, 0, 0, 0.04);
    color: #2d3748;
}

.modal-body[b-sv2587vpqu] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.modal-footer[b-sv2587vpqu] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Form */
.form-group[b-sv2587vpqu] {
    margin-bottom: 20px;
}

.form-group label[b-sv2587vpqu] {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.form-control[b-sv2587vpqu] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus[b-sv2587vpqu] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control[b-sv2587vpqu]::placeholder {
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 1024px) {
    .entity-list[b-sv2587vpqu] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
        padding: 20px 24px;
    }

    .content-header[b-sv2587vpqu] {
        padding: 20px 24px;
    }

    .content-title[b-sv2587vpqu] {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .structure-container[b-sv2587vpqu] {
        flex-direction: column;
        height: auto;
    }

    .structure-sidebar[b-sv2587vpqu] {
        width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .entity-menu[b-sv2587vpqu] {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px;
    }

    .entity-item[b-sv2587vpqu] {
        flex-shrink: 0;
        min-width: 140px;
    }

    .structure-content[b-sv2587vpqu] {
        margin: 0;
        border-radius: 0;
        flex: 1;
    }

    .entity-list[b-sv2587vpqu] {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }

    .content-header[b-sv2587vpqu] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .content-title[b-sv2587vpqu] {
        font-size: 20px;
    }

    .modal-content[b-sv2587vpqu] {
        width: 95%;
        max-height: 85vh;
    }

    .modal-header[b-sv2587vpqu],
    .modal-body[b-sv2587vpqu],
    .modal-footer[b-sv2587vpqu] {
        padding: 16px 20px;
    }

    .entity-card[b-sv2587vpqu] {
        flex-direction: column;
    }

    .card-actions[b-sv2587vpqu] {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .structure-sidebar[b-sv2587vpqu] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        width: 100%;
    }

    .sidebar-title[b-sv2587vpqu] {
        padding: 16px;
        font-size: 18px;
    }

    .entity-item[b-sv2587vpqu] {
        padding: 10px 12px;
        font-size: 14px;
    }

    .entity-icon[b-sv2587vpqu] {
        font-size: 18px;
    }

    .btn[b-sv2587vpqu] {
        padding: 10px 20px;
        font-size: 14px;
    }

    .modal-content[b-sv2587vpqu] {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* Scrollbar */
.entity-list[b-sv2587vpqu]::-webkit-scrollbar,
.entity-menu[b-sv2587vpqu]::-webkit-scrollbar,
.modal-body[b-sv2587vpqu]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.entity-list[b-sv2587vpqu]::-webkit-scrollbar-track,
.entity-menu[b-sv2587vpqu]::-webkit-scrollbar-track,
.modal-body[b-sv2587vpqu]::-webkit-scrollbar-track {
    background: transparent;
}

.entity-list[b-sv2587vpqu]::-webkit-scrollbar-thumb,
.entity-menu[b-sv2587vpqu]::-webkit-scrollbar-thumb,
.modal-body[b-sv2587vpqu]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.entity-list[b-sv2587vpqu]::-webkit-scrollbar-thumb:hover,
.entity-menu[b-sv2587vpqu]::-webkit-scrollbar-thumb:hover,
.modal-body[b-sv2587vpqu]::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

