/* =====================================================
   COOKIE CONSENT BANNER — RaadWajeeh Digital
   ===================================================== */

#rw-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: var(--bg-card, #1e293b);
    border-top: 1px solid var(--border-normal, rgba(59,130,246,0.25));
    box-shadow: var(--cookie-shadow);
    padding: 18px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#rw-cookie-banner.rw-cookie--visible {
    transform: translateY(0);
}

.rw-cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.rw-cookie-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.rw-cookie-text {
    flex: 1;
    min-width: 220px;
}

.rw-cookie-text p {
    font-size: 0.875rem;
    color: var(--text-secondary, #cbd5e1);
    margin: 0;
    line-height: 1.6;
}

.rw-cookie-text a {
    color: var(--primary-light, #60a5fa);
    text-decoration: underline;
}

.rw-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.rw-cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.rw-cookie-btn--accept {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
}

.rw-cookie-btn--accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59,130,246,0.4);
}

.rw-cookie-btn--decline {
    background: transparent;
    color: var(--text-secondary, #cbd5e1);
    border: 1.5px solid var(--border-normal, rgba(59,130,246,0.25));
}

.rw-cookie-btn--decline:hover {
    border-color: var(--border-strong, rgba(59,130,246,0.5));
    color: var(--text-primary, #f8fafc);
}


@media (max-width: 640px) {
    .rw-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .rw-cookie-actions {
        width: 100%;
    }
    .rw-cookie-btn {
        flex: 1;
        justify-content: center;
    }
}
