.reopen-consent {
    position: absolute;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
    z-index: 900;
}

.reopen-consent:hover {
cursor:pointer;
    color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .reopen-consent {
        bottom: 15px;
        left: 15px;
        width: 36px;
        height: 36px;
    }
}

.consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
}
.consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 30px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-menu);
    z-index: 9999;
}
.consent-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.consent-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-main);
    border: none;
    transition: opacity 0.2s, background-color 0.2s;
}
.consent-btn:hover {
    opacity: 0.9;
}
.btn-accept {
    background: var(--accent);
    color: var(--on-accent);
}
.btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}
.btn-info {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}
.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
}
.modal-title {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}
.modal-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}
.modal-close {
    margin-top: 10px;
    background: var(--bg-raised);
    color: var(--text-primary);
    border: 1px solid transparent;
}
.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}
@media (max-width: 768px) {
    .consent-banner {
        bottom: 10px;
        width: 95%;
        padding: 15px;
    }
    .consent-buttons {
        flex-direction: column;
    }
    .consent-btn {
        width: 100%;
        text-align: center;
    }
}