/* =========================================
   SISTEM KATALOG PRODUK UMKM
   Author : ChatGPT
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#333;
}

.container{
    width:90%;
    max-width:1100px;
    margin:30px auto;
}

.card{
    background:#fff;
    border-radius:10px;
    padding:25px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    margin-bottom:20px;
}

h1{
    text-align:center;
    margin-bottom:25px;
    color:#0d6efd;
}

h2{
    margin-bottom:15px;
}

.status-ok{
    color:#198754;
    font-weight:bold;
    font-size:18px;
}

.status-gagal{
    color:#dc3545;
    font-weight:bold;
    font-size:18px;
}

a{
    text-decoration:none;
}

.btn{
    display:inline-block;
    padding:10px 18px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    color:white;
    transition:.3s;
}

.btn-primary{
    background:#0d6efd;
}

.btn-primary:hover{
    background:#0b5ed7;
}

.btn-success{
    background:#198754;
}

.btn-success:hover{
    background:#157347;
}

.btn-warning{
    background:#ffc107;
    color:#000;
}

.btn-warning:hover{
    background:#e0a800;
}

.btn-danger{
    background:#dc3545;
}

.btn-danger:hover{
    background:#bb2d3b;
}

.btn-secondary{
    background:#6c757d;
}

.btn-secondary:hover{
    background:#5c636a;
}

form{
    margin-top:20px;
}

label{
    display:block;
    margin-top:15px;
    margin-bottom:5px;
    font-weight:bold;
}

input[type=text],
input[type=number]{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
}

input:focus{
    outline:none;
    border-color:#0d6efd;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:30px;
}

table th{
    background:#0d6efd;
    color:white;
    padding:12px;
}

table td{
    padding:10px;
    border:1px solid #ddd;
    text-align:center;
}

table tr:nth-child(even){
    background:#f8f9fa;
}

table tr:hover{
    background:#eef4ff;
}

.action-btn{
    margin:2px;
}

.center{
    text-align:center;
}

.mt-20{
    margin-top:20px;
}

.mb-20{
    margin-bottom:20px;
}

.footer{
    margin-top:30px;
    text-align:center;
    color:#777;
    font-size:14px;
}

@media(max-width:768px){

table{
    display:block;
    overflow-x:auto;
}

.container{
    width:95%;
}

}