
.workers-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.workers-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 50px 45px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.workers-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.workers-hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px;
    line-height: 1.3;
}

.hero-title span {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 500px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateX(-5px);
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

/* Filters Section */
.filters-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
}

.filters-header svg {
    width: 24px;
    height: 24px;
    color: #d4af37;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.filter-group input,
.filter-group select {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.filter-group.filter-btn button {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #0f172a;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.3);
    margin-top: auto;
}

.filter-group.filter-btn button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(212, 175, 55, 0.4);
}

.filter-group.filter-btn button svg {
    width: 20px;
    height: 20px;
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.count-number {
    font-size: 36px;
    font-weight: 800;
    color: #d4af37;
}

.count-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #fee2e2;
}

.clear-btn svg {
    width: 18px;
    height: 18px;
}

/* Workers Grid */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Worker Card */
.worker-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.worker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.worker-card:hover .card-image img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.card-badge svg {
    width: 14px;
    height: 14px;
}

.status-available {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-reserved {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-contracted {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-country {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.card-country .flag {
    font-size: 18px;
}

.card-content {
    padding: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.worker-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.worker-code {
    background: #f1f5f9;
    color: #64748b;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.worker-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: #94a3b8;
}

.worker-prices {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
}

.price-item {
    flex: 1;
    text-align: center;
}

.price-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.price-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.price-value small {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.price-value.highlight {
    color: #d4af37;
}

.price-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

.worker-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #0f172a;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn-outline:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.action-btn-outline svg {
    width: 18px;
    height: 18px;
}

.action-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3);
}

.action-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(37, 211, 102, 0.4);
}

.action-btn-primary svg {
    width: 18px;
    height: 18px;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 50px;
    height: 50px;
    color: #d97706;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.empty-state p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 25px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper :deep(.pagination) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-wrapper :deep(.page-link) {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper :deep(.page-link:hover) {
    border-color: #d4af37;
    color: #d4af37;
}

.pagination-wrapper :deep(.page-item.active .page-link) {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-color: #d4af37;
    color: #0f172a;
}

.pagination-wrapper :deep(.page-item.disabled .page-link) {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .workers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .workers-hero {
        padding: 30px 25px;
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .workers-grid {
        grid-template-columns: 1fr;
    }
    
    .worker-prices {
        flex-direction: column;
        gap: 15px;
    }
    
    .price-divider {
        width: 100%;
        height: 1px;
    }
    
    .worker-actions {
        grid-template-columns: 1fr;
    }
}

