/* Job Details Page Styles */

/* Job Header */
.job-header {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    padding: 60px 0;
}

.job-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.job-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.job-actions {
    display: flex;
    gap: 15px;
}

.btn-apply, .btn-save {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-apply {
    background: white;
    color: #667EEA;
    font-size: 16px;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-save {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-save:hover {
    background: white;
    color: #667EEA;
}

/* Job Details Section */
.job-details-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.job-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.job-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 15px;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.content li::before {
    content: '•';
    color: #4FC3F7;
    font-size: 20px;
    position: absolute;
    left: 0;
}

/* Sidebar */
.company-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-logo-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4FC3F7, #667EEA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.company-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.company-details p {
    color: #666;
    margin-bottom: 10px;
}

.company-stats {
    display: flex;
    gap: 15px;
}

.company-stats span {
    font-size: 12px;
    color: #666;
    background: #f8f9fc;
    padding: 4px 8px;
    border-radius: 10px;
}

.company-description {
    margin-bottom: 20px;
}

.company-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.view-company-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4FC3F7, #667EEA);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.view-company-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.4);
}

/* Similar Jobs */
.similar-jobs {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.similar-jobs h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.similar-job-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.similar-job-item:last-child {
    border-bottom: none;
}

.similar-job-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.similar-job-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.similar-job-item .salary {
    font-size: 14px;
    color: #4FC3F7;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .job-header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .company-info {
        flex-direction: column;
        text-align: center;
    }

    .job-info h1 {
        font-size: 28px;
    }

    .job-meta {
        justify-content: center;
    }

    .job-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-apply, .btn-save {
        width: 100%;
        max-width: 300px;
    }

    .job-details-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .job-header {
        padding: 40px 0;
    }

    .job-info h1 {
        font-size: 24px;
    }

    .job-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}