#chamnar-recovery-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-background-color);
    border-top: 2px solid var(--brand-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    box-sizing: border-box;
    font-family: var(--font-body);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.recovery-text {
    font-size: var(--font-size-body);
    color: var(--text-body);
}

.recovery-btn {
    background-color: var(--brand-color);
    color: var(--text-white);
    text-decoration: none;
    padding: 5px 20px;
    font-size: var(--font-size-body);
    margin-left: 15px;
    transition: background 0.3s;
    white-space: nowrap;
}

.recovery-btn:hover {
    background-color: var(--brand-hover);
    color: var(--text-white);
}

.recovery-btn:active {
    color: var(--brand-color);
}

.close-bar {
    background: none;
    border: none;
    border-radius: 0;
    font-size: var(--font-size-header);
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 15px;
    padding: 0 5px;
}

/* Mobile Tweak: Stack them if screen is tiny */
@media (max-width: 480px) {
    #chamnar-recovery-bar {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding-bottom: 25px;
        /* Safe area for iPhone swipe bar */
    }

    .recovery-text {
        width: 100%;
        margin-bottom: 10px;
    }

    .close-bar {
        position: absolute;
        top: 5px;
        right: 10px;
    }
}
