/* cookie.css - компактный баннер */
.cookie-consent-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    z-index: 10000;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    border: 1px solid #e2e8f0;
}

.cookie-consent-modal.show {
    display: block;
    animation: slideIn 0.25s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-modal-content {
    padding: 1rem 1.25rem;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cookie-icon {
    font-size: 1.25rem;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.cookie-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.cookie-modal-body p {
    font-size: 0.8rem;
    color: #475569;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #334155;
    cursor: pointer;
}

.cookie-option input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #3b82f6;
}

.cookie-option input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 8px;
}

.btn-cookie-primary {
    flex: 1;
    padding: 8px 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-primary:hover {
    background: #2563eb;
}

.btn-cookie-secondary {
    flex: 1;
    padding: 8px 12px;
    background: #f1f5f9;
    color: #334155;
    border: none;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-secondary:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .cookie-consent-modal {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
    }
    
    .cookie-options {
        gap: 8px;
    }
}
.cookie-policy-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.75rem;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}