
/* NUJIZ APPS CARDS UNIFIED DESIGN V1 */

html[data-theme="dark"] body .apps-directory .app-card {
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    background:#171B24 !important;
    border:1px solid #343B49 !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

/* Tool title */
html[data-theme="dark"] body .apps-directory .app-card h3 {
    position:relative !important;
    top:auto !important;
    transform:none !important;
    display:block !important;
    width:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:12px 14px 10px !important;
    padding:12px 10px !important;
    background:#242033 !important;
    border:1px solid #3D3655 !important;
    border-radius:10px !important;
    color:#FFFFFF !important;
    -webkit-text-fill-color:#FFFFFF !important;
    font-size:19px !important;
    font-weight:800 !important;
    line-height:1.5 !important;
    text-align:center !important;
    overflow-wrap:anywhere !important;
    opacity:1 !important;
}

/* Description */
html[data-theme="dark"] body .apps-directory .app-card > p {
    margin:0 14px 16px !important;
    padding:0 4px !important;
    color:#B9C1CE !important;
    -webkit-text-fill-color:#B9C1CE !important;
    font-size:15px !important;
    font-weight:500 !important;
    line-height:1.8 !important;
    opacity:1 !important;
}

/* Metadata */
html[data-theme="dark"] body .apps-directory .app-card-meta {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:7px !important;
    margin-top:auto !important;
    min-width:0 !important;
}

html[data-theme="dark"] body .apps-directory .app-card-meta span {
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    line-height:1.5 !important;
}

/* Card action */
html[data-theme="dark"] body .apps-directory .app-card > a {
    flex-shrink:0 !important;
}

/* Mobile */
@media(max-width:640px) {
    html[data-theme="dark"] body .apps-directory .app-card h3 {
        font-size:17px !important;
        margin:10px 12px 9px !important;
        padding:10px 8px !important;
    }

    html[data-theme="dark"] body .apps-directory .app-card > p {
        font-size:14px !important;
        margin:0 12px 14px !important;
    }
}


/* NUJIZ APPS FILTER VISIBILITY FIX */
html body .apps-directory .app-card[hidden],
html body #appsGrid .app-card[hidden] {
    display: none !important;
}
