body:has(#bottomBarContainer) {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}
.bottom-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 990;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.bottom-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
}
.bottom-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(139, 28, 140, 0.08);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(28, 18, 35, 0.14);
    backdrop-filter: blur(12px);
    pointer-events: auto;
}
.bottom-bar-call,
.bottom-bar-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bottom-bar-call {
    border: 1px solid #D6BED9;
    background: #FFFFFF;
    color: #6F2476;
}
.bottom-bar-apply {
    border: 1px solid #65156E;
    background: linear-gradient(110deg, #8B1C8C, #65156E);
    color: #FFFFFF;
}
.bottom-bar-call svg,
.bottom-bar-apply svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.bottom-bar-call:hover {
    background: var(--purple-tint);
    border-color: var(--brand-purple);
}
.bottom-bar-apply:hover {
    background: var(--deep-purple);
    box-shadow: 0 4px 12px rgba(101, 21, 110, 0.2);
}
.bottom-bar-call:active,
.bottom-bar-apply:active {
    transform: scale(0.98);
}
.bottom-bar-call:focus-visible,
.bottom-bar-apply:focus-visible {
    outline: 2px solid var(--brand-purple);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    body:has(#bottomBarContainer) {
        padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    }
    .bottom-bar {
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    }
    .bottom-bar-inner {
        gap: 7px;
        padding: 7px;
        border-radius: 13px;
    }
    .bottom-bar-call,
    .bottom-bar-apply {
        min-height: 52px;
        font-size: 15px;
    }
}
@media (max-width: 380px) {
    .bottom-bar {
        padding-right: 8px;
        padding-left: 8px;
    }
}
