/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 24px 40px;
}

.cookie-banner-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.cookie-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: 16px 16px 0 0;
}

.cookie-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    color: #2563eb;
}

.cookie-icon svg {
    width: 28px;
    height: 28px;
}

.cookie-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.cookie-description {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.cookie-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.cookie-link:hover {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
}

.cookie-buttons {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-reject-btn {
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookie-reject-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    border: 2px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-reject-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #1e293b;
    border-color: rgba(148, 163, 184, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-reject-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-reject-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Cookie accept button uses submit-btn class from contact.css */
.cookie-accept-btn {
    margin-top: 0; /* Override margin-top from submit-btn */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .cookie-banner-container {
        padding: 0 15px 20px 15px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .cookie-icon {
        width: 40px;
        height: 40px;
    }

    .cookie-icon svg {
        width: 24px;
        height: 24px;
    }

    .cookie-title {
        font-size: 1rem;
    }

    .cookie-description {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-reject-btn,
    .cookie-buttons .submit-btn {
        width: 100%;
    }

    .cookie-reject-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1200px) {
    .cookie-banner-container {
        padding: 0 30px 24px 30px;
    }

    .cookie-banner-content {
        padding: 22px 28px;
        gap: 20px;
    }
}

/* Animation for entrance */
@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner.visible .cookie-banner-content {
    animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

