/**
 * GDPR Cookie Consent egyéni stílusok
 * A vanilla-cookieconsent alapértelmezett stílusainak testreszabása
 */

/* Cookie Consent modal háttér */
#cc-main {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Cookie modal testreszabás */
#cm {
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Modal címek */
.cm__title,
.pm__title {
    color: #333 !important;
    font-weight: 700 !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* Modal szövegek */
.cm__desc,
.pm__section-desc,
.pm__section-desc-text {
    color: #555 !important;
    line-height: 1.6 !important;
}

/* Linkek stílusa */
.cc-link,
a.cc-link {
    color: #d4af37 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.3s ease;
}

.cc-link:hover,
a.cc-link:hover {
    color: #b8860b !important;
}

/* Gombok alapértelmezett stílusa */
.cm__btn,
.pm__btn {
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
}

/* Elfogad gombok (Összes elfogadása) */
.cm__btn--primary,
.pm__btn--primary {
    background: linear-gradient(135deg, #f8e7a1 0%, #d4af37 25%, #b8860b 50%, #d4af37 75%, #f8e7a1 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3) !important;
}

.cm__btn--primary:hover,
.pm__btn--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4) !important;
}

/* Másodlagos gombok (Csak szükségesek, Beállítások) */
.cm__btn--secondary,
.pm__btn--secondary {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 2px solid #ddd !important;
}

.cm__btn--secondary:hover,
.pm__btn--secondary:hover {
    background-color: #e8e8e8 !important;
    border-color: #ccc !important;
}

/* Toggle kapcsolók */
.section__toggle {
    background-color: #ccc !important;
}

.section__toggle.toggle--checked {
    background-color: #d4af37 !important;
}

.toggle__icon-on,
.toggle__icon-off {
    transition: transform 0.3s ease !important;
}

/* Beállítások modal */
#s-inr {
    border-radius: 12px !important;
}

/* Section headers */
.pm__section-title {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 17px !important;
}

/* Cookie táblázat stílus */
.cookie-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 15px;
}

.cookie-table th,
.cookie-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-table th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.cookie-table td {
    color: #666;
    font-size: 14px;
}

/* Footer */
.cm__footer {
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Bezárás gomb */
.pm__close-btn {
    background-color: transparent !important;
    color: #666 !important;
    font-size: 24px !important;
    transition: color 0.3s ease !important;
}

.pm__close-btn:hover {
    color: #333 !important;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    #cm {
        margin: 20px !important;
        max-width: calc(100% - 40px) !important;
    }
    
    .cm__btn,
    .pm__btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .cm__title,
    .pm__title {
        font-size: 20px !important;
    }
    
    .cm__desc,
    .pm__section-desc {
        font-size: 14px !important;
    }
}

/* Animációk */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cm.show {
    animation: slideUp 0.4s ease-out;
}

/* Dark mode support (opcionális) */
@media (prefers-color-scheme: dark) {
    #cm,
    #s-inr {
        background-color: #2a2a2a !important;
    }
    
    .cm__title,
    .pm__title,
    .pm__section-title {
        color: #f0f0f0 !important;
    }
    
    .cm__desc,
    .pm__section-desc,
    .pm__section-desc-text {
        color: #c0c0c0 !important;
    }
    
    .cm__btn--secondary,
    .pm__btn--secondary {
        background-color: #3a3a3a !important;
        color: #f0f0f0 !important;
        border-color: #555 !important;
    }
}
