/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2020 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
/* 14cc2eca5174eac747012a2e3d7fdf38 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

.btn-primary {
	color: #eff2fa;
    background: #363b42;
    border: 1px solid #505864;
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
	-moz-border-radius: 0px;
	border-radius: 0px;
	box-shadow: none;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #eff2fa !important;
    background-color: #363b42 !important;
	border-color: #505864 !important;
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

hr {
	border-top: 1px solid #333;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #131315 !important;
}

.table>thead>tr>th {
    border-bottom: 2px solid #333 !important;
	color: #e9a348 !important;
}

.help-block {
    color: #da6969;
}

.table-bordered {
    border: 1px solid #333;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #333;
}

.table-hover>tbody>tr:hover {
    background-color: #232323;
}

input[type=text], input[type=password], input[type=number] {
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(100,100,100,0.5);
	color: #ebf1f5;
	-moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-khtml-border-radius: 0px;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,255,255,.3);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,255,255,.3);
}

/* ===================== NEWS BLOCK REDESIGN ===================== */

.adminStaffBlock {
    width: 44%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.adminStaffBlock img {
    width: 100%;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    object-fit: cover;
}

.statsBlock {
    width: 52%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.statCard {
    flex: 1;
    text-align: center;
    padding: 28px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.statCard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.statCard:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.13);
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.5);
}
.statCard:first-child::before { background: linear-gradient(90deg, transparent, rgba(151,225,88,0.4), transparent); }
.statCard:last-child::before  { background: linear-gradient(90deg, transparent, rgba(77,184,255,0.4), transparent); }

.statCard-title {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
    font-weight: 700;
}

.statCard-graph {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.statCard-circle {
    width: 145px;
    height: 145px;
    position: relative;
    display: inline-block;
}

.statCard-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Número central del gráfico de cuentas (azul) */
.serverInfo--blue .serverInfo_accounts {
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    color: #4db8ff;
    font-size: 30px;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .adminStaffBlock,
    .statsBlock {
        width: 100%;
    }
    .adminStaffBlock {
        margin-bottom: 30px;
    }
    .newsBlock.flex {
        flex-wrap: wrap;
    }
}
@media (max-width: 595px) {
    .statsBlock {
        flex-wrap: wrap;
        gap: 16px;
    }
    .statCard {
        width: 100%;
    }
}

/* ===================== GUILD HISTORICAL ===================== */

.guildHistoricalBlock {
    margin: 40px 0 20px;
}

.gh-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.gh-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58,180,200,0.5), transparent);
}
.gh-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #3ab4c8;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gh-header-icon {
    width: 22px;
    height: 22px;
    opacity: 0.85;
}

.gh-empty {
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    padding: 30px 0;
}

.gh-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(58,180,200,0.25);
    background: rgba(0,0,0,0.3);
}

.gh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.gh-table thead tr {
    background: rgba(58,180,200,0.18);
    border-bottom: 2px solid rgba(58,180,200,0.45);
}
.gh-table thead th {
    padding: 14px 16px;
    color: #7dd8e8 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    border: none !important;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(58,180,200,0.5);
}
.gh-th-pos    { width: 60px;  text-align: center; }
.gh-th-logo   { width: 70px;  text-align: center; }
.gh-th-name   { text-align: left; }
.gh-th-master { text-align: left; }
.gh-th-wins   { width: 110px; text-align: center; }
.gh-th-status { width: 110px; text-align: center; }

.gh-row {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
}
.gh-row:last-child { border-bottom: none; }
.gh-row:hover { background: rgba(58,180,200,0.06); }

.gh-table tbody td {
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    border: none !important;
    vertical-align: middle;
}

/* Position badge */
.gh-cell-pos { text-align: center; }
.gh-pos-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    line-height: 1;
    gap: 1px;
}
.gh-pos-badge--gold   { border-color: #ffd700; background: rgba(255,215,0,0.12); color: #ffd700; }
.gh-pos-badge--silver { border-color: #c0c0c0; background: rgba(192,192,192,0.10); color: #c0c0c0; }
.gh-pos-badge--bronze { border-color: #cd7f32; background: rgba(205,127,50,0.10); color: #cd7f32; }

.gh-medal {
    font-size: 14px;
    line-height: 1;
}
.gh-pos-num {
    font-size: 10px;
    line-height: 1;
}

/* Logo */
.gh-cell-logo { text-align: center; }
.gh-logo-link {
    display: inline-block;
}
.gh-logo-link:hover .gh-logo-wrap {
    border-color: rgba(58,180,200,0.5);
    box-shadow: 0 0 10px rgba(58,180,200,0.25);
}
.gh-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gh-logo-wrap--inactive {
    opacity: 0.45;
    filter: grayscale(60%);
}
.gh-logo-wrap img,
.gh-logo-generic {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
}

/* Name & Master */
.gh-cell-name {
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}
.gh-cell-name a,
.gh-name-link {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.gh-cell-name a:hover,
.gh-name-link:hover {
    color: #3ab4c8 !important;
    text-decoration: none;
}
.gh-cell-master {
    color: rgba(255,255,255,0.55);
}
.gh-cell-master a {
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none;
}
.gh-cell-master a:hover {
    color: #3ab4c8 !important;
    text-decoration: none;
}

/* Wins badge */
.gh-cell-wins { text-align: center; }
.gh-wins-badge {
    display: inline-block;
    background: rgba(58,180,200,0.15);
    color: #3ab4c8;
    border: 1px solid rgba(58,180,200,0.35);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Status */
.gh-cell-status { text-align: center; }
.gh-status {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.gh-status--active   { color: #97e158; }
.gh-status--inactive { color: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
    .gh-header-title {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    .gh-table thead th,
    .gh-table tbody td {
        padding: 10px 10px;
    }
    .gh-th-status,
    .gh-cell-status { display: none; }
}

/* ===================== NAVBAR REDESIGN – container-top fix =====================
   The new site-header is 65px tall at top:0 (vs old 150px at top:68px).
   Default (inner) pages use .container-top; override padding accordingly.
   The home page overrides this separately via body.home-v2 in home-redesign.css.
   ============================================================================= */
.container-top {
    padding-top: 90px !important;
}

@media (max-width: 1200px) {
    .container-top {
        padding: 80px 15px 0 15px !important;
    }
}