/* Job Detail Page Styles */

:root {
    --job-primary: #008B8B;
    --job-primary-dark: #006B6B;
    --job-secondary: #20B2AA;
    --job-accent: #FF6B35;
    --job-success: #00C48C;
    --job-dark: #1A1A1A;
    --job-light: #F5F5F5;
    --job-border: #E0E0E0;
    --job-shadow: rgba(0, 0, 0, 0.1);
}

/* Job Detail Header */
.job-detail-header {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #b2dfdb 100%);
    color: #334155;
    padding: 40px 0 60px;
    margin-top: -20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--job-primary);
}

.breadcrumb .separator {
    color: #94a3b8;
}

.breadcrumb .current {
    color: var(--job-primary);
    font-weight: 600;
}

.job-header-content {
    animation: fadeInUp 0.6s ease;
}

.job-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.job-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #334155;
}

.urgent-badge {
    background: #ef4444;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #475569;
}

.meta-item .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.job-salary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 139, 139, 0.1);
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid var(--job-primary);
}

.job-salary .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    stroke: var(--job-primary);
}

.salary-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--job-primary);
}

/* Job Detail Content */
.job-detail-content {
    padding: 60px 0;
    background: var(--job-light);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px var(--job-shadow);
}

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--job-dark);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--job-primary);
    display: inline-block;
}

.section-content {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul,
.section-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 10px;
}

/* Apply Section */
.apply-section {
    background: var(--job-primary);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.apply-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.apply-section p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: var(--job-primary);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.apply-btn .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.share-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px var(--job-shadow);
}

.info-card h3,
.share-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--job-dark);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--job-border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item .label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-item .value {
    color: var(--job-dark);
    font-weight: 600;
    text-align: right;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--job-light);
    border: 2px solid var(--job-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--job-dark);
}

.share-btn:hover {
    background: var(--job-primary);
    color: white;
    border-color: var(--job-primary);
    transform: translateX(5px);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Related Jobs Section */
.related-jobs-section {
    padding: 60px 0;
    background: white;
}

.related-jobs-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    border-bottom: none;
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-job-card {
    background: var(--job-light);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--job-shadow);
    border-color: var(--job-primary);
}

.related-job-card .job-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.related-job-card .job-title a {
    color: var(--job-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-job-card .job-title a:hover {
    color: var(--job-primary);
}

.related-job-card .job-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.related-job-card .department,
.related-job-card .location {
    padding: 4px 12px;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.related-job-card .job-salary {
    color: var(--job-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.related-job-card .view-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--job-primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-job-card .view-btn:hover {
    background: var(--job-primary-dark);
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .job-title {
        font-size: 2rem;
    }
    
    .job-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-meta-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .job-detail-header {
        padding: 30px 0 40px;
    }
    
    .job-title {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .apply-section {
        padding: 25px;
    }
    
    .info-card,
    .share-card {
        padding: 20px;
    }
}

