/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI', Arial;
    background:#eef1f5;
    overflow:hidden;
}

/* ================= HEADER ================= */

.header{
    height:70px;
    background:white;
    border-bottom:3px solid #696b6e;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 24px;

    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.header-left b{
    font-size:20px;
    color:#111827;
}

.header-right{
    display:flex;
    align-items:center;
    gap:15px;
    font-size:14px;
}

.header-right a{
    text-decoration:none;
    color:#111827;
    font-weight:bold;
}

.header-right a:hover{
    color:#696b6e;
}

/* ================= ADD BUTTON ================= */

.add-btn{
    margin:15px 24px;
    padding:10px 18px;

    background:#696b6e;
    color:white;

    border-radius:8px;
    text-decoration:none;

    font-weight:600;
    display:inline-block;
}

.add-btn:hover{
    opacity:.9;
}

/* ================= MAIN WRAPPER ================= */

.wrapper{
    display:flex;
    height:calc(100vh - 70px);
}

/* ================= LEFT ================= */

.left{
    width:18%;
    background:white;
    border-right:1px solid #e5e7eb;

    overflow-y:auto;

    font-size:13px;
}

/* ================= RIGHT ================= */

.right{
    width:82%;
    background:#eef1f5;

    overflow-y:auto;

    padding:20px;
}

/* ================= ORDER ITEM ================= */

.order-item{
    padding:10px 12px;

    border-bottom:1px solid #f1f1f1;

    cursor:pointer;

    display:flex;
    justify-content:space-between;
}

.order-item:hover{
    background:#f9fafb;
}

.active{
    border-left:4px solid #facc15;
    background:#f9fafb;
    font-weight:600;
}

/* ================= BADGE ================= */

.badge{
    background:#696b6e;
    color:#facc15;

    padding:3px 7px;

    border-radius:8px;

    font-size:11px;
    font-weight:bold;
}

/* ================= FORM CARD ================= */

.form-card{
    width:100%;
    max-width:900px;

    margin:auto;

    background:white;

    padding:25px;

    border-radius:14px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

/* ================= TITLE ================= */

.form-card h2{
    margin-bottom:20px;
    color:#111827;
}

/* ================= SECTION ================= */

.section{
    margin-top:20px;
}

.section h3{
    margin-bottom:10px;
    font-size:14px;
    color:#374151;
}

/* ================= GRID ================= */

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

/* ================= INPUT ================= */

input{
    width:100%;

    padding:11px 12px;

    border:1px solid #d1d5db;

    border-radius:8px;

    font-size:13px;

    background:white;

    transition:0.2s;
}

input:focus{
    outline:none;
    border-color:#696b6e;
    box-shadow:0 0 0 3px rgba(105,107,110,0.15);
}

/* ================= BUTTON ================= */

button{
    width:100%;

    margin-top:25px;

    padding:13px;

    border:none;

    border-radius:10px;

    background:#696b6e;

    color:white;

    font-size:14px;
    font-weight:bold;

    cursor:pointer;

    transition:0.2s;
}

button:hover{
    background:#4b5563;
}

/* ================= DROP ZONE ================= */

.drop-zone{
    border:2px dashed #9ca3af;

    border-radius:12px;

    padding:35px;

    text-align:center;

    background:#f9fafb;

    cursor:pointer;

    transition:0.2s;

    font-size:13px;
}

.drop-zone:hover{
    background:#f3f4f6;
}

.drop-zone.dragover{
    border-color:#696b6e;
    background:#e5e7eb;
}

/* ================= FILE NAME ================= */

.file-name{
    margin-top:12px;

    color:#16a34a;

    font-size:12px;

    font-weight:bold;

    display:none;
}

.file-name.show{
    display:block;
}

/* ================= SCROLLBAR ================= */

.left::-webkit-scrollbar,
.right::-webkit-scrollbar{
    width:6px;
}

.left::-webkit-scrollbar-thumb,
.right::-webkit-scrollbar-thumb{
    background:#d1d5db;
    border-radius:10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px){

    .wrapper{
        flex-direction: column;
        height:auto;
    }

    .left{
        width:100%;
        max-height:200px;
        border-right:none;
        border-bottom:1px solid #e5e7eb;
    }

    .right{
        width:100%;
        padding:10px;
    }
}

@media (max-width:768px){

    .wrapper{
        flex-direction:column;
    }

    .left{
        width:100%;
        height:auto;
    }

    .right{
        width:100%;
    }

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

    body{
        overflow:auto;
    }
}
@media (max-width: 768px){

    .order-list{
        display:flex;
        overflow-x:auto;
        white-space:nowrap;
    }

    .order-item{
        min-width:160px;
        flex-shrink:0;
        border-right:1px solid #eee;
    }
}