/*================================================*/
/*  style.css by tomasz.pro 2023-2025             */
/*      for pro apps                              */
/*                                                */
/*          .class                                */
/*          #id                                   */
/*                                                */
/*================================================*/

/*================================================*/
/*  Tło*/
/*================================================*/
.background {
    position: absolute;
    background-image: url('https://www.mclist.pro/img/bg/background.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/*================================================*/
/*  Aplikacja*/
/*================================================*/

@font-face {
    font-family: 'HemiHead';
    src: url('/fonts/HemiHead/Hemi Head Bd It.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Minecraftia';
    src: url('/fonts/minecraftia/Minecraftia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

footer {
    display: flex;
    flex-direction: column;
}

.footer-content {
    max-width: unset;
    margin: 0;
}

section .content h1 {
    /*font-family: 'HemiHead', sans-serif;*/
    font-family: 'Minecraftia', sans-serif;
}

#logo {
    /*font-family: 'HemiHead', sans-serif;*/
    font-family: 'Minecraftia', sans-serif;
}

main h1 {
    /*font-family: 'HemiHead', sans-serif;*/
    font-family: 'Minecraftia', sans-serif;
    margin-bottom: -30px;
}
main h2 {
    /*font-family: 'HemiHead', sans-serif;*/
    font-family: 'Minecraftia', sans-serif;
    margin-bottom: -5px;
}
main h3 {
    /*font-family: 'HemiHead', sans-serif;*/
    font-family: 'Minecraftia', sans-serif;
}

@media only screen and (max-width: 1000px) {
    h3 {
        font-size: 30px;
    }
}

/*================================================*/
/* Nadpisanie style.css */
/*================================================*/

section .content {
    padding: 0;
    text-align: center;
}  @media only screen and (max-width: 1000px) {
    section .content {
        width: 100%;
    }
}

form {
    display: grid;
    justify-items: center;
}

/*================================================*/
/* Lista serwerów */
/*================================================*/

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin: 0 auto;
} @media (max-width: 1000px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
}

.server-card {
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #404040;
    height: 205px;
    overflow: hidden;
}  @media (max-width: 1000px) {
    .server-card {
        height: 300px;
    }
}
.server-card:hover {
    border-color: #2BACE2;
}
.server-card.promoted {
    border-color: #ffc107;
}

.server-card-header {
    display: flex;
    padding: 15px 10px 5px 10px;
} @media (max-width: 1000px) {
    .server-card-header {
        padding: 25px 20px 10px 20px;
    }
}

.server-icon-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    flex-shrink: 0;
}  @media (max-width: 1000px) {
    .server-icon-img {
        width: 120px;
        height: 120px;
    }
}

.server-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
} @media (max-width: 1000px) {
    .server-card-link {

    }
}

.server-basic-info {
    flex: 1;
    min-width: 0;
}

.server-basic-info h3 {
    padding: unset;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-motd {
    overflow: hidden;
    height: 37px;
    padding: 0 10px;
} @media only screen and (max-width: 1000px) {
    .server-motd {
        height: 64px;
    }
}

.server-motd p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Minecraft', monospace;
    white-space: pre-line;
    font-size: 15px;
} @media only screen and (max-width: 1000px) {
    .server-motd p {
        font-size: 26px;
    }
}

.servers-stats {
    display: flex;
    justify-content: space-between;
    /*margin-bottom: 10px;*/
} @media only screen and (max-width: 1000px) {
    .servers-stats {
        margin-bottom: unset;
    }
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-weight: bold;
    color: #2BACE2;
}

.stat-value.offline-text {
    color: #dc3545;
}

.stat-label {
    text-transform: uppercase;
}

.server-modes {
    margin: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-servers {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-servers-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-servers h3 {
    margin-bottom: 10px;
}

.no-servers p {
    margin-bottom: 20px;
}

.modes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 10px;
    align-items: center;
} @media (max-width: 1000px) {
    .modes-container {
        margin-top: 15px;
    }
}

.mode-tag {
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    background: transparent;
    color: inherit;
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
} @media (max-width: 1000px) {
    .mode-tag {
        font-size: 26px;
        padding: 5px 10px;
    }
}

.server-card .mode-tag {
    margin-bottom: 10000px;
}

/* Dla promowanych serwerów - złoty border */
.server-card.promoted .mode-tag {
    border-color: #ffc107;
}

/*================================================*/
/* Wspólne style dla wersji i trybów */
/*================================================*/

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 4px;
}

.selection-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-checkbox input[type="checkbox"] {
    margin: 0;
    width: unset;
}

.selection-checkbox label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Specyficzne klasy dla kompatybilności wstecznej */
.versions-selection {
    composes: selection-grid;
}

.version-checkbox {
    composes: selection-checkbox;
}

.modes-selection {
    composes: selection-grid;
}

.mode-checkbox {
    composes: selection-checkbox;
}

/*================================================*/
/* Strony zakupów - banery i promowanie */
/*================================================*/

/* Wspólne style dla statystyk */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #404040;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.stat-item p:first-child {
    margin: 0 0 8px 0;
    color: #ccc;
    font-size: 14px;
}

.stat-item p:last-child {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #2BACE2;
}

/* Informacje o usłudze */
.service-info {
    padding: 20px;
    margin-bottom: 30px;
}

.service-info ul {
    margin: 0;
    padding-left: 20px;
}

.service-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Formularze zakupów */
.purchase-form-section {
    margin-bottom: 30px;
}

.purchase-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    margin-bottom: 20px;
    text-align: center;
}

.form-group label {
    color: #ccc;
}

.input {
    width: 100%;
    padding: 10px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Wybór dni */
.days-selection {
    margin-bottom: 15px;
    width: 50%;
    justify-self: center;
} @media (max-width: 1000px) {
    .days-selection {
        width: 100%;
    }
}

.days-display {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    color: #2BACE2;
    font-weight: bold;
}

.quick-selection-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.quick-selection-buttons .mode-tag {
    cursor: pointer;
    border: 1px solid #2BACE2;
    transition: all 0.3s ease;
}

.quick-selection-buttons .mode-tag:hover {
    background: #2BACE2;
    color: white;
}

/* Podsumowanie ceny */
.price-summary {
    margin-bottom: 20px;
}

.price-summary h3 {

}

.price-item {

}

.price-total {
    font-weight: bold;
}

/* Checkbox */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    width: unset;
}

.checkbox-item p {
    margin: 0;
}

/* Akcje formularza */
.form-actions {
    text-align: center;
}

/* Brak miejsc */
.no-slots {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.no-slots h3 {
    color: #dc3545;
    margin-top: 0;
}

/* Aktualna promocja */
.current-promote {
    padding: 20px;
    margin-bottom: 30px;
}

.current-promote h3 {
    margin-top: 0;
}

.promote-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.inline-form input {
    width: 80px;
    padding: 5px;
}

/* Korzyści */
.promote-benefits {
    padding: 20px;
    margin-bottom: 30px;
}

.promote-benefits h3 {
    color: #2BACE2;
    margin-top: 0;
}

/* Server header w edycji */
/*.server-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
}*/

.server-address {
    margin: 0;
    font-family: monospace;
    color: #ccc;
}

.server-status {
    margin: 5px 0 0 0;
}

/* Małe teksty */
/*small {*/
/*    display: block;*/
/*    margin-top: 5px;*/
/*    color: #888;*/
/*}*/

/*================================================*/
/* Specyficzne style dla banerów */
/*================================================*/

.banner-stats {
    padding: 20px;
    margin-bottom: 30px;
}

/*================================================*/
/*Z edit-servers*/
/*================================================*/

.edit-server-form {
    margin-bottom: 30px;
}

.textarea {
    min-height: 120px;
    resize: vertical;
}
/*================================================*/
/* pagination
/*================================================*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
}

.pagination-btn {
    padding: 10px 20px;
    background: #2BACE2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination-btn:hover {
    background: #1a8bb8;
}

.pagination-info {
    color: #ccc;
    font-size: 14px;
}
/*================================================*/
/* server
/*================================================*/

.server-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
}  @media (max-width: 1000px) {
    .server-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.server-address {
    margin: 0 0 12px 0;
    font-family: monospace;
}

.server-stats {
    display: flex;
    gap: 0px;
}  @media (max-width: 1000px) {
    .server-stats {
        justify-content: center;
        gap: 50px;
    }
}

.stat {
    text-align: center;
    width: 120px;
}  @media (max-width: 1000px) {
    .stat {
        width: 200px;
    }
}

.stat-label {
    text-transform: uppercase;
}

.server-details-motd {
    overflow: hidden;
    height: 64px;
    margin-bottom: 30px;
}  @media only screen and (max-width: 1000px) {
    .server-motd details {
        height: 64px;
    }
}

.server-details-motd p {
    font-family: 'Minecraft', monospace;
    white-space: pre-line;
    font-size: 26px;

}  @media only screen and (max-width: 1000px) {
    .server-details-motd p {
        font-size: 26px;
    }
}

.server-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    padding: 20px;
    text-align: center;
}

.detail-card h3 {
    margin-top: 0;
    border-bottom: 1px solid #2BACE2;
    margin-bottom: 10px;
}

.detail-item {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.detail-item strong {
    min-width: 140px;
}

.vote-stats {
    margin-top: 15px;
    padding-top: 15px;
}

.server-history {
    padding: 25px;
}

.modes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    align-items: center;
} @media (max-width: 1000px) {
    .modes-container {
        gap: 8px;
    }
}

/*================================================*/
/* by mode
/*================================================*/

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #2BACE2;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #888;
    font-size: 18px;
}    @media (max-width: 1000px) {
    .breadcrumbs span {
        font-size: 26px;
    }
}

.mode-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #404040;
}

@media (max-width: 1000px) {
    .mode-header {
        gap: 20px;
    }
}

.mode-title h2 {
    color: #2BACE2;
    margin-bottom: 8px;
}

.mode-title p {
    color: #ccc;
    margin: 0;
}

.mode-stats-overview {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2BACE2;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

/*================================================*/
/* by version
/*================================================*/

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #404040;
}

@media (max-width: 1000px) {
    .version-header {
        gap: 20px;
    }
}

.version-title h2 {
    color: #2BACE2;
    margin-bottom: 8px;
}

.version-title p {
    color: #ccc;
    margin: 0;
}

.version-stats-overview {
    display: flex;
    gap: 30px;
}

/*================================================*/
/* verify
/*================================================*/

.verification-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1000px) {
    .verification-methods {
        grid-template-columns: 1fr;
    }
}

.method {
    padding: 20px;
    border: 1px solid #404040;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    text-align: start;
}

.method h3 {
    color: #2BACE2;
    margin-top: 0;
    margin-bottom: 15px;
}

.method ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.method li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.method code{
    text-align: center;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0 8px;
    border-radius: 4px;
    font-family: monospace;
    display: inline-block;
    font-size: 14px;
}

.verification-code-section {
    text-align: center;
    padding: 30px;
    border: 2px solid #2BACE2;
    border-radius: 8px;
    background: rgba(43, 172, 226, 0.1);
    margin-bottom: 30px;
}

.code-display {
    margin-bottom: 20px;
    display: grid;
}

.code-display label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: #2BACE2;
    font-size: 18px;
}

.verification-actions {
    margin-top: 20px;
}

.verification-action {
    margin-top: 25px;
}

#verificationCode {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #2BACE2;
    color: #2BACE2;
}

/*================================================*/
/* mode
/*================================================*/

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #2BACE2;
    margin-bottom: 10px;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .modes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mode-card {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #404040;
    height: 140px;
    overflow: hidden;
}

.mode-card:hover {
    border-color: #2BACE2;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 12px rgba(43, 172, 226, 0.2);
}

.mode-card-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.mode-info {
    flex: 1;
    min-width: 0;
}

.mode-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #ccc;
    white-space: nowrap;
}

.mode-stats {
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-count {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.no-modes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-modes-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-modes h3 {
    margin-bottom: 10px;
    color: #2BACE2;
}

.no-modes p {
    color: #ccc;
}

/*================================================*/
/* version
/*================================================*/

.versions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .versions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.version-card {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #404040;
    height: 140px;
    overflow: hidden;
}

.version-card:hover {
    border-color: #2BACE2;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 12px rgba(43, 172, 226, 0.2);
}

.version-card-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.version-info {
    flex: 1;
    min-width: 0;
}

.version-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #ccc;
    white-space: nowrap;
}

.version-stats {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-versions {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-versions-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-versions h3 {
    margin-bottom: 10px;
    color: #2BACE2;
}

.no-versions p {
    color: #ccc;
}