/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/



/*========================================================
/* LEAD MANAGER LISTAELEM IKON MENÜ
/*========================================================*/
/* Alapból elrejtjük a legördülő menüt */
.crm-action-menu .crm-dropdown {
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: translateY(10px); /* Kicsit lejjebbről indul az animáció */
}

/* Asztali nézet: Egér ráhúzására megjelenik a menü */
.crm-action-menu:hover .crm-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Mobil nézet: Kattintásra (fókuszba kerülésre) megjelenik a menü */
.crm-action-menu:focus-within .crm-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.saas-aurora-bg {
    background-color: #9d005c;
    background-image: 
        radial-gradient(circle at 85% 90%, rgba(124, 58, 237, 0.6) 0%, transparent 60%),
        radial-gradient(circle at 15% 10%, rgba(219, 39, 119, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, #6b0042 0%, #c40076 50%, #5c0037 100%);
    background-size: 150% 150%; /* Nagyobbra vesszük a hátteret a mozgáshoz */
    background-attachment: fixed;
    
    /* Az animáció meghívása (15 másodperc alatt ér körbe, végtelenítve) */
    animation: auroraBreathe 10s ease-in-out infinite alternate;
}

/* Az animáció kulcskockái */
@keyframes auroraBreathe {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* SZAKI GYORSSZERKESZŐ PANEL */
#szaki-hl-halyog {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0); z-index: 99998; 
    }
    #szaki-hl-panel {
        position: fixed; top: 0; left: 0; width: 500px; max-width: 100vw; height: 100%;
        background: #fff; box-shadow: 5px 0 25px rgba(0,0,0,0.15); padding: 30px 20px;
        z-index: 99999; font-family: inherit; box-sizing: border-box; overflow-y: auto;
        transform: translateX(-105%); transition: transform 0.3s ease-in-out;
    }
    #szaki-hl-panel.nyitva { transform: translateX(0); }
    
    .szaki-hl-csoport { margin-bottom: 20px;}
    .szaki-hl-label { display: block; margin-bottom: 8px; font-weight: 400; font-size: 15px; color: #39515E; letter-spacing: 0.5px;}
    .szaki-hl-input { width: 100%; padding: 0 16px; min-height:45px; border: 1px solid #ccc; border-radius: 8px; font-size: 15px; box-sizing: border-box; font-family: inherit; transition: border-color 0.2s;}
    .szaki-hl-input:focus { border-color: #0F2532; outline: none; }
    textarea.szaki-hl-input { resize: vertical; min-height: 100px; padding-top: 12px;}
    .szaki-hl-loading { opacity: 0.5; pointer-events: none; }
    /* --- MODERN SWITCHER (KAPCSOLÓ) STÍLUS --- */
    .szaki-hl-input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 46px !important;
        height: 24px !important;
        min-height: 24px !important;
        background: #cbd5e1;
        border-radius: 24px;
        position: relative;
        cursor: pointer;
        outline: none;
        border: none;
        transition: background 0.3s ease;
        margin-top: 5px;
        padding: 0 !important;
    }
    .szaki-hl-input[type="checkbox"]::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background: #ffffff;
        border-radius: 50%;
        transition: transform 0.3s ease;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .szaki-hl-input[type="checkbox"]:checked {
        background: #0F2532; /* A te sötétkék gomb/mentés színed */
    }
    .szaki-hl-input[type="checkbox"]:checked::after {
        transform: translateX(22px);
    }
    
    /* --- FŐCÍM ÉS ALCÍM --- */
    #szaki-hl-cim { 
        font-size: 20px; font-weight: 500; text-align: center; 
        color: #0F2532; margin: 0 0 0px 0; 
    }
    .szaki-hl-alcim { 
        font-size: 16px; font-weight: 500; text-align: center; 
        color: #0F2532; margin: 0 0 20px 0; 
    }

    /* --- BEZÁRÓ GOMB (Sarokban) --- */
    #szaki-hl-bezaro-x {
        position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; 
        background: #f1f5f9; border-radius: 50%; display: flex; align-items: center; 
        justify-content: center; cursor: pointer; color: #333; transition: background 0.2s ease;
    }
    #szaki-hl-bezaro-x:hover { background: #e2e8f0; }
    
    /* A panel felső paddingjét picit megnöveljük, hogy a gomb kényelmesen elférjen */
    #szaki-hl-panel { padding-top: 40px !important; }

    #szaki-hl-mentes {
        background: #0F2532; color: #fff; border: none; padding: 14px 20px; border-radius: 50px; 
        width: 100%; font-weight: 400; cursor: pointer; font-size: 16px; margin-top: 10px; 
        text-align: center; transition: background-color 0.2s ease, opacity 0.2s;
    }
    #szaki-hl-mentes:hover { background: #233D4C; }
    #szaki-hl-megsem {
        background: transparent; color: #888; border: none; padding: 12px 20px; 
        width: 100%; margin-top: 5px; cursor: pointer; font-size: 14px; font-weight: 400; text-align: center;
    }
    #szaki-hl-megsem:hover { color: #333; }
    
/*==============================================================================
         AURODA BGR - ANIMÁLT HÁTRRÉR OSZTÁLY
================================================================================                                                    */

/* --- SZAKI BLUEPRINT ANIMÁLT HÁTTÉR OSZTÁLY --- */

.szaki-anim-bg {
    position: relative;
    overflow: hidden;
    /* Mély "Tervrajz" kék alap */
    background-color: #0a192f; 
    background-image: 
        /* Jobb felső: Vibráló cián/világoskék lüktetés */
        radial-gradient(circle at 90% 10%, rgba(0, 168, 255, 0.45) 0%, transparent 55%),
        /* Bal alsó: Meleg sárga derengés (nem ér össze a kékkel, így nincs zöld) */
        radial-gradient(circle at 10% 90%, rgba(26, 2, 112, 0.3) 0%, transparent 50%),
        /* Sötétkék alap átmenet, ami mélységet ad */
        linear-gradient(135deg, #3B0270 0%, #113264 100%);
    
    background-size: 150% 150%;
    animation: szakiBlueprintBreathe 12s ease-in-out infinite alternate;
}

/* Biztosítjuk, hogy a szövegek/gombok a vászon felett legyenek */
.szaki-anim-bg > * {
    position: relative;
    z-index: 1;
}

/* A Canvas (részecskék) réteg (A JS hozza létre) */
.szaki-canvas-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* A háttér elcsúsztatása adja az Aurora lüktetést */
@keyframes szakiBlueprintBreathe {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}