.jiku-apply-modal {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(18, 31, 60, 0.28);
    overflow: hidden;
}

.jiku-apply-modal .modal-header {
    padding: 22px 28px 16px;
    border-bottom: 1px solid #edf1f7;
}

.jiku-apply-modal .modal-header .close {
    margin-top: -4px;
    font-size: 30px;
}

.jiku-apply-modal .modal-title {
    color: #121f3c;
    font-size: 24px;
    font-weight: 700;
}

.jiku-apply-modal .modal-subtitle {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.jiku-apply-modal .modal-body {
    padding: 22px 28px 28px;
}

.jiku-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.jiku-apply-field {
    display: flex;
    min-width: 0;
    margin: 0;
    flex-direction: column;
}

.jiku-apply-field.is-wide {
    grid-column: 1 / -1;
}

.jiku-apply-field label {
    display: block;
    margin-bottom: 7px;
    color: #24324a;
    font-size: 14px;
    font-weight: 600;
}

.jiku-apply-field label span {
    color: #e5484d;
}

.jiku-apply-field input,
.jiku-apply-field select,
.jiku-apply-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cdd6e3;
    border-radius: 8px;
    background: #fff;
    color: #121f3c;
    font-size: 15px;
    line-height: 1.45;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.jiku-apply-field input,
.jiku-apply-field select {
    height: 44px;
}

.jiku-apply-field textarea {
    height: 92px;
    min-height: 92px;
    resize: vertical;
}

.jiku-apply-field input:focus,
.jiku-apply-field select:focus,
.jiku-apply-field textarea:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .13);
}

.jiku-apply-privacy {
    display: flex;
    grid-column: 1 / -1;
    gap: 9px;
    align-items: flex-start;
    color: #5b6678;
    font-size: 13px;
    line-height: 1.55;
}

.jiku-apply-privacy input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    padding: 0;
}

.jiku-apply-actions {
    grid-column: 1 / -1;
}

.jiku-apply-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #1677ff, #0759ca);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.jiku-apply-submit:hover,
.jiku-apply-submit:focus {
    background: linear-gradient(135deg, #0f6fe9, #064daa);
}

.jiku-apply-submit:disabled {
    cursor: wait;
    opacity: .66;
}

.jiku-apply-status {
    min-height: 22px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.jiku-apply-status.is-error {
    color: #c62f35;
}

.jiku-apply-status.is-pending {
    color: #0759ca;
}

.jiku-apply-help {
    margin: 14px 0 0;
    color: #7b8798;
    font-size: 13px;
    text-align: center;
}

.jiku-apply-help a {
    color: #0759ca;
}

.jiku-apply-success {
    padding: 24px 10px 18px;
    color: #24324a;
    text-align: center;
}

.jiku-apply-success-mark {
    display: inline-flex;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f8ef;
    color: #178447;
    font-size: 30px;
    font-weight: 700;
}

.jiku-apply-success h3 {
    margin: 0 0 8px;
    color: #121f3c;
    font-size: 22px;
}

.jiku-apply-success p {
    margin: 5px 0;
    color: #5b6678;
    font-size: 14px;
    line-height: 1.7;
}

.jiku-apply-success code {
    color: #34425a;
    font-size: 12px;
}

.jiku-apply-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mobile-apply-cta {
    display: inline-flex;
    min-width: 148px;
    min-height: 44px;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 24px;
    background: #1677ff;
    box-shadow: 0 10px 24px rgba(0, 54, 128, .28);
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
}

.jiku-apply-page {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(155deg, #f5f9ff 0%, #eef4ff 45%, #f8fbff 100%);
    color: #121f3c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.jiku-apply-page-header {
    display: flex;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.jiku-apply-page-header img {
    height: 30px;
}

.jiku-apply-page-header a {
    color: #31517d;
    font-size: 14px;
    text-decoration: none;
}

.jiku-apply-page-header .jiku-apply-page-brand {
    color: #121f3c;
    font-size: 17px;
    font-weight: 700;
}

.jiku-apply-page-shell {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px 36px;
}

.jiku-apply-page-card {
    padding: 26px 22px 28px;
    border: 1px solid rgba(205, 214, 227, .8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(31, 68, 120, .12);
}

.jiku-apply-page-card h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.35;
}

.jiku-apply-page-intro {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 720px) {
    #myModal .modal-dialog {
        margin: 12px;
    }

    .jiku-apply-modal .modal-header,
    .jiku-apply-modal .modal-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .jiku-apply-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .jiku-apply-field.is-wide,
    .jiku-apply-privacy,
    .jiku-apply-actions {
        grid-column: 1;
    }

    .jiku-apply-page-header {
        padding: 16px 18px;
    }

    .jiku-apply-page-card {
        padding: 24px 18px 26px;
    }
}
