
/* Worker Detail Page */
.worker-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.worker-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.worker-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.worker-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.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;
    width: fit-content;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.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-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #0f172a;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(212, 175, 55, 0.4);
}

.btn-gold svg {
    width: 20px;
    height: 20px;
}

.btn-outline-light {
    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: 16px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateX(-5px);
}

.btn-outline-light svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.worker-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
}

/* Photo Card */
.photo-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 20px;
}

.photo-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.status-badge svg {
    width: 18px;
    height: 18px;
}

.status-available {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.status-reserved {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.status-contracted {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.country-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

.country-badge .flag {
    font-size: 24px;
}

.photo-footer {
    padding: 25px;
    border-top: 1px solid #f1f5f9;
}

.photo-footer h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.photo-footer .code {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* Details Card */
.details-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.details-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.details-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.details-header p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.info-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: #b45309;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.price-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.price-item {
    text-align: center;
}

.price-item-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
}

.price-item-value {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-item-value small {
    font-size: 18px;
    font-weight: 600;
}

.price-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

/* Actions */
.actions-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}

.action-btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px -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-secondary {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #0f172a;
}

.action-btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.action-btn svg {
    width: 22px;
    height: 22px;
}

/* Notes Section */
.notes-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 25px 30px;
    border: 1px solid #fcd34d;
}

.notes-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notes-section h4 svg {
    width: 20px;
    height: 20px;
}

.notes-section p {
    font-size: 15px;
    color: #78350f;
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .worker-content {
        grid-template-columns: 1fr;
    }
    
    .photo-card {
        position: relative;
        top: 0;
    }
    
    .photo-wrapper {
        height: 350px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .worker-hero {
        padding: 30px 25px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-gold,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-divider {
        width: 100%;
        height: 1px;
    }
    
    .price-item-value {
        font-size: 32px;
    }
    
    .actions-section {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .details-card {
        padding: 25px;
    }
}