/**
 * Cookie Consent Banner Styles
 */

/* Cookie Consent Banner Container */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Consent Container */
.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Cookie Consent Content */
.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 40px;
    color: #ffd700;
    flex-shrink: 0;
}

.cookie-icon i {
    animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-text p {
    color: #e0e0e0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-link {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #ffed4e;
}

/* Cookie Consent Actions */
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cookie-btn i {
    font-size: 16px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #43ba7f 0%, #2ecc71 100%);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.cookie-btn-necessary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
}

.cookie-btn-necessary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.cookie-btn-decline {
    background: #6c757d;
    color: #ffffff;
}

.cookie-btn-decline:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px 0;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-icon {
        font-size: 32px;
        align-self: center;
    }

    .cookie-text h4 {
        font-size: 16px;
        text-align: center;
    }

    .cookie-text p {
        font-size: 13px;
        text-align: center;
    }

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

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-container {
        padding: 0 15px;
    }

    .cookie-icon {
        font-size: 28px;
    }

    .cookie-text h4 {
        font-size: 15px;
    }

    .cookie-text p {
        font-size: 12px;
    }

    .cookie-btn {
        font-size: 13px;
        padding: 12px 18px;
    }
}

/* Accessibility */
.cookie-btn:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .cookie-consent-banner {
        display: none !important;
    }
}
