/* CV Apply Job Popup Styles - Isolated CSS to avoid affecting other styles */
.cv-apply-job-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
}

.cv-apply-job-popup[style*="display: flex"],
.cv-apply-job-popup[style*="display:flex"] {
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.cv-apply-job-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    overflow: hidden;
    box-sizing: border-box;
}

/* Main Content Frame - Frame 427319648 */
.cv-apply-job-content {
    position: absolute;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 24px;
    width: 440px;
    min-height: 315px;
    height: auto;
    left: calc(50% - 440px/2);
    top: calc(50% - 315px/2 + 0.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    box-sizing: border-box;
}

/* Main Frame - Frame 427321887 */
.cv-apply-job-content > * {
    width: 392px;
}

/* Header - Frame 427321859 */
.cv-apply-job-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 10px;
    width: 392px;
    height: 73px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Header Left - Frame 427321840 */
.cv-apply-job-header-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 362px;
    height: 73px;
    flex: none;
    order: 0;
    flex-grow: 1;
}

/* Close Button - Frame 427319703 (display: none) */
/*.cv-apply-job-close {*/
/*    display: none;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    flex: none;*/
/*    order: 0;*/
/*    flex-grow: 0;*/
/*    background: none;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    padding: 0;*/
/*}*/

.cv-apply-job-close {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex: none;
    order: 1;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.ccv-apply-job-close:hover {
    opacity: 0.7;
}

.cv-apply-job-close i {
    font-size: 16px;
    color: #000000;
}

/* Icon Wrapper - Frame 427319645 */
.cv-apply-job-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 14px;
    gap: 10px;
    width: 48px;
    height: 48px;
    background: linear-gradient(180deg, #FCE96A 0%, #FDFDEA 50%, #FFFFFF 100%);
    border-radius: 71px;
    flex: none;
    order: 1;
    flex-grow: 0;
    box-sizing: border-box;
    position: relative;
}

/* Icon Circle - Frame 427319644 */
.cv-apply-job-icon::before {
    content: '';
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px;
    gap: 10px;
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #FACA15;
    border-radius: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Icon Image */
.cv-apply-job-icon-img {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    flex: none;
    order: 0;
    flex-grow: 0;
    object-fit: contain;
}

/* Title Section - Frame 427319643 */
.cv-apply-job-header-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.cv-apply-job-title-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    width: 302px;
    height: 73px;
    flex: none;
    order: 2;
    flex-grow: 1;
}

/* Title - Bạn chưa thể ứng tuyển */
.cv-apply-job-title {
    width: 208px;
    height: 27px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Message - Hoàn tất các mục còn thiếu... */
.cv-apply-job-message {
    width: 302px;
    height: 42px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #1F2A37;
    transform: rotate(-0.05deg);
    margin: 0;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Divider - Line 439 */
.cv-apply-job-divider {
    width: 392px;
    height: 0px;
    border: 1px dashed #E5E7EB;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
}

/* Missing Items Wrapper - Frame 427321883 */
.cv-apply-job-missing-items-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 4px;
    width: 392px;
    min-height: auto;
    height: auto;
    background: linear-gradient(90deg, #FFF8F1 0%, #FFFFFF 100%);
    border: 1px solid #FF8A4C;
    border-radius: 12px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* Missing Items */
.cv-apply-job-missing-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 0px;
    width: 376px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    min-height: 0;
}

/* Missing Item - Component 73 */
.cv-apply-job-missing-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 9px;
    width: 376px;
    height: 38px;
    border-radius: 6px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    position: relative;
}

.cv-apply-job-missing-item:last-of-type {
    order: 2;
}

/* Missing Item Icon - exclamation-outline */
.cv-apply-job-missing-item-icon {
    width: 20px;
    height: 20px;
    flex: none;
    order: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cv-apply-job-missing-item-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Missing Item Text - THÔNG TIN CV */
.cv-apply-job-missing-item-text {
    width: 183px;
    height: 22px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.85);
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Missing Item Divider - Line 440 */
.cv-apply-job-missing-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 376px;
    height: 0px;
    border-top: 1px solid #FEECDC;
}

/* Actions - Frame 427321884 */
.cv-apply-job-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 392px;
    height: 38px;
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: 0;
}

/* Button */
.cv-apply-job-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    width: 392px;
    height: 38px;
    background: #F07E1D;
    border-radius: 8px;
    flex: none;
    order: 0;
    flex-grow: 1;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF !important;
    box-sizing: border-box;
}

.cv-apply-job-btn-primary {
    background: #F07E1D;
    color: #FFFFFF !important;
}

.cv-apply-job-btn-primary:hover,
.cv-apply-job-btn-primary:focus,
.cv-apply-job-btn-primary:active,
a.cv-apply-job-btn-primary:hover,
a.cv-apply-job-btn-primary:focus,
a.cv-apply-job-btn-primary:active {
    background: #e06d0d !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cv-apply-job-content {
        width: calc(100% - 40px);
        max-width: 440px;
        height: auto;
        min-height: 315px;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        margin-top: calc(-315px/2);
    }

    .cv-apply-job-content > * {
        width: 100%;
    }

    .cv-apply-job-header {
        width: 100%;
        height: auto;
    }

    .cv-apply-job-header-left {
        width: 100%;
        height: auto;
    }

    .cv-apply-job-title {
        font-size: 16px;
        width: auto;
        height: auto;
    }

    .cv-apply-job-message {
        font-size: 12px;
        width: 100%;
        height: auto;
    }

    .cv-apply-job-divider {
        width: 100%;
    }

    .cv-apply-job-missing-items-wrapper {
        width: 100%;
        height: auto;
    }

    .cv-apply-job-missing-items {
        width: 100%;
    }

    .cv-apply-job-missing-item {
        width: 100%;
    }

    .cv-apply-job-actions {
        width: 100%;
        height: auto;
    }

    .cv-apply-job-btn {
        width: 100%;
    }
}
