.floating-apply-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.apply-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    color: #fff;
}

.email-btn { background: #4CAF50; }
.email-btn:hover { background: #45a049; transform: translateY(-2px); }
.phone-btn { background: #2196F3; }
.phone-btn:hover { background: #0b7dda; transform: translateY(-2px); }
.whatsapp-btn { background: #25D366; }
.whatsapp-btn:hover { background: #1ebe5b; transform: translateY(-2px); }

.btn-icon { margin-right: 8px; font-size: 16px; }

/* Modal */
html.fab-lock { overflow: hidden; }
.fab-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.fab-modal.open { display: flex; }
.fab-modal-box {
    position: relative;
    background: #fff;
    color: #222;
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.fab-modal-box h3 { margin: 0 0 6px; font-size: 20px; }
.fab-job { margin: 0 0 6px; font-weight: 600; font-size: 14px; color: #444; }
.fab-note { margin: 0 0 14px; font-size: 13px; color: #666; }
.fab-close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #666;
}
#fab-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
#fab-form input[type="text"],
#fab-form input[type="tel"] {
    display: block; width: 100%; box-sizing: border-box; margin-top: 4px;
    padding: 10px; font-size: 15px; border: 1px solid #ccc; border-radius: 6px;
}
.fab-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fab-submit {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: #0b6cff; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.fab-submit:disabled { opacity: 0.6; cursor: default; }
.fab-msg { min-height: 18px; margin-bottom: 10px; font-size: 13px; }
.fab-msg.ok { color: #1a7f37; }
.fab-msg.err { color: #c62828; }

.fab-cv-note {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #5d4037;
}
#fab-form input[type="file"] { display: block; width: 100%; margin-top: 6px; font-size: 13px; }

.fab-cv-strong { background: #fff3cd; border-color: #ffca28; font-size: 14px; }
.fab-go { display: block; text-align: center; text-decoration: none; color: #fff !important; box-sizing: border-box; }

/* Responsive design */
@media (max-width: 768px) {
    .floating-apply-bar { padding: 10px 12px; }
    .apply-buttons-container { gap: 8px; }
    .apply-btn { flex: 1; min-width: 0; padding: 10px 6px; font-size: 12px; flex-direction: column; }
    .btn-icon { margin: 0 0 2px; font-size: 16px; }
}
