.cookie-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-panel.show {
    transform: translateY(0);
}

.cookie-panel.hiding {
    transform: translateY(100%);
}

.cookie-panel-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-panel-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    min-width: 300px;
}

.cookie-panel-text a {
    color: #4CAF50;
    text-decoration: underline;
}

.cookie-panel-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.cookie-panel-button:hover {
    opacity: 0.9;
}

.cookie-panel-button:active {
    transform: scale(0.98);
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-panel-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-panel-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-panel-button {
        align-self: center;
        width: auto;
        min-width: 200px;
    }
}

/* Для текста с большим объемом */
.cookie-panel-text {
    max-height: 200px;
    overflow-y: auto;
}

.cookie-panel-text::-webkit-scrollbar {
    width: 6px;
}

.cookie-panel-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.cookie-panel-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.cookie-panel-text::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
