/* Career Detail Page Specific Styles */

.career-detail-header {
    border-bottom: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
}

.career-detail-nav {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #FF6B35;
}

.apply-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #FF6B35;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.apply-button:hover {
    background-color: #FF8A65;
}

.career-detail-main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.job-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.job-meta {
    color: #6b7280;
    margin-bottom: 2rem;
}

.job-content {
    margin-top: 2rem;
}

.job-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.job-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-content li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.job-content a {
    color: #FF6B35;
    text-decoration: underline;
}

.job-content a:hover {
    color: #FF8A65;
}

.action-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #FF6B35;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #FF8A65;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

/* Responsive Design */
@media (min-width: 640px) {
    .career-detail-nav {
        padding: 0 1.5rem;
    }
    
    .career-detail-main {
        padding: 2.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .career-detail-nav {
        padding: 0 2rem;
    }
    
    .career-detail-main {
        padding: 2.5rem 2rem;
    }
}

/* Enhanced Interactions */
.apply-button:focus,
.btn-primary:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

.btn-secondary:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

.back-link:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Animation for smooth transitions */
.career-detail-header {
    animation: slideDown 0.3s ease-out;
}

.career-detail-main {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print styles */
@media print {
    .career-detail-header {
        background: white;
        backdrop-filter: none;
        border-bottom: 2px solid #000;
    }
    
    .apply-button,
    .action-buttons {
        display: none;
    }
    
    .job-content a {
        color: #000;
        text-decoration: underline;
    }
}
