/* =========================================================
   UI.CSS — Tugmalar, do'kon, action bloklar, reset
   ========================================================= */

/* ---------- BUTTONS ---------- */
.btn, .btn:link, .btn:visited {
    display: inline-block;
    min-width: 80px;
    padding: 8px 14px;
    background: #43a047;
    border: 1px solid #2e7d32;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}
.btn:hover  { background: #4caf50; color: #fff !important; }
.btn:active { background: #2e7d32; color: #fff !important; }

.btn-red, .btn-red:link, .btn-red:visited {
    display: inline-block;
    min-width: 80px;
    padding: 8px 14px;
    background: #d32f2f;
    border: 1px solid #b71c1c;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}
.btn-red:hover, .btn-red:active { color: #fff !important; }

.modern-btn {
    height: 38px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg, #4bb341, #348d2b);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.modern-btn:active { transform: scale(.99); }

.modern-select {
    height: 36px;
    border: 1px solid #cfddc7;
    border-radius: 6px;
    padding: 0 8px;
    margin-bottom: 10px;
    background: #fff;
    font-size: 13px;
    appearance: none;
    -webkit-appearance: none;
}

/* ---------- SHOP ---------- */
.shop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border: .5px solid #cdddc9;
    border-radius: 4px;
    margin: .5px;
    padding: 6px;
    text-decoration: none !important;
}
.shop-left  { display: flex; flex-direction: column; }
.shop-name  { color: #4c8c3f; font-weight: bold; font-size: 12px; }
.shop-price { color: #666; font-size: 10px; }
.shop-btn   { color: #43a047; font-size: 15px; font-weight: bold; }

/* ---------- STAT / ACTION BLOCKS ---------- */
.sblok {
    background: #f7f9ef;
    border: 1px solid #c8d3af;
    border-left: 4px solid #63b800;
    padding: 5px 6px;
    margin: 1px 0;
    color: #5f9f12;
    font-size: 12px;
    line-height: 17px;
    font-weight: normal;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.dblok {
    background: #e7dc83;
    border: 1px solid #c7b85a;
    border-left: 5px solid #6cab00;
    padding: 5px;
    margin: 1px 0;
    border-radius: 3px;
}
.dblok div { padding: 0; line-height: 16px; }
.dblok a, .dblok a:visited, .dblok a:hover, .dblok a:active {
    display: block;
    color: #5d9c00 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    padding: 0;
}

/* ---------- RESET BOX ---------- */
.reset-box {
    background: #f0e68c;
    border: 1px solid #c8b95e;
    padding: 0;
}
.reset-title {
    color: #d50000;
    font-weight: bold;
    font-size: 15px;
    padding: 8px;
    border-bottom: 1px dashed #999;
}
.reset-body { padding: 8px; font-size: 14px; color: #222; }
.reset-btn {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    margin-right: 5px;
}
.reset-btn.yes { background: #2e7d32; color: #fff; }
.reset-btn.no  { background: #888;    color: #fff; }

/* ---------- MOBILE ---------- */
@media (max-width: 480px) {
    .modern-btn { height: 36px; font-size: 13px; }
}