/**
 * MeraRashifal Privacy & Cookie Acceptance Banner Styles
 * Lightweight, accessible floating card shown once to visitors.
 */

/* ==============================================================
   FLOATING PRIVACY BANNER (Bottom-Left Card)
   ============================================================== */
.mr-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 420px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.06);
    z-index: 9999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
    animation: mrCookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@keyframes mrCookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mr-cookie-banner-inner {
    padding: 22px 24px 20px 24px;
}

.mr-cookie-header {
    margin-bottom: 10px;
}

.mr-cookie-title {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #111827 !important;
    letter-spacing: -0.01em;
}

.mr-cookie-body {
    margin-bottom: 18px;
}

.mr-cookie-desc {
    margin: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #4b5563 !important;
}

.mr-cookie-policy-link {
    color: #d97706 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    transition: color 0.15s ease;
}

.mr-cookie-policy-link:hover {
    color: #b45309 !important;
}

/* Action Buttons Container */
.mr-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mr-cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-decoration: none !important;
}

.mr-cookie-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.35);
}

/* Accept All Button - MeraRashifal Vibrant Gold/Saffron */
.mr-cookie-btn-accept {
    background: linear-gradient(135deg, #f58220 0%, #e06c11 100%) !important;
    color: #ffffff !important;
    border: 1px solid #d9650b !important;
    box-shadow: 0 2px 4px rgba(245, 130, 32, 0.25);
    flex: 1 1 auto;
    text-align: center;
}

.mr-cookie-btn-accept:hover {
    background: linear-gradient(135deg, #e57619 0%, #cb5f0c 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 130, 32, 0.3);
}

/* Reject All Button - Neutral Clean Outline */
.mr-cookie-btn-reject {
    background: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    flex: 1 1 auto;
    text-align: center;
}

.mr-cookie-btn-reject:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* Mobile & Responsive Rules */
@media (max-width: 768px) {
    .mr-cookie-banner {
        /* Sit nicely above the mobile bottom menu (60px high) */
        bottom: 74px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .mr-cookie-banner-inner {
        padding: 16px 16px 14px 16px !important;
    }

    .mr-cookie-title {
        font-size: 1.05rem !important;
    }

    .mr-cookie-desc {
        font-size: 0.82rem !important;
    }

    .mr-cookie-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .mr-cookie-btn-accept,
    .mr-cookie-btn-reject {
        width: 100% !important;
        text-align: center !important;
    }
}
