/* assets/css/cookie.css */

/* Banner keret */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #344E41;
    color: #ffffff;
    z-index: 99999;
    box-shadow: 0 -4px 12px #ffffff;
    padding: 20px 0;
    border-top: 1px solid #444;
    font-family: 'Roboto', sans-serif; /* Vagy a site fontja */
    display: none; /* Alapból rejtve, JS kezeli */
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

/* Gombok */
/* A "Mégse" gomb tipográfiájának és stílusának visszaállítása */
.cookie-btn.cookie-btn-settings {
  font-size: 14px !important;
  color: #333333 !important; /* Igazítsa a többi gomb szövegszínéhez */
  font-weight: 500;
  background-color: transparent;
  border: 1px solid #cccccc;
  line-height: 1.4;
}
.cookie-btn.cookie-btn-settings:hover {
  background-color: #f5f5f5;
  border-color: #999999;
}

.cookie-btn-accept {
    background: #ffffff;
    color: #2a2b2b;
}

.cookie-btn-accept:hover {
    background: #e0e0e0;
}

.cookie-btn-settings:hover {
    border-color: #ffffff;
}

/* Modal (Felugró ablak) */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: none; /* JS kezeli */
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: #ffffff;
    color: #333333;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888888;
}

.cookie-category { margin-bottom: 20px; }
.cookie-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* Toggle Switch */
.cookie-category-toggle {
    width: 48px; height: 26px; background: #cccccc; border-radius: 26px;
    position: relative; cursor: pointer; transition: background 0.3s ease;
}
.cookie-category-toggle.active { background: #4caf50; }
.cookie-category-toggle.disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-category-toggle-slider {
    width: 22px; height: 22px; background: #ffffff; border-radius: 50%;
    position: absolute; top: 2px; left: 2px; transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.cookie-category-toggle.active .cookie-category-toggle-slider { left: 24px; }
.cookie-category-description { font-size: 13px; color: #666666; margin: 0; }
.cookie-modal-footer {
    display: flex; justify-content: flex-end; gap: 12px;
    margin-top: 25px; border-top: 1px solid #eeeeee; padding-top: 20px;
}


/* Gombok alapbeállításai (tipográfia) */
.cookie-btn {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    padding: 10px 24px;
    border-radius: 8px; /* Kicsit lágyabb sarkok */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* „Beállítások” gomb - Sage Green (Lágy zöld) */
/* Fontos: A világos zöldön a sötét szöveg olvashatóbb */
.cookie-btn-settings {
    background-color: #A3B18A !important;
    color: #2C3639 !important; /* Sötét szöveg a jobb olvashatóságért */
    border: 1px solid #A3B18A !important;
}

.cookie-btn-settings:hover {
    background-color: #8f9f76 !important; /* Enyhén sötétebb hover */
    color: #1a2224 !important;
}

/* „Összes elfogadása” gomb - Soft Beige (Lágy bézs) */
.cookie-btn-accept, .cookie-btn-save {
    background-color: #E6D2B5 !important; /* Krémesebb, lágyabb bézs */
    color: #2C3639 !important; /* Sötét szöveg */
    border: 1px solid #E6D2B5 !important;
}

.cookie-btn-accept:hover, .cookie-btn-save:hover {
    background-color: #d9c2a1 !important;
}