#th-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: 90%;
    max-width: 800px;
    background-color: #fff;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;

}

#th-cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Banner Content Layout */
.th-cookie-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.th-cookie-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(244, 99, 30, 0.15);
    /* Subtle sunset orange Glow */
    color: #f4631e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.th-cookie-text {
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.th-cookie-text p {
    margin: 0;
}

/* Buttons Container */
.th-cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Base Button Style */
.th-cookie-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Primary: Accept */
.th-cookie-btn-primary {
    background: #f4631e;
    /* Trail Hilight Sunset Orange */
    color: #fff;
}

.th-cookie-btn-primary:hover {
    background: #e05216;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 99, 30, 0.3);
}

/* Secondary: Manage */
.th-cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.th-cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Tertiary: Reject */
.th-cookie-btn-tertiary {
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    padding: 10px 12px;
}

.th-cookie-btn-tertiary:hover {
    color: #f1f5f9;
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    #th-cookie-banner {
        bottom: 0;
        left: 0;
        transform: translateY(120%);
        width: 100%;
        border-radius: 24px 24px 0 0;
        max-width: none;
    }

    #th-cookie-banner.show {
        transform: translateY(0);
    }

    .th-cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .th-cookie-btn {
        width: 100%;
    }

    .th-cookie-btn-tertiary {
        order: 3;
    }
}