/* =========================================================
   PLAYER.CSS — O'yinchi bloklari, skill, status barlar
   ========================================================= */

/* ---------- PLAYER BLOCK ---------- */
.pblok {
    background: #ddd67a;
    border: 1px solid #b7aa3d;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    box-shadow: inset 0 1px 0 #f8f2b0, 0 1px 2px rgba(0,0,0,.15);
}
.pblok-name {
    font-size: 18px;
    font-weight: bold;
    color: #3f3f3f;
    margin-bottom: 12px;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.pblok-photo-wrap { margin-bottom: 14px; }
.pblok-photo {
    width: 70px;
    height: auto;
    background: #fff;
    border: 2px solid #9d9550;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.pblok-club a {
    color: #6b8f39;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}
.pblok-club img { width: 18px; height: 18px; vertical-align: middle; margin-right: 4px; }

/* ---------- MONEY BLOCK ---------- */
.mlblok {
    background: #ddd67a;
    border: 1px solid #b7aa3d;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    box-shadow: inset 0 1px 0 #f8f2b0, 0 1px 2px rgba(0,0,0,.15);
}
.mlblok-item  { width: 50%; }
.mlblok-icon  { font-size: 12px; margin-bottom: 6px; }
.mlblok-value { color: #6b8f39; font-size: 10px; }
.mlblok-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    margin: 0 auto 6px;
}

/* ---------- TRAINING BLOCK ---------- */
.tblok {
    background: #ece514;
    border: .5px solid #c8be00;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: inset 0 1px 0 #fff8a5, 0 1px 2px rgba(0,0,0,.12);
}
.tblok-item  { width: 33%; }
.tblok-icon  { font-size: 22px; color: #111; margin-bottom: 4px; }
.tblok-main  { color: #7c7c7c; font-size: 10px; line-height: 12px; }
.tblok-sub   { margin-top: 2px; font-size: 8px; color: #1f6d1f; font-weight: bold; }
.tblok-sub a { color: #666; text-decoration: none; font-weight: normal; }
.tblok-img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ---------- HEALTH BLOCK ---------- */
.hblok-row {
    background: #f3f4ea;
    border: .5px solid #b7c99d;
    border-radius: 4px;
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #555;
}
.hblok-left  { width: 48%; font-weight: 700; color: #4e4e4e; line-height: 5px; }
.hblok-right { width: 48%; text-align: right; color: #666; font-weight: 700; }
.hblok-full  { width: 100%; color: #666; font-weight: 600; }
.hblok-full a{ color: #6b962c; text-decoration: none; font-weight: bold; }

/* =========================================================
   PROGRESS BAR — ZidanClub uslubi (rasmdagidek)
   ========================================================= */

/* ---------- ROW: Label + Bar ---------- */
.pbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0;
    font-size: 12px;
}

.pbar-row .pbar-label {
    flex-shrink: 0;
    color: #444;
    font-weight: 600;
    font-size: 12px;
    padding-right: 6px;
}

.pbar-row .pbar-wrap {
    flex: 1;
    max-width: 60%;
    min-width: 90px;
}

/* ---------- BAR KONTEYNER ---------- */
.pbar {
    width: 100%;
    height: 13px;
    background: #e8e8e8;
    border: 1px solid #a8a8a8;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.12);
    box-sizing: border-box;
}

/* ---------- BAR TO'LDIRISH ---------- */
.pbar-fill {
    height: 100%;
    text-align: right;
    line-height: 11px;
    font-size: 9px;
    font-weight: 700;
    color: #1a1a1a;
    padding-right: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

/* ---------- RANGLAR ---------- */
.pbar-red        { background: linear-gradient(#ff6666 0%, #d40000 100%); }
.pbar-orange     { background: linear-gradient(#ffb84d 0%, #ff8000 100%); }
.pbar-yellow     { background: linear-gradient(#fff45c 0%, #e0c800 100%); }
.pbar-lightgreen { background: linear-gradient(#b3ff66 0%, #5fd000 100%); }
.pbar-green      { background: linear-gradient(#5ce65c 0%, #12a300 100%); }
.pbar-maxgreen   { background: linear-gradient(#00c800 0%, #006400 100%); }

/* =========================================================
   QO'SHIMCHA: Skill bar (agar kerak bo'lsa)
   ========================================================= */

/* ---------- SKILLS ---------- */
.skill-row {
    background: #eef1e4;
    border: .5px solid #b7c99d;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.skill-left    { display: flex; align-items: center; width: 65%; }
.skill-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
    border: 1px solid #666;
    background: #000;
}
.skill-info    { flex: 1; }
.skill-name    { font-size: 14px; color: #555; line-height: 10px; }
.skill-progress{ width: 150px; margin-left: auto; }

/* Skill bar — endi pbar tizimidan foydalanadi */
.skill-progress .pbar       { height: 11px; }
.skill-progress .pbar-fill  { line-height: 9px; font-size: 8px; padding-right: 3px; }

/* ---------- QUICK MENU ---------- */
.hquick {
    background: #ece514;
    border: .5px solid #c8bb00;
    border-radius: 5px;
    display: flex;
    text-align: center;
    overflow: hidden;
}
.hquick-item  { width: 33.3%; padding: 10px; }
.hquick-item a{ text-decoration: none; display: block; }
.hquick-icon  { font-size: 10px; }
.hquick-text  { color: #7a7a7a; font-size: 12px; font-weight: 800; }
.hquick-count { color: #7a7a7a; font-size: 8px; }

/* ---------- PLUS / MINUS ---------- */
.plus,  a.plus  { color: #11a81d !important; font-weight: bold; text-decoration: none; }
.minus, a.minus { color: #f00    !important; font-weight: bold; text-decoration: none; }
.skill-disabled { color: #999    !important; font-weight: bold; }