/* ========================================
   Cookie Consent Banner Styles
   ======================================== */

/* Banner Container */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99998;
    padding: 25px 20px;
    display: none;
    border-top: 3px solid #007bff;
}

.cookie-consent-banner.show {
    display: block;
    animation: slideUpBanner 0.6s ease-out;
}

/* Banner Content */
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Text Section */
.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-text h3::before {
    content: "🍪";
    font-size: 24px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Buttons Container */
.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Button Base Styles */
.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

/* Primary Button (Accept All) */
.cookie-consent-btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.cookie-consent-btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}

/* Secondary Button (Reject) */
.cookie-consent-btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.cookie-consent-btn-secondary:hover {
    background-color: #545b62;
}

/* Outline Button (Settings) */
.cookie-consent-btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.cookie-consent-btn-outline:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Animations */
@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablets */
@media (max-width: 992px) {
    .cookie-consent-content {
        gap: 20px;
    }
    
    .cookie-consent-buttons {
        width: 100%;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 20px 15px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-consent-text h3 {
        font-size: 18px;
        justify-content: center;
    }
    
    .cookie-consent-text p {
        font-size: 14px;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cookie-consent-text h3 {
        font-size: 16px;
    }
    
    .cookie-consent-text p {
        font-size: 13px;
    }
    
    .cookie-consent-btn {
        font-size: 14px;
        padding: 12px 18px;
    }
}

/* ========================================
   Cookie Settings Link in Footer
   ======================================== */

.cookie-settings-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cookie-settings-link:hover {
    background-color: #f0f0f0;
    color: #0056b3;
}