/* job-detail.css */

.job-detail-page {
    padding-top: 100px;
    padding-bottom: 100px;
}

.job-container {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(20, 30, 62, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    margin-top: 50px;
}

.job-banner {
    height: 220px;
    border-radius: 16px;
    background-image: url('image/jobcover.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;
    margin-bottom: 60px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.company-logo-badge {
    width: 80px;
    height: 80px;
    background: #101a35;
    border-radius: 50%;
    position: absolute;
    bottom: -40px;
    left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border: 3px solid #ffffff;
}

.company-logo-badge img {
    max-width: 100%;
    height: auto;
}

.job-header {
    margin-bottom: 40px;
}

.job-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.job-meta-top {
    color: #9CA3AF;
    font-size: 1rem;
    display: flex;
    gap: 15px;
    align-items: center;
}

.job-meta-top span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
}

.job-main-col h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #fff;
}

.job-main-col h3:first-child {
    margin-top: 0;
}

.job-main-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.job-main-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-main-col ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1.1rem;
}

.job-main-col ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #60A5FA;
    border-radius: 50%;
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E5E7EB;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sidebar Info Card */
.job-sidebar .info-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

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

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #60A5FA;
}

.info-text h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.info-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #9CA3AF;
}

.sidebar-apply-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: #000;
    font-weight: 600;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.sidebar-apply-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.company-mini-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.company-mini-img {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-mini-card h4 {
    margin: 0 0 10px 0;
    color: #fff;
}

.company-mini-card p {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.btn-outline {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Similar Jobs Section */
.similar-jobs {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.similar-jobs h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.similar-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-job-item:hover {
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.similar-job-info h4 {
    color: #fff;
    margin: 0 0 6px 0;
    font-size: 1.2rem;
}

.similar-job-info p {
    color: #9CA3AF;
    margin: 0;
    font-size: 0.9rem;
}

.similar-job-action {
    text-align: right;
}

.view-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.similar-job-item:hover .view-job-btn {
    background: #fff;
    color: #000;
    transform: translateX(5px);
}

.view-job-btn i {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .job-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .job-container {
        padding: 20px;
    }

    .job-banner {
        height: 150px;
    }

    .company-logo-badge {
        left: 20px;
        width: 60px;
        height: 60px;
        bottom: -30px;
    }

    .job-title {
        font-size: 2.2rem;
        margin-top: 10px;
    }

    .similar-job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .similar-job-action {
        text-align: left;
    }
}