
        /* ── Apply Modal ── */
        .apply-modal-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(5px);
            z-index: 99999;
            justify-content: center;
            align-items: center;
            padding: 16px;
        }
        .apply-modal-backdrop.open {
            display: flex;
        }

        .apply-modal {
            background: #fff;
            border-radius: 14px;
            width: 100%;
            max-width: 560px;
            max-height: 92vh;
            overflow-y: auto;
            box-shadow: 0 24px 64px rgba(0,0,0,0.25);
            animation: modalIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
            scrollbar-width: thin;
        }
        .apply-modal::-webkit-scrollbar { width: 5px; }
        .apply-modal::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

        @keyframes modalIn {
            from { transform: translateY(30px) scale(0.96); opacity: 0; }
            to   { transform: translateY(0)    scale(1);    opacity: 1; }
        }

        /* Modal Header */
        .modal-header-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 10px 10px;
            border-bottom: 1px solid #f0f0f0;
            position: sticky;
            top: 0;
            background: #fff;
            z-index: 1;
            border-radius: 14px 14px 0 0;
        }
        .modal-header-bar .modal-job-info h4 {
            font-size: 17px;
            font-weight: 700;
            color: #111;
            margin: 0 0 3px;
            font-family: 'Urbanist', sans-serif;
        }
        .modal-header-bar .modal-job-info span {
            font-size: 13px;
            color: #666;
        }
        .modal-close-btn {
            background: #f5f5f5;
            border: none;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            color: #444;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            flex-shrink: 0;
        }
        .modal-close-btn:hover { background: #e8e8e8; }

        /* Modal Body */
        .modal-body-area {
            padding: 24px 26px 28px;
        }

        .apply-form-group {
            margin-bottom: 10px;
        }
        .apply-form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 6px;
            font-family: 'Manrope', sans-serif;
        }
        .apply-form-group label .req {
            color: #0066cc;
            margin-left: 2px;
        }
        .apply-form-group input[type="text"],
        .apply-form-group input[type="email"],
        .apply-form-group input[type="tel"],
        .apply-form-group textarea,
        .apply-form-group select {
            width: 100%;
            padding: 11px 14px;
            border: 1.5px solid #e2e2e2;
            border-radius: 8px;
            font-size: 14px;
            color: #222;
            background: #fafafa;
            font-family: 'Manrope', sans-serif;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
            box-sizing: border-box;
        }
        .apply-form-group input:focus,
        .apply-form-group textarea:focus,
        .apply-form-group select:focus {
            border-color: #0066cc;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(132, 28, 20, 0.08);
        }
        .apply-form-group textarea {
            resize: vertical;
            min-height: 90px;
        }

        /* Two-column row */
        .apply-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }
        @media (max-width: 480px) {
            .apply-form-row { grid-template-columns: 1fr; }
        }

        /* File Upload */
        .file-upload-area {
            border: 2px dashed #d8d8d8;
            border-radius: 10px;
            padding: 10px 10px;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
            position: relative;
            background: #fafafa;
        }
        .file-upload-area:hover,
        .file-upload-area.dragover {
            border-color: #0066cc;
            background: #fff5f5;
        }
        .file-upload-area input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            width: 100%;
            height: 100%;
        }
        .file-upload-icon {
            font-size: 28px;
            color: #0066cc;
            margin-bottom: 8px;
        }
        .file-upload-area p {
            margin: 0;
            font-size: 13px;
            color: #555;
        }
        .file-upload-area p strong {
            color: #0066cc;
        }
        .file-upload-area .file-hint {
            font-size: 11px;
            color: #999;
            margin-top: 4px;
        }
        .file-name-display {
            margin-top: 8px;
            font-size: 13px;
            color: #333;
            font-weight: 500;
            display: none;
        }
        .file-name-display i {
            color: #0066cc;
            margin-right: 5px;
        }

        /* Submit Button */
        .apply-submit-btn {
            width: 100%;
            padding: 13px;
            background: #0066cc;
            color: #fff;
            border: none;
            border-radius: 9px;
            font-size: 15px;
            font-weight: 700;
            font-family: 'Urbanist', sans-serif;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
            margin-top: 6px;
        }
        .apply-submit-btn:hover:not(:disabled) {
            background: #0066cc;
            transform: translateY(-1px);
        }
        .apply-submit-btn:disabled {
            background: #c0887e;
            cursor: not-allowed;
        }

        /* Success State */
        .modal-success-state {
            display: none;
            text-align: center;
            padding: 40px 26px;
        }
        .modal-success-state .success-icon {
            width: 64px;
            height: 64px;
            background: #f0fdf4;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }
        .modal-success-state .success-icon i {
            font-size: 30px;
            color: #16a34a;
        }
        .modal-success-state h4 {
            font-size: 20px;
            font-weight: 700;
            color: #111;
            margin-bottom: 8px;
            font-family: 'Urbanist', sans-serif;
        }
        .modal-success-state p {
            font-size: 14px;
            color: #666;
            max-width: 320px;
            margin: 0 auto 24px;
        }
        .modal-success-state .back-btn {
            padding: 10px 28px;
            background: #0066cc;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Urbanist', sans-serif;
        }

        /* Error message */
        .apply-error-msg {
            background: #fff5f5;
            border: 1px solid #fca5a5;
            color: #0066cc;
            border-radius: 7px;
            padding: 10px 14px;
            font-size: 13px;
            margin-bottom: 14px;
            display: none;
        }
