/* ===========================================================
   POLSKAELITA.PL - REPUTACJA
   pe_reputation.css v1.0
   MyBB 1.8.41 / Green Dark TEST

   ACP: Do wybranych plikow
   Plik: reputation.php
   Czynnosci: Do wszystkich

   Kompletny, samodzielny arkusz.
   =========================================================== */

/* 01. GLOWNA KARTA REPUTACJI */

body > .stable {
    box-sizing: border-box;
    max-width: 100%;

    margin: 22px auto;
    padding: 0;

    background: #11191b;
    border: 1px solid #365748;
    border-radius: 11px;

    overflow: hidden;
    color: #e8f3eb;
}

body > .stable > .headline {
    display: flex;
    align-items: center;

    min-height: 61px;
    height: auto;
    width: 100%;

    padding: 15px 22px;
    margin: 0;

    box-sizing: border-box;

    background: linear-gradient(
        110deg,
        #1c292b,
        #172528 70%,
        #182f25
    );

    border: 0;
    border-bottom: 1px solid #365748;

    color: #eff8f1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

body > .stable > .container {
    box-sizing: border-box;
    width: 100%;

    padding: 11px 12px 15px;
    background: #11191b;
}

body > .stable > .container > .row {
    box-sizing: border-box;
    width: 100%;

    margin: 7px 0;
    padding: 15px 18px;

    background: linear-gradient(
        112deg,
        #202c30,
        #1b292b
    );

    border: 1px solid #314b40;
    border-radius: 8px;

    color: #e5f1e8;
    line-height: 1.6;
}

/* 02. BELKI PODSUMOWANIE I KOMENTARZE */

body > .stable > .container > .row.normal {
    min-height: 49px;

    display: flex;
    align-items: center;

    margin-top: 14px;
    padding: 12px 17px;

    background: linear-gradient(
        110deg,
        #243b32,
        #1c302c
    );

    border: 1px solid #42664f;
    border-left: 3px solid #7ac18a;
    border-radius: 8px;

    color: #e5f8e9;
    font-size: 13px;
    font-weight: 700;
}

/* 03. PODSUMOWANIE - DWIE KOLUMNY */

body > .stable > .container
> .row.clearfix:has(> .left):has(> .right) {
    display: grid !important;

    grid-template-columns:
        minmax(245px,1fr)
        minmax(410px,1.2fr);

    align-items: center;
    gap: 28px;

    padding: 19px 22px;
}

body > .stable > .container
> .row.clearfix:has(> .left):has(> .right)::before,

body > .stable > .container
> .row.clearfix:has(> .left):has(> .right)::after {
    display: none !important;
    content: none !important;
}

body > .stable > .container
> .row.clearfix > .left,

body > .stable > .container
> .row.clearfix > .right {
    float: none !important;
    width: auto !important;
    min-width: 0;
    max-width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}

body > .stable > .container
> .row.clearfix:has(> .left):has(> .right) > .left {
    grid-column: 1;
    color: #dae9df;
}

body > .stable > .container
> .row.clearfix:has(> .left):has(> .right) > .right {
    grid-column: 2;
    justify-self: stretch;
}

body > .stable > .container
> .row.clearfix .largetext {
    color: #f2fbf3;

    font-size: 17px;
    font-weight: 700;
}

body > .stable > .container
> .row.clearfix .smalltext {
    color: #b5c8b9;

    font-size: 12px;
    line-height: 1.65;
}

body > .stable > .container
> .row.clearfix .left strong {
    color: #a1e3b4;
}

body > .stable > .container
> .row.clearfix .left .repbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    min-height: 32px;

    margin-left: 5px;
    padding: 4px 9px;

    box-sizing: border-box;

    background: #18362a !important;
    border: 1px solid #548b65;
    border-radius: 6px;

    color: #e5f5e9 !important;
    font-size: 13px;
}

/* 04. TABELA STATYSTYK REPUTACJI */

body > .stable > .container
> .row.clearfix .right > table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;

    background: #152426;

    border: 1px solid #355746;
    border-radius: 8px;

    overflow: hidden;
}

body > .stable > .container
> .row.clearfix .right > table td {
    padding: 11px 9px;

    border: 0;
    border-bottom: 1px solid #314a3e;

    color: #d8e7db;

    text-align: center;
    vertical-align: middle;

    font-size: 12px;
    white-space: normal;
}

body > .stable > .container
> .row.clearfix .right > table tr:last-child td {
    border-bottom: 0;
}

body > .stable > .container
> .row.clearfix .right > table tr:first-child td {
    padding: 13px 8px;

    background: #223633;
    color: #eaf4ec;

    font-weight: 700;
}

body > .stable > .container
> .row.clearfix .right > table
tr:not(:first-child):nth-child(odd) td {
    background: #1a2b2d;
}

body > .stable > .container
> .row.clearfix .right > table td:first-child {
    width: 39%;
    text-align: right !important;
    color: #b8cebd;
}

/* KOLORY OCEN */

body > .stable .reputation_positive {
    color: #79d28d !important;
}

body > .stable .reputation_neutral {
    color: #c9d4c8 !important;
}

body > .stable .reputation_negative {
    color: #f18a8a !important;
}

/* 05. KOMENTARZE */

body > .stable > .container
> .row:not(.normal) a {
    color: #a4e3b2;
    text-decoration: none;
}

body > .stable > .container
> .row:not(.normal) a:hover {
    color: #daf7df;
}

/* 06. FORMULARZ FILTROW */

body > .stable > .container
> .row.clearfix:has(> .right > form[action="reputation.php"]) {
    display: flex !important;

    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    padding: 12px 16px;
}

body > .stable > .container
> .row.clearfix:has(> .right > form[action="reputation.php"])
> .right {
    display: block;
    margin-left: auto !important;
}

body > .stable > .container
> .row.clearfix > .right > form[action="reputation.php"] {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;
    gap: 9px;

    width: 100%;
}

/* POLA */

body > .stable select,
body > .stable input.textbox {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 40px;

    padding: 9px 12px;

    background: #152527;
    color: #e9f5ec;

    border: 1px solid #466a54;
    border-radius: 7px;
}

/* PRZYCISKI */

body > .stable input.button,
body > .stable input[type="submit"] {
    box-sizing: border-box;
    min-height: 40px;

    padding: 9px 17px;

    background: linear-gradient(
        180deg,
        #2d7747,
        #1e5934
    );

    color: #f4fff5;

    border: 1px solid #5aac74;
    border-radius: 7px;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

body > .stable input.button:hover,
body > .stable input[type="submit"]:hover {
    background: #327d4b;
}

/* 07. RESPONSYWNOSC */

@media (max-width: 850px) {
    body > .stable > .container
    > .row.clearfix:has(> .left):has(> .right) {
        grid-template-columns: minmax(0,1fr);
        gap: 15px;
    }

    body > .stable > .container
    > .row.clearfix:has(> .left):has(> .right) > .left,

    body > .stable > .container
    > .row.clearfix:has(> .left):has(> .right) > .right {
        grid-column: 1;
    }
}

@media (max-width: 540px) {
    body > .stable > .container
    > .row.clearfix .right > table td {
        padding: 9px 5px;
        font-size: 11px;
    }

    body > .stable > .container
    > .row.clearfix .right > table td:first-child {
        width: 35%;
    }

    body > .stable > .container
    > .row.clearfix > .right > form[action="reputation.php"] {
        justify-content: center;
    }

    body > .stable > .container
    > .row.clearfix:has(> .left):has(> .right) {
        padding: 13px 10px;
    }
}