/* Container Floating Shell positioning */
.fcb-nav-shell {
    position: fixed;
    z-index: var(--fcb-z-index, 9999);
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Make sure click penetrates empty areas around shell */
}

/* Glass container wrap */
.fcb-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 92%;
    border-radius: 9999px;
    border: 1px solid rgba(254, 215, 170, 0.4); /* border-orange-100/40 */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    padding: 4px;
    pointer-events: auto; /* Re-enable clicks */
    box-sizing: border-box;
}

/* Buttons style */
.fcb-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    gap: 8px;
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.fcb-btn:active {
    transform: scale(0.95);
}

.fcb-btn .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

.fcb-phone-btn {
    transition: background-color 0.2s ease-in-out;
}

.fcb-phone-btn:hover {
    background-color: rgba(14, 165, 233, 0.08) !important; /* light sky-50 hover */
}

.fcb-line-btn {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); /* sky-600 shadow */
}

.fcb-line-btn:hover {
    filter: brightness(1.05);
}

/* Desktop Styles Breakpoint */
@media (min-width: 768px) {
    .fcb-nav-shell {
        left: auto;
        right: 32px;
        justify-content: flex-end;
        width: auto;
    }
    .fcb-container {
        width: auto;
        min-width: 350px;
        gap: 8px;
    }
}

/* Modal Popup Styles */
.fcb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6); /* slate-900/60 */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-out;
    padding: 16px;
    box-sizing: border-box;
}

.fcb-modal-content {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 380px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.fcb-modal-overlay.fcb-active .fcb-modal-content {
    transform: scale(1);
}

.fcb-hidden {
    display: none !important;
}

.fcb-opacity-0 {
    opacity: 0;
}

.fcb-opacity-100 {
    opacity: 1;
}

/* Modal internal typography */
.fcb-modal-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(14, 165, 233, 0.1); /* sky-100 */
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.fcb-modal-icon-wrapper .material-symbols-outlined {
    font-size: 30px;
    color: #0284c7; /* sky-600 */
}

.fcb-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b; /* slate-800 */
    margin: 0 0 8px 0;
}

.fcb-modal-desc {
    font-size: 14px;
    color: #64748b; /* slate-500 */
    margin: 0 0 24px 0;
}

.fcb-modal-number {
    font-size: 28px;
    font-weight: 900;
    color: #0369a1; /* sky-700 */
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.fcb-modal-actions {
    display: flex;
    gap: 16px;
}

.fcb-modal-btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.fcb-modal-btn:active {
    transform: scale(0.98);
}

.fcb-modal-btn-close {
    background-color: #f1f5f9; /* slate-100 */
    color: #475569; /* slate-600 */
}

.fcb-modal-btn-close:hover {
    background-color: #e2e8f0; /* slate-200 */
}

.fcb-modal-btn-dial {
    background-color: #0284c7; /* sky-600 */
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
}

.fcb-modal-btn-dial:hover {
    background-color: #0369a1; /* sky-700 */
}
