#escom-cookie-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 550px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 999999;
    font-family: sans-serif;
    padding: 15px;
    box-sizing: border-box;
}

.escom-hidden { display: none !important; }

/* Header & Logo */
.escom-header { 
    display: flex; 
    justify-content: space-between; 
    padding: 10px 5px 20px 5px; 
    align-items: center; 
    flex-wrap: wrap;
    gap: 10px;
}

.escom-header-left { 
    display: flex; 
    align-items: center; 
    flex: 1;
}

.escom-logo { 
    height: 40px; 
    width: auto; 
    margin-right: 10px;
}

.escom-header-title { 
    font-size: 19px; 
    font-weight: 500; 
    color: #333;
    flex: 1 1 100%;
    text-align: center;
}

.escom-close-x { 
    cursor: pointer; 
    padding: 5px;
    display: flex;
    align-items: center;
}

.escom-close-x svg line {
    stroke: #F8858A !important;
}

.escom-close-x:hover svg line {
    stroke: #000000 !important;
}

/* Body tartalom */
.escom-main-text { 
    font-size: 14px; 
    color: #444; 
    line-height: 1.5; 
    margin: 0 5px 20px 5px; 
}

/* Kategória sorok */
.escom-settings-hidden { display: none; }
.escom-scroll-container { 
    max-height: 300px; 
    overflow-y: auto; 
    margin: 0 5px 15px 5px;
}

.escom-cat-item { 
    border-radius: 6px; 
    background: #f8f9fa;
    margin-bottom: 8px; 
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.escom-cat-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 15px;
    cursor: pointer;
}

.cat-title { font-weight: 500; font-size: 15px; color: #333; }
.escom-cat-right { display: flex; align-items: center; gap: 12px; }

/* Nyíl ikon SVG */
.chevron-icon {
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
}
.active .chevron-icon { transform: rotate(180deg); }

.escom-cat-desc { 
    display: none; 
    padding: 10px 15px 15px; 
    font-size: 13px; 
    color: #666; 
    line-height: 1.4;
    background: #fff;
    border-top: 1px solid #eee;
}

/* Gombok és Footer */
.escom-footer { 
    display: flex; 
    gap: 8px; 
    padding: 10px 5px;
    justify-content: space-between;
}
.btn { 
    flex: 1;
    width: 0;
    min-width: 0;
    padding: 12px 2px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 12px; 
    text-transform: uppercase;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.escom-links { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 10px;
}
.escom-links a { font-size: 12px; color: #666; text-decoration: underline; transition: color 0.2s ease; }

/* Kapcsoló (Switch) */
.switch { position: relative; width: 40px; height: 22px; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 22px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #F8858A; }
input:checked + .slider:before { transform: translateX(18px); }
.always-active { color: #2ecc71; font-size: 13px; font-weight: 500; }

/* Visszanyitó fül Süti ikonnal */
#escom-manage-consent-tab {
    position: fixed;
    bottom: 0;
    right: 50px;
    width: 45px;
    height: 35px;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 999998;
    border: 1px solid #eee;
    border-bottom: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    gap: 8px;
    overflow: hidden;
}

.escom-cookie-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #F8858A;
}

#escom-manage-consent-tab span {
    opacity: 0;
    max-width: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    overflow: hidden;
}

#escom-manage-consent-tab:hover {
    width: auto;
    padding: 0 15px;
}

#escom-manage-consent-tab:hover span {
    opacity: 1;
    max-width: 200px;
    margin-left: 4px;
}

/* Mobil finomítások */
@media (max-width: 600px) {
    #escom-cookie-wrapper {
        width: calc(100% - 20px);
        right: 10px;
        left: 10px;
        bottom: 10px;
        padding: 10px;
    }

    .escom-header-title {
        text-align: left;
        font-size: 17px;
        order: 3;
        margin-top: 85px;
    }

    .escom-header-left {
        flex: 0 1 auto;
    }

    .escom-header {
        margin-top: -40px;
    }

    .btn {
        font-size: 11px;
        padding: 10px 2px;
    }
}