*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

:root{
    --primary:#159447;
    --primary-dark:#0e6e34;
    --background:#edf5ef;
    --card:#ffffff;
    --border:#d8e6dc;
    --text:#2c3e32;
    --muted:#6c7b72;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:18px;
}

body{
    background:var(--background);
    color:var(--text);
}

.hero{
    background:linear-gradient(135deg,#159447,#1eb85c);
    color:#fff;
    padding:55px 20px;
    box-shadow:var(--shadow);
}

.hero-content{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:24px;
}

.hero-icon{
    width:80px;
    height:80px;
    border-radius:20px;
    background:rgba(255,255,255,.18);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:36px;
    backdrop-filter:blur(10px);
}

.hero h1{
    font-size:34px;
    font-weight:700;
    margin-bottom:8px;
}

.hero p{
    opacity:.9;
    font-size:15px;
}

.container{
    max-width:1200px;
    margin:35px auto;
    padding:0 20px 30px;
}

.card{
    background:var(--card);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:24px;
    margin-bottom:24px;
}

.section-title{
    margin-bottom:18px;
}

.section-title h2{
    font-size:20px;
    color:var(--primary-dark);
}

.tabs{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.tab{
    padding:12px 22px;
    border-radius:12px;
    background:#f2f7f3;
    border:1px solid var(--border);
    cursor:pointer;
    transition:.25s;
    font-weight:600;
    color:var(--text);
}

.tab:hover{
    background:#dff3e5;
}

.tab.active{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.chip{
    padding:10px 18px;
    border-radius:999px;
    background:#f7faf8;
    border:1px solid var(--border);
    cursor:pointer;
    transition:.25s;
    font-size:14px;
}

.chip:hover{
    background:#e6f7eb;
}

.chip.active{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.filter-card{
    display:flex;
    justify-content:flex-end;
}

.filter-group{
    display:flex;
    flex-direction:column;
    gap:8px;
    width:220px;
}

.filter-group label{
    font-weight:600;
}

select{
    height:45px;
    border-radius:12px;
    border:1px solid var(--border);
    padding:0 14px;
    outline:none;
    background:#fff;
}

.upload-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.upload-left h3{
    margin-bottom:8px;
    color:var(--primary-dark);
}

.upload-left p{
    color:var(--muted);
    font-size:14px;
}

.upload-right{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

input[type=file]{
    border:1px solid var(--border);
    border-radius:12px;
    padding:10px;
    background:#fff;
}

button{
    height:45px;
    padding:0 22px;
    border:none;
    border-radius:12px;
    background:var(--primary);
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

button:hover:not(:disabled){
    background:var(--primary-dark);
}

button:disabled{
    opacity:.45;
    cursor:not-allowed;
}

.list{
    display:flex;
    flex-direction:column;
    gap:14px;
    max-height:520px;
    overflow-y:auto;
}

.row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px;
    background:#f8fbf9;
    border:1px solid var(--border);
    border-radius:14px;
}

.row span{
    flex:1;
    color:var(--text);
    word-break:break-word;
    line-height:1.6;
}

.row div{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.row button{
    height:38px;
    padding:0 16px;
}

.empty{
    text-align:center;
    padding:40px;
    color:var(--muted);
}

.modal{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(4px);
    z-index:999;
}

.modal-box{
    width:90%;
    max-width:380px;
    background:#fff;
    border-radius:18px;
    padding:28px;
}

.modal-box h3{
    margin-bottom:14px;
    color:var(--primary-dark);
}

.modal-box p{
    line-height:1.7;
    color:var(--muted);
}

.modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:24px;
}

.btn-secondary{
    background:#95a5a6;
}

.btn-secondary:hover{
    background:#7f8c8d;
}

.loading-overlay{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.45);
    backdrop-filter:blur(5px);
    z-index:1000;
}

.loading-box{
    background:#fff;
    padding:28px 40px;
    border-radius:18px;
    box-shadow:var(--shadow);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
}

.spinner{
    width:48px;
    height:48px;
    border:4px solid #d9e9de;
    border-top:4px solid var(--primary);
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#dfe8e3;
}

@media(max-width:768px){

    .hero{
        padding:40px 20px;
    }

    .hero-content{
        flex-direction:column;
        text-align:center;
    }

    .hero h1{
        font-size:28px;
    }

    .hero-icon{
        width:70px;
        height:70px;
        font-size:30px;
    }

    .upload-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .upload-right{
        width:100%;
        flex-direction:column;
        align-items:stretch;
    }

    input[type=file]{
        width:100%;
    }

    .upload-right button{
        width:100%;
    }

    .filter-card{
        justify-content:stretch;
    }

    .filter-group{
        width:100%;
    }

    .row{
        flex-direction:column;
        align-items:flex-start;
    }

    .row div{
        width:100%;
    }

    .row div button{
        flex:1;
    }

}