.jb-suite-apply-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10003;
}

.jb-suite-apply-modal.is-visible {
    display: flex;
}

.jb-suite-apply-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.jb-suite-apply-modal-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.jb-suite-apply-modal-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.jb-suite-apply-subtitle {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.jb-suite-apply-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.jb-suite-form-field {
    margin-bottom: 14px;
    display: grid;
    gap: 6px;
}

.jb-suite-form-field label {
    font-weight: 600;
    font-size: 13px;
}

.jb-suite-apply-modal input[type="text"],
.jb-suite-apply-modal input[type="email"],
.jb-suite-apply-modal input[type="tel"],
.jb-suite-apply-modal input[type="password"],
.jb-suite-apply-modal input[type="search"],
.jb-suite-apply-modal input[type="number"],
.jb-suite-apply-modal input[type="url"],
.jb-suite-apply-modal textarea,
.jb-suite-apply-modal select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #111827;
    box-sizing: border-box;
    outline: none;
}

.jb-suite-apply-modal input[type="text"]:focus,
.jb-suite-apply-modal input[type="email"]:focus,
.jb-suite-apply-modal input[type="tel"]:focus,
.jb-suite-apply-modal input[type="password"]:focus,
.jb-suite-apply-modal input[type="search"]:focus,
.jb-suite-apply-modal input[type="number"]:focus,
.jb-suite-apply-modal input[type="url"]:focus,
.jb-suite-apply-modal textarea:focus,
.jb-suite-apply-modal select:focus {
    border-color: #0056d2;
    box-shadow: 0 0 0 2px rgba(0, 86, 210, 0.15);
}

.jb-suite-apply-file {
    border: 1px dashed #cbd5f5;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
}

.jb-suite-apply-file input[type="file"] {
    display: none;
}

.jb-suite-apply-file .jb-suite-apply-file-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.jb-suite-apply-file .jb-suite-apply-file-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.jb-suite-apply-existing {
    font-size: 12px;
    color: #6b7280;
}

.jb-suite-apply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.jb-suite-apply-modal .jb-suite-apply-submit {
    background: #0056d2;
    color: #fff;
    border: 0;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jb-suite-apply-modal .jb-suite-apply-cancel {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jb-suite-apply-message {
    margin-top: 10px;
    font-size: 13px;
    color: #1f2937;
}

.jb-suite-apply-message.is-success {
    color: #1b5e20;
    font-weight: 600;
}

.jb-suite-apply-message.is-error {
    color: #b91c1c;
    font-weight: 600;
}
