@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');

:root {
    --tsb-primary: #0088cc;
    --tsb-primary-hover: #0077b5;
    --tsb-gradient: linear-gradient(135deg, #0088cc 0%, #00a2ed 100%);
    --tsb-text-white: #ffffff;
    --tsb-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    --tsb-radius: 16px;
}

.tsb-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 800px;
    background: var(--tsb-gradient);
    border-radius: var(--tsb-radius);
    padding: 16px 24px;
    z-index: 999999;
    box-shadow: var(--tsb-shadow);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    color: var(--tsb-text-white);
    overflow: hidden;
}

.tsb-banner.tsb-active {
    transform: translateX(-50%) translateY(0);
}

.tsb-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tsb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.tsb-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tsb-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.tsb-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.tsb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tsb-button {
    background: #ffffff;
    color: var(--tsb-primary);
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.tsb-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tsb-close {
    position: absolute !important;
    top: -10px !important;
    left: -10px !important;
    background: #ff4d4d !important;
    /* Distinct red color */
    border: 2px solid #ffffff !important;
    color: white !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 999999 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.tsb-close:hover {
    background: #ff0000 !important;
    transform: scale(1.1) !important;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tsb-banner {
        bottom: 0px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        transform: translateY(100%);
        border-radius: var(--tsb-radius) var(--tsb-radius) 0 0;
        padding: 20px;
    }

    .tsb-banner.tsb-active {
        transform: translateY(0);
    }

    .tsb-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .tsb-content {
        flex-direction: column;
        gap: 12px;
    }

    .tsb-actions {
        width: 100%;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .tsb-button {
        width: 100%;
        padding: 12px;
    }


}