/**
 * GDPR Cookie Notice - Прост информационен банер
 */

.gdpr-cookie-banner {
    --gdpr-primary: #003366;
    --gdpr-bg: #ffffff;
    
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    background: var(--gdpr-bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    visibility: hidden;
}

.gdpr-cookie-banner.gdpr-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.gdpr-cookie-banner.gdpr-bottom {
    bottom: 0;
    border-top: 1px solid #e0e0e0;
}

.gdpr-cookie-banner.gdpr-top {
    top: 0;
    bottom: auto;
    transform: translateY(-100%);
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gdpr-cookie-banner.gdpr-top.gdpr-visible {
    transform: translateY(0);
}

.gdpr-cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gdpr-cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.gdpr-cookie-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--gdpr-primary);
}

.gdpr-cookie-icon svg {
    width: 100%;
    height: 100%;
}

.gdpr-cookie-text-wrap {
    color: #333;
}

.gdpr-cookie-text-wrap strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gdpr-primary);
    font-size: 15px;
}

.gdpr-cookie-text-wrap p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}

.gdpr-cookie-text-wrap a {
    color: var(--gdpr-primary);
    text-decoration: underline;
}

.gdpr-cookie-text-wrap a:hover {
    text-decoration: none;
}

.gdpr-accept-btn {
    flex-shrink: 0;
    background: var(--gdpr-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.gdpr-accept-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.gdpr-accept-btn:active {
    transform: translateY(0);
}

/* Hiding animation */
.gdpr-cookie-banner.gdpr-hiding {
    transform: translateY(100%);
    opacity: 0;
}

.gdpr-cookie-banner.gdpr-top.gdpr-hiding {
    transform: translateY(-100%);
}

/* Responsive */
@media (max-width: 768px) {
    .gdpr-cookie-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .gdpr-cookie-content {
        flex-direction: column;
    }
    
    .gdpr-cookie-icon {
        width: 32px;
        height: 32px;
    }
    
    .gdpr-accept-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .gdpr-cookie-banner {
        transition: none;
    }
}

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