/* ==========
   LAYOUT V2
========== */

.fx-sidebar{
    display:none;
}

.fx-app{
    display:flex;
    flex-direction:column;
    min-height:100vh;
    background:#f5f7fb;
}

.fx-main{
    width:100%;
    margin:0;
    padding:0;
}

.fx-content{
    width:100%;
    max-width:none;
    margin:0;
    padding:28px 32px 40px;
    box-sizing:border-box;
}

@media (max-width:900px){
    .fx-content{
        padding:24px 20px 32px;
    }
}

@media (max-width:620px){
    .fx-content{
        padding:18px 14px 28px;
    }
}

/* =====================================================
   Override do layout legado (admin.css)
===================================================== */

.fx-app{
    display:flex !important;
    flex-direction:column !important;
    width:100%;
    min-height:100vh;
}

.fx-main{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    padding:0;
}

.fx-content{
    width:100%;
    max-width:none !important;
    margin:0 !important;
    padding:28px 32px 40px;
    box-sizing:border-box;
}


/* ==========================================================
   GLOBAL UTILITIES
   ========================================================== */

.fx-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    width:100%;
    max-width:100%;
}

.fx-grid > *{
    min-width:0;
}

.fx-mb{
    margin-bottom:28px;
}

.fx-empty,
.empty{
    text-align:center;
    padding:28px;
    color:var(--muted);
}

.fx-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.fx-info-grid div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:16px;
}

.fx-info-grid strong{
    display:block;
    font-size:12px;
    text-transform:uppercase;
    color:#6b7280;
    margin-bottom:8px;
}

.fx-info-grid span{
    font-size:15px;
    color:#111827;
}

.fx-mobile-overlay{
    display:none;
}

@media (max-width:768px){

    .fx-content{
        padding:18px !important;
    }

    .fx-hero{
        padding:24px !important;
        border-radius:18px;
    }

    .fx-grid{
        grid-template-columns:1fr;
    }

}

/* FOXMAIA GLOBAL UTILITIES — UI-03.4 */

.fx-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    width:100%;
    max-width:100%;
}

.fx-grid > *{
    min-width:0;
}

.fx-mb{
    margin-bottom:28px;
}

.fx-empty,
.empty{
    text-align:center;
    padding:28px;
    color:var(--muted);
}

.fx-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.fx-info-grid div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:16px;
}

.fx-info-grid strong{
    display:block;
    font-size:12px;
    text-transform:uppercase;
    color:#6b7280;
    margin-bottom:8px;
}

.fx-info-grid span{
    font-size:15px;
    color:#111827;
}

.fx-mobile-overlay{
    display:none;
}

@media (max-width:768px){

    .fx-content{
        padding:18px !important;
    }

    .fx-hero{
        padding:24px !important;
        border-radius:18px;
    }

    .fx-grid{
        grid-template-columns:1fr;
    }

}

