/* Cookie Consent Bar - Styled for Rangoli Restaurants */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cookie-consent.cookie-consent--visible {
    transform: translateY(0);
}

.cookie-consent__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent__text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent__icon {
    color: #f4a261;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.cookie-consent__message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent__link {
    color: #f4a261;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.cookie-consent__link:hover {
    border-bottom-color: #f4a261;
}

.cookie-consent__actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-consent__btn--reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent__btn--accept {
    background: #f4a261;
    color: #1a1a1a;
}

.cookie-consent__btn--accept:hover {
    background: #e76f51;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-consent__btn {
        flex: 1;
        text-align: center;
    }
}

/* Accessibility */
.cookie-consent__btn:focus {
    outline: 3px solid #f4a261;
    outline-offset: 2px;
}

.cookie-consent__link:focus {
    outline: 3px solid #f4a261;
    outline-offset: 2px;
    border-bottom-color: #f4a261;
}

/* Print styles - hide consent bar */
@media print {
    .cookie-consent {
        display: none;
    }
}
