/**
 * WebEngine CMS
 * MU HUAYRA S2
 * @version 1.0
 * @author Leonardo Soto
 * @copyright (c) 2026 Leonardo Soto, All Rights Reserved
 */


/* =========================================================
   INFORMACION
   ========================================================= */

.survival-info {
    width: 100%;
    margin: 0;
    padding: 0;
}

.survival-info-section {
    margin-bottom: 22px;
}

.survival-section-title {
    margin-bottom: 10px;

    color: #b71919;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: bold;

    text-transform: uppercase;
}

.survival-section-title i {
    margin-right: 5px;

    color: #b71919;

    font-size: 13px;
}

.survival-info-line {
    position: relative;

    margin: 8px 0;
    padding-left: 16px;

    color: #777;

    font-size: 14px;
    line-height: 1.5;
}

.survival-info-line > i {
    position: absolute;

    left: 0;
    top: 5px;

    color: #b71919;

    font-size: 10px;
}

.survival-info-line strong {
    color: #444;
    font-weight: bold;
}


/* =========================================================
   TABLA
   ========================================================= */

.survival-table-wrapper {
    width: 100%;
    margin-top: 28px;
    padding: 0;
}

.survival-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    background: transparent;
}


/* =========================================================
   CABECERA
   ========================================================= */

.survival-table thead {
    background: transparent;
}

.survival-table thead tr {
    border-bottom: 1px solid #222;
}

.survival-table thead th {
    padding: 9px 8px;

    border: none;

    background: transparent;

    color: #b71919;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: bold;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   FILAS
   ========================================================= */

.survival-table tbody tr {
    border-bottom: 1px solid #eeeeee;

    background: transparent;
}

.survival-table tbody tr:hover {
    background: #fafafa;
}

.survival-table tbody td {
    padding: 9px 8px;

    border: none;

    color: #555;

    font-size: 14px;

    vertical-align: middle;
}


/* =========================================================
   POSICION
   ========================================================= */

.survival-table tbody td:first-child {
    width: 60px;

    text-align: center;

    font-size: 17px;
}


/* =========================================================
   PERSONAJE
   ========================================================= */

.survival-character-box {
    display: flex;
    align-items: center;
}

.survival-table-avatar {
    width: 42px;
    height: 42px;

    margin-right: 10px;
}

.survival-character {
    color: #555;

    font-size: 14px;
}


/* =========================================================
   CLAN
   ========================================================= */

.survival-guild-box {
    display: flex;
    align-items: center;
}

.survival-guild-logo {
    width: 32px;
    margin-right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.survival-guild-logo img {
    max-width: 28px;
    max-height: 28px;
}

.survival-guild-info {
    display: flex;
    flex-direction: column;
}

.survival-guild-name {
    color: #555;

    font-size: 14px;
    font-weight: bold;
}

.survival-guild-rank {
    margin-top: 2px;

    font-size: 11px;
}


/* =========================================================
   PUNTOS
   ========================================================= */

.survival-points {
    color: #333;

    font-size: 15px;
    font-weight: bold;
}


/* =========================================================
   PAIS
   ========================================================= */

.survival-table td img {
    vertical-align: middle;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width: 767px) {

    .survival-table-wrapper {
        overflow-x: auto;
    }

    .survival-table {
        min-width: 650px;
    }

}

/* =========================================================
   TABLA SURVIVAL - AJUSTE FINAL
   ========================================================= */


/* =========================================================
   CABECERA
   ========================================================= */

.survival-table thead th {
    color: #b71919 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: bold !important;

    text-transform: uppercase;

    vertical-align: middle;
}


/* Icono / primera columna */

.survival-table thead th:first-child {
    color: #b71919 !important;
}


/* =========================================================
   PERSONAJE
   ========================================================= */

.survival-character-box {
    display: flex;
    align-items: center;
}


/* Avatar circular */

.survival-table-avatar {
    width: 44px !important;
    height: 44px !important;

    margin-right: 10px;

    border-radius: 50% !important;

    overflow: hidden;

    border: 2px solid #d5d5d5;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Si getPlayerClassAvatar genera una imagen */

.survival-table-avatar img {
    width: 100% !important;
    height: 100% !important;

    border-radius: 50% !important;

    object-fit: cover;
}


/* Nombre */

.survival-character {
    color: #555 !important;

    font-size: 14px;
    font-weight: 400;
}


/* =========================================================
   CLAN
   ========================================================= */

.survival-guild-box {
    display: flex;
    align-items: center;
}


.survival-guild-logo {
    width: 32px;
    height: 32px;

    margin-right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.survival-guild-logo img {
    max-width: 28px;
    max-height: 28px;
}


/* Nombre del clan */

.survival-guild-name {
    color: #555 !important;

    font-size: 14px;
    font-weight: bold;
}


/* Rango */

.survival-guild-rank {
    margin-top: 1px;

    font-size: 11px;
}


/* =========================================================
   PUNTOS
   ========================================================= */

.survival-points {
    color: #333 !important;

    font-size: 14px;
    font-weight: bold;
}


/* =========================================================
   PAIS
   ========================================================= */

.survival-table td:last-child img {
    display: inline-block;

    vertical-align: middle;
}


/* =========================================================
   FILAS
   ========================================================= */

.survival-table tbody tr {
    border-bottom: 1px solid #eeeeee;
}


.survival-table tbody td {
    padding-top: 8px;
    padding-bottom: 8px;

    vertical-align: middle;
}


/* =========================================================
   POSICIONES
   ========================================================= */

.survival-table tbody td:first-child {
    color: #333;

    font-size: 16px;
    font-weight: bold;
}


/* =========================================================
   PRIMEROS PUESTOS
   ========================================================= */

.survival-table tbody tr.rank-first td:first-child {
    color: #333;
}

.survival-table tbody tr.rank-second td:first-child {
    color: #333;
}

.survival-table tbody tr.rank-third td:first-child {
    color: #333;
}

/* =========================================================
   POSICIONES - MEDALLAS MONOCROMATICAS
   ========================================================= */

.survival-position-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    color: #333;

    font-size: 16px;
    font-weight: bold;
}

.survival-position-medal i {
    color: #333;
    font-size: 18px;
}

.survival-position-medal span {
    color: #222;
    font-size: 16px;
    font-weight: bold;
}


/* Posiciones posteriores */

.survival-position-number {
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.survival-guild-rank span {
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1;
}

/* =========================================================
   PERSONAJE + CLASE
   ========================================================= */

.survival-character-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.survival-character {
    color: #555 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.survival-character-class {
    margin-top: 2px;

    color: #999;

    font-size: 11px;
    line-height: 1.2;
}