
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background: #fff;
    width: 600px;
    max-width: 90%;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.25s ease;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #555;
    transition: 0.2s;
}

.modal-close-btn:hover {
    color: #000;
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.qa-item {
    margin-bottom: 12px;
}

.qa-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.qa-item p {
    background: #f5f7fb;
    padding: 10px;
    border-radius: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCREENING QUESTION OPTIONS
============================================ */

.corp-question-options-area {
    display: none;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(2, 49, 65, 0.10);
}

.corp-question-card.has-options .corp-question-options-area {
    display: block;
}

.corp-question-options-area > label {
    display: block;
    margin-bottom: 10px;
    color: #023141;
    font-size: 13px;
    line-height: 18px;
    font-family: var(--font-bold);
}

.corp-question-option-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 12px;
    align-items: center;
}

.corp-question-option-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(2, 49, 65, 0.24);
    border-radius: 4px;
    background-color: #ffffff;
    color: #023141;
    font-size: 14px;
    line-height: 20px;
    font-family: var(--font-reg);
    padding: 10px 14px;
    outline: none;
    transition: all 0.25s ease;
}

.corp-question-option-input::placeholder {
    color: #9AA8B6;
}

.corp-question-option-input:focus {
    border-color: #0179DA;
    box-shadow: 0 0 0 3px rgba(1, 121, 218, 0.10);
}

.corp-question-option-add-btn {

    border: 0;
    background: transparent;
    color: #0179DA;
    font-size: 15px;
    line-height: 22px;
    font-family: var(--font-bold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}


.corp-question-option-add-btn:hover {
    color: #8F00FF;
    transform: translateX(3px);
}


.corp-question-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.corp-question-option-chip {
    min-height: 30px;
    padding: 6px 10px 6px 12px;
    border-radius: 999px;
    background: rgba(1, 121, 218, 0.10);
    color: #0179DA;
    font-size: 13px;
    line-height: 18px;
    font-family: var(--font-med);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.corp-question-option-chip button {
    width: 16px;
    height: 16px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: #0179DA;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.corp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.corp-modal {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 8px;
}

.modal-actions {
    display: flex;
    justify-content: space-evenly;
}
@media (max-width: 575px) {
    .corp-question-option-add-row {
        grid-template-columns: 1fr;
    }

    .corp-question-option-add-btn {
        width: 100%;
    }
}