body{
    background:#f5f7fb;
    font-family:Inter,Arial,sans-serif;
}

.foodlex-container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

.foodlex-page h1{
    font-size:38px;
    margin-bottom:10px;
}

.foodlex-subtitle{
    color:#777;
    margin-bottom:35px;
}

.foodlex-term-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:25px;
}

.foodlex-term-card{

    background:#fff;

    border-radius:16px;

    padding:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.foodlex-term-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.foodlex-term-card h2{

    margin-bottom:15px;

    color:#224099;

}

.foodlex-button{

display:inline-block;

margin-top:20px;

padding:10px 20px;

background:#224099;

color:#fff;

border-radius:8px;

text-decoration:none;

}

.foodlex-button:hover{

background:#162d70;

color:white;

}
.foodlex-single{
    background:#f5f7fb;
    min-height:100vh;
}

.foodlex-single-container{
    max-width:1100px;
    margin:auto;
    padding:50px 20px;
}

.foodlex-back{
    display:inline-block;
    margin-bottom:25px;
    color:#224099;
    text-decoration:none;
    font-weight:600;
}

.foodlex-hero{
    background:#fff;
    border-radius:24px;
    padding:40px;
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:30px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.foodlex-hero h1{
    font-size:46px;
    margin:0 0 10px;
    color:#222;
}

.foodlex-pronunciation{
    font-size:20px;
    color:#666;
    margin-bottom:20px;
}

.foodlex-badges span{
    display:inline-block;
    background:#eef3ff;
    color:#224099;
    padding:8px 14px;
    border-radius:999px;
    margin:0 8px 8px 0;
    font-weight:600;
}

.foodlex-image img{
    width:100%;
    border-radius:18px;
    object-fit:cover;
}

.foodlex-content-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.foodlex-block{
    background:#fff;
    border-radius:20px;
    padding:28px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.foodlex-block.wide{
    grid-column:1 / -1;
}

.foodlex-block h2{
    margin-top:0;
    color:#224099;
}

.foodlex-example{
    font-size:20px;
    font-style:italic;
}

@media(max-width:800px){
    .foodlex-hero,
    .foodlex-content-grid{
        grid-template-columns:1fr;
    }
}
.foodlex-search{
    width:100%;
    max-width:500px;
    padding:16px 18px;
    border:1px solid #ddd;
    border-radius:14px;
    margin-bottom:30px;
    font-size:16px;
}

.foodlex-clickable-card{
    display:block;
    text-decoration:none;
    color:inherit;
}

.foodlex-clickable-card:hover{
    color:inherit;
}
.foodlex-layout{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:30px;
}

.foodlex-sidebar{
    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    height:max-content;
}

.foodlex-sidebar h3{
    margin-top:0;
}

.foodlex-filter{
    display:block;
    width:100%;
    text-align:left;
    padding:11px 14px;
    margin-bottom:8px;
    border:0;
    border-radius:10px;
    background:#f3f5f9;
    cursor:pointer;
    font-weight:600;
}

.foodlex-filter.active,
.foodlex-filter:hover{
    background:#224099;
    color:#fff;
}

@media(max-width:850px){
    .foodlex-layout{
        grid-template-columns:1fr;
    }
}
.foodlex-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:24px;
}

.foodlex-dashboard-card{
    display:block;
    background:#fff;
    border-radius:20px;
    padding:28px;
    text-decoration:none;
    color:inherit;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
    transition:.25s;
}

.foodlex-dashboard-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 35px rgba(0,0,0,.12);
    color:inherit;
}

.foodlex-dashboard-card h2{
    color:#224099;
    margin-top:0;
}
.foodlex-logout{
    display:inline-block;
    margin-bottom:25px;
    padding:10px 18px;
    background:#222;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
}

.foodlex-logout:hover{
    background:#000;
    color:#fff;
}
.foodlex-exercise-content{
    font-size:18px;
    line-height:1.7;
}

.foodlex-exercise-content input,
.foodlex-exercise-content textarea,
.foodlex-exercise-content select{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:12px;
    margin:10px 0 20px;
}

.foodlex-exercise-content button{
    padding:12px 22px;
    background:#224099;
    color:#fff;
    border:0;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}
.foodlex-course-thumb{
    margin:-28px -28px 20px;
    height:180px;
    overflow:hidden;
    border-radius:20px 20px 0 0;
}

.foodlex-course-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.foodlex-course-builder{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.foodlex-builder-left,
.foodlex-builder-right{
    background:#fff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    min-height:500px;
}

.foodlex-builder-item,
.foodlex-builder-selected{

    background:#f5f7fb;

    border:1px solid #ddd;

    border-radius:12px;

    padding:14px 16px;

    margin-bottom:10px;

    cursor:pointer;

    transition:.2s;

}

.foodlex-builder-item:hover{

    background:#224099;

    color:#fff;

}

.foodlex-builder-selected{

    background:#224099;

    color:#fff;

}
.foodlex-builder-item,
.foodlex-builder-selected{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.foodlex-builder-edit{
    font-size:13px;
    background:#fff;
    color:#224099;
    padding:5px 9px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.foodlex-builder-edit:hover{
    background:#eef3ff;
    color:#224099;
}
.foodlex-login-page{
    min-height:100vh;
    background:linear-gradient(135deg,#eef3ff,#f7f9fc);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
}

.foodlex-login-box{
    max-width:1100px;
    width:100%;
    text-align:center;
}

.foodlex-login-box h1{
    font-size:54px;
    color:#224099;
    margin-bottom:10px;
}

.foodlex-login-subtitle{
    font-size:20px;
    color:#666;
    margin-bottom:35px;
}

.foodlex-login-box h2{
    margin-bottom:30px;
}

.foodlex-role-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.foodlex-role-card{
    background:#fff;
    border-radius:24px;
    padding:35px 28px;
    text-decoration:none;
    color:inherit;
    box-shadow:0 14px 35px rgba(0,0,0,.08);
    transition:.25s;
}

.foodlex-role-card:hover{
    transform:translateY(-7px);
    box-shadow:0 20px 45px rgba(0,0,0,.13);
    color:inherit;
}

.foodlex-role-icon{
    font-size:44px;
    margin-bottom:15px;
}

.foodlex-role-card h3{
    color:#224099;
    font-size:26px;
    margin-bottom:12px;
}

.foodlex-role-card p{
    color:#666;
    min-height:70px;
}

.foodlex-role-card span{
    display:inline-block;
    margin-top:18px;
    color:#224099;
    font-weight:700;
}
.foodlex-page-hero{
    background:linear-gradient(135deg,#f7fff0,#e8ffd1,#ffffff);
    border-radius:0 0 36px 36px;
    padding:70px 20px;
    margin-bottom:45px;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.foodlex-page-hero::before{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    background:rgba(142,210,68,.18);
    border-radius:50%;
    top:-120px;
    left:-120px;
}

.foodlex-page-hero::after{
    content:"";
    position:absolute;
    width:460px;
    height:260px;
    background:rgba(142,210,68,.22);
    border-radius:50%;
    right:-120px;
    bottom:-120px;
}

.foodlex-page-hero h1{
    position:relative;
    z-index:2;
    font-size:48px;
    color:#173f1a;
    margin:0 0 12px;
}

.foodlex-page-hero p{
    position:relative;
    z-index:2;
    font-size:18px;
    color:#4d6b4d;
    margin:0;
}
.foodlex-login-screen{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:40px;
    padding:70px 9%;
    background:
        radial-gradient(circle at 10% 20%, rgba(153,220,80,.23), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(153,220,80,.28), transparent 30%),
        linear-gradient(135deg,#fbfff4,#f2ffe3,#ffffff);
}

.foodlex-login-left{
    padding:40px;
}

.foodlex-login-logo{
    display:flex;
    align-items:center;
    gap:24px;
    margin-bottom:55px;
}

.foodlex-login-logo img{
    width:560px;
    max-width:100%;
    height:auto;
    display:block;
}

.foodlex-login-logo h1{
    font-size:64px;
    margin:0;
    color:#0d3b26;
    font-weight:800;
}

.foodlex-login-logo h1 span{
    color:#4caf21;
}

.foodlex-login-logo p{
    color:#268000;
    font-size:18px;
    margin:8px 0 0;
    line-height:1.5;
}

.foodlex-login-text{
    border-top:1px solid rgba(0,0,0,.12);
    padding-top:35px;
    max-width:470px;
}

.foodlex-login-text p{
    font-size:22px;
    line-height:1.35;
    color:#1d1d1d;
    margin:0 0 12px;
}

.foodlex-login-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:26px;
    padding:52px;
    max-width:620px;
    width:100%;
    box-shadow:0 20px 55px rgba(0,0,0,.10);
}

.foodlex-login-card h2{
    text-align:center;
    font-size:38px;
    color:#063b22;
    margin:0 0 8px;
}

.foodlex-login-note{
    text-align:center;
    font-size:20px;
    color:#555;
    margin-bottom:40px;
}

.foodlex-login-label{
    display:block;
    font-size:18px;
    font-weight:600;
    margin-bottom:14px;
}

.foodlex-role-tabs{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:35px;
}

.foodlex-role-tabs button{
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:18px 12px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.foodlex-role-tabs button.active{
    background:#effada;
    border-color:#9bd66d;
    color:#278000;
}

.foodlex-input{
    display:flex;
    align-items:center;
    gap:16px;
    border:1px solid #ddd;
    border-radius:13px;
    padding:0 18px;
    margin-bottom:20px;
    height:68px;
    background:#fff;
}

.foodlex-input span{
    font-size:22px;
}

.foodlex-input input{
    border:0;
    outline:0;
    width:100%;
    font-size:18px;
    background:transparent;
}

.foodlex-login-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:22px 0 30px;
    color:#555;
}

.foodlex-login-row a,
.foodlex-contact a{
    color:#2e9b12;
    text-decoration:none;
    font-weight:600;
}

.foodlex-signin-btn{
    width:100%;
    height:68px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg,#5fc432,#329b14);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(68,170,34,.25);
}

.foodlex-contact{
    text-align:center;
    margin:30px 0 0;
    color:#555;
}

.foodlex-login-error{
    background:#ffe8e8;
    color:#b00020;
    padding:14px 18px;
    border-radius:10px;
    margin-bottom:22px;
    font-weight:600;
}

@media(max-width:950px){
    .foodlex-login-screen{
        grid-template-columns:1fr;
        padding:40px 20px;
    }

    .foodlex-login-left{
    display:flex;
    flex-direction:column;
    justify-content:center;
    }
    
    .foodlex-login-logo{
        display:block;
        margin-bottom:45px;
    }
    
    .foodlex-login-logo div{
        display:none;
    }

    .foodlex-login-logo{
        justify-content:center;
        flex-direction:column;
    }

    .foodlex-login-card{
        padding:32px 22px;
    }

    .foodlex-role-tabs{
        grid-template-columns:1fr;
    }
}
.foodlex-app{
    min-height:100vh;
    display:grid;
    grid-template-columns:280px 1fr;
    background:#fbfff7;
}

.foodlex-sidebar-app{
    background:#fff;
    border-right:1px solid #eef1e8;
    padding:35px 24px;
}

.foodlex-sidebar-logo{
    width:210px;
    display:block;
    margin-bottom:45px;
}

.foodlex-sidebar-app nav a{
    display:block;
    padding:15px 18px;
    margin-bottom:8px;
    border-radius:12px;
    color:#111;
    text-decoration:none;
    font-weight:600;
}

.foodlex-sidebar-app nav a.active,
.foodlex-sidebar-app nav a:hover{
    background:#eefada;
    color:#2f8c12;
}

.foodlex-main-app{
    padding:45px;
    background:
        radial-gradient(circle at 80% 0%, rgba(168,230,93,.22), transparent 25%),
        #fbfff7;
}

.foodlex-app-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.foodlex-app-header h1{
    font-size:42px;
    color:#063b22;
    margin:0 0 8px;
}

.foodlex-app-header p{
    margin:0;
    font-size:18px;
    color:#555;
}

.foodlex-green-btn{
    background:linear-gradient(135deg,#5fc432,#329b14);
    color:#fff;
    padding:15px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
}

.foodlex-course-toolbar{
    background:#fff;
    border:1px solid #edf1e7;
    border-radius:22px;
    padding:28px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:20px;
    margin-bottom:35px;
    box-shadow:0 12px 30px rgba(0,0,0,.04);
}

.foodlex-course-toolbar input,
.foodlex-course-toolbar select{
    height:54px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 18px;
    font-size:16px;
}

.foodlex-course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:28px;
}

.foodlex-course-card{
    background:#fff;
    border:1px solid #edf1e7;
    border-radius:24px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    box-shadow:0 14px 35px rgba(0,0,0,.06);
    transition:.25s;
}

.foodlex-course-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.10);
    color:inherit;
}

.foodlex-course-visual{
    height:210px;
    background:linear-gradient(135deg,#f1ffe4,#ffffff);
    display:flex;
    align-items:center;
    justify-content:center;
}

.foodlex-course-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.foodlex-course-icon{
    font-size:64px;
}

.foodlex-course-body{
    padding:26px;
}

.foodlex-course-tag{
    display:inline-block;
    background:#eefada;
    color:#2f8c12;
    padding:7px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:12px;
}

.foodlex-course-body h2{
    font-size:24px;
    color:#063b22;
    margin:0 0 12px;
}

.foodlex-course-body p{
    color:#555;
    line-height:1.6;
    min-height:52px;
}

.foodlex-progress-line{
    height:8px;
    background:#edf1e7;
    border-radius:20px;
    overflow:hidden;
    margin:20px 0;
}

.foodlex-progress-line span{
    display:block;
    height:100%;
    background:#55b72a;
    border-radius:20px;
}

.foodlex-course-meta{
    display:flex;
    justify-content:space-between;
    color:#555;
    font-size:14px;
    margin-bottom:20px;
}

.foodlex-course-body button{
    width:100%;
    border:1px solid #55b72a;
    background:#fff;
    color:#2f8c12;
    padding:14px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

@media(max-width:900px){
    .foodlex-app{
        grid-template-columns:1fr;
    }

    .foodlex-sidebar-app{
        display:none;
    }

    .foodlex-main-app{
        padding:25px;
    }

    .foodlex-course-toolbar{
        grid-template-columns:1fr;
    }
}