/* =========================================================
   Landing Core Components
   - BaseApplyForm
   - PrivacyModal
   - RealtimeApplyList
========================================================= */

.base-apply-form {
    width: 100%;
    margin-top: 20px;
}

.base-apply-form__row {
    margin-bottom: 12px;
}

.base-apply-form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.base-apply-form__input,
.base-apply-form__textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

.base-apply-form__textarea {
    min-height: 90px;
    padding-top: 12px;
    resize: vertical;
}

.base-apply-form__agree {
    margin: 14px 0;
    font-size: 13px;
    color: #333;
}

.base-apply-form__agree-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.base-apply-form__agree input {
    width: auto;
    height: auto;
}

.base-apply-form__submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.base-apply-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Privacy Modal */

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.privacy-modal__box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 620px;
    max-height: 82vh;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.privacy-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

.privacy-modal__header h3 {
    margin: 0;
    font-size: 20px;
    color: #111;
}

.privacy-modal__close {
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.privacy-modal__body {
    max-height: 56vh;
    padding: 22px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.privacy-modal__body h4 {
    margin: 18px 0 6px;
    font-size: 15px;
    color: #111;
}

.privacy-modal__notice {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 13px;
}

.privacy-modal__footer {
    padding: 16px 22px;
    border-top: 1px solid #eee;
    text-align: center;
}

.privacy-modal__button {
    min-width: 120px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Realtime Apply */

.realtime-apply {
    width: 100%;
}

.realtime-apply__inner {
    width: 100%;
}

.realtime-apply__title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.realtime-apply__list {
    width: 100%;
}

.realtime-apply__item {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 120px;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    box-sizing: border-box;
}

.realtime-apply__item p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}

.realtime-apply__item .mmlb-p1 {
    font-weight: 700;
    color: #111827;
}

.realtime-apply__item .mmlb-p3 {
    font-weight: 600;
}

.realtime-apply__item .mmlb-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .realtime-apply__item {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
        padding: 14px;
    }

    .realtime-apply__item .mmlb-state {
        justify-self: start;
    }
}