/*
 Theme Name:   Hello Elementor Child
 Description:  Solar Trade Europe Zrt. egyedi fejlesztésű sablon
 Author:       VaooDesign
 Template:     hello-elementor
 Version:      1.0.0
*/

/* ======================================================== */
/* GLOBÁLIS MAIN FONTKÉSZLET                                */
/* ======================================================== */

/* Inter - Normál (400) */  
@font-face {      
    font-family: 'Inter';    
    font-style: normal;     
    font-weight: 400;    
    font-display: swap; 
    src: url('./fonts/inter-v20-latin-regular.woff2') format('woff2');  
}        

/* Inter - 500 */     
@font-face {        
    font-family: 'Inter';   
    font-style: normal;     
    font-weight: 500;     
    font-display: swap;     
    src: url('./fonts/inter-v20-latin-500.woff2') format('woff2');   
}             

/* Inter - 600 */  
@font-face {         
    font-family: 'Inter';  
    font-style: normal;    
    font-weight: 600;     
    font-display: swap;   
    src: url('./fonts/inter-v20-latin-600.woff2') format('woff2');   
}             

/* Inter - 700 */   
@font-face {        
    font-family: 'Inter'; 
    font-style: normal;   
    font-weight: 700;     
    font-display: swap;    
    src: url('./fonts/inter-v20-latin-700.woff2') format('woff2'); 
} /* <--- EZ A ZÁRÓJEL HIÁNYZOTT! */

/* ======================================================== */
/* GLOBÁLIS LAYOUT (Hello Elementor Theme)                  */
/* ======================================================== */

body {                          
    display: flex;             
    flex-direction: column;       
    min-height: 100vh;        
    margin: 0;             
}                   

/* A középső tartalmi konténer megnyújtása */
.site-main,          
main,                                       
.elementor-location-archive,   
.elementor-location-single,   
[data-elementor-type="wp-page"] {   
    flex-grow: 1;                  
    display: flex;               
    flex-direction: column;           
}

/* ======================================================== */
/* FOOTER RAGASZTÁSA A KÉPERNYŐ ALJÁRA                      */
/* ======================================================== */

/* 1. Alapok magasságának beállítása */
html, body {
    margin: 0;
    padding: 0;
    min-height: 90vh;
}

/* 2. A külső Jet wrapper rugalmassá tétele */
#jet-theme-core-document {
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}

/* 3. A belső Jet wrapper rugalmassá tétele */
.jet-theme-core-document__inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

/* 4. A lábléc letolása a rugalmas konténer aljára */
#jet-theme-core-footer {
    margin-top: auto !important;
    width: 100%;
}

/* ======================================================== */
/* LEAD MANAGER LISTAELEM IKON MENÜ                         */
/* ======================================================== */

.crm-action-menu .crm-dropdown {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.2s ease-in-out;
    transform: translateY(10px);
}

.crm-action-menu:hover .crm-dropdown,
.crm-action-menu:focus-within .crm-dropdown {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

/* ======================================================== */
/* SAAS AURORA HÁTTÉR ANIMÁCIÓ                              */
/* ======================================================== */

.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%;
    background-attachment: fixed;
    animation: auroraBreathe 10s ease-in-out infinite alternate;
}

@keyframes auroraBreathe {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ======================================================== */
/* HISTORY PANEL                                            */
/* ======================================================== */

.history-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    height: 100vh !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2) !important;
    transform: translateX(100%) !important; 
    transition: transform 0.4s ease-in-out !important;
    overflow-y: auto !important; 
    overflow-x: hidden !important; 
}

.history-panel.panel-nyitva {
    transform: translateX(0) !important;
}

@media (max-width: 767px) {
    .history-panel {
        max-width: 100% !important;
    }
}