/* ===========================================
   GT AUTO STOCK MOBILE
===========================================*/

@media screen and (max-width:768px){

.container{
    padding:8px;
}

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

.topbar{
    display:flex;
    flex-direction:column;
    padding:12px;
    border-radius:18px;
    gap:12px;
}

.brand{
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
}

.logo{
    width:70px;
    height:70px;
}

.brand h1{
    font-size:22px;
}

.brand p{
    font-size:11px;
}

.topbar>div:last-child{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:10px;
}

.topbar button{
    width:100%;
    height:44px;
    font-size:13px;
}

/* ================= UPLOAD ================= */

.upload-card{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:16px;
}

.upload-card>div{
    width:100%;
}

.upload-card input[type=file]{
    width:100%;
}

.upload-card button{
    width:100%;
}

/* ================= SUMMARY ================= */

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

.card{
    padding:14px;
}

.card h2{
    font-size:24px;
}

.card small{
    font-size:11px;
}

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

.main-layout{
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* ================= FILTER ================= */

.filter{
    width:100%;
    position:static;
    padding:16px;
}

.filter-box{
    margin-top:18px;
}

.filter input{
    width:100%;
    height:42px;
    font-size:13px;
}

.filter label{
    padding:8px 12px;
    font-size:12px;
}

/* preset */

.preset-actions{
    display:grid;
    grid-template-columns:1fr;
}

.preset-actions button{
    width:100%;
}

/* ================= CONTENT ================= */

.content{
    width:100%;
    padding:12px;
}

.content-header{
    font-size:16px;
}

.table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

table{
    min-width:900px;
}

th{
    font-size:11px;
    padding:10px;
}

td{
    font-size:12px;
    padding:10px;
    white-space:nowrap;
}

/* ================= FOOTER ================= */

.footer{
    font-size:11px;
    padding:18px;
}

/* ================= LOADING ================= */

.gt-loading h3{
    font-size:20px;
}

.gt-loading p{
    font-size:13px;
}

}

/* ===========================================
   EXTRA SMALL PHONE
===========================================*/

@media screen and (max-width:430px){

.logo{
    width:60px;
    height:60px;
}

.brand{
    gap:8px;
}

.brand h1{
    font-size:18px;
}

.brand p{
    font-size:10px;
}

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

.card{
    padding:12px;
}

.card h2{
    font-size:20px;
}

button{
    height:40px;
}

.topbar button{
    font-size:12px;
}

.filter{
    padding:12px;
}

.content{
    padding:10px;
}

}