/* ===================================================
   ARKadia - Estilos Globales
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Segoe UI,Arial,sans-serif;

    background:#15181d;

    color:#f0f0f0;

}

/* ===========================================
   Contenedor general de las páginas
=========================================== */

.page{

    width:100%;

    margin:0 auto;

    padding:20px;

}

/* ===========================================
   Header
=========================================== */

header{

    width:100%;

    margin-bottom:1px;

	margin-top:10px;

}

.header-container{

    max-width:1650px;

    margin:0 auto;

    background:#20242b;

    border:1px solid #303844;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 0 20px rgba(0,0,0,.25);

}

.topbar{

    max-width:1200px;

    margin:0 auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:5px 5px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    text-decoration:none;

    color:inherit;

}
.logo,
.logo:hover,
.logo:visited{

    text-decoration:none;

    color:inherit;

}


.logo-text{

    display:flex;

    flex-direction:column;

}

.logo img{

    height:72px;

}

.logo span{

    font-size:34px;

    font-weight:700;

    color:#59c4ff;

    line-height:1;

}

.logo small{

    margin-top:6px;

    font-size:14px;

    color:#9ea9b7;

    letter-spacing:.5px;

}

.social{

    display:flex;

    gap:22px;

}

.social{

    display:flex;

    gap:20px;

}

.social a{

    color:#8f99a6;

    font-size:20px;

    text-decoration:none;

    transition:.25s;

}

.social a:hover{

    color:#59c4ff;

    transform:translateY(-2px);

}

nav{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    padding:18px;

    border-top:1px solid #303844;

    background:#20242b;

}

nav a{

    text-decoration:none;

    color:#f0f0f0;

    padding:10px 18px;

    border-radius:8px;

    transition:.25s;

}

nav a:hover{

    background:#38bdf8;

    color:#111;

}

/* ===========================================
   Responsive
=========================================== */

@media (max-width:768px){

    .topbar{

        flex-direction:column;

        gap:15px;

    }

    nav{

        flex-direction:row;      /* NO columna */

        justify-content:center;

        flex-wrap:wrap;

        gap:10px;

        padding:12px;

    }

    nav a{

        width:auto;              /* NO ocupar todo el ancho */

        padding:10px 14px;

        font-size:15px;

    }

}

/* ===========================================
   FOOTER
=========================================== */

footer{

    background:#20242b;

    border-top:1px solid #303844;

    margin-top:50px;

    padding:40px 20px;

}

.footer{

    max-width:1200px;

    margin:0 auto;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:80px;

}

.footer-logo img{

    width:180px;

    height:auto;

}

.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

	    border-radius:12px;

    gap:20px;

    text-align:center;

}

.footer-links{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.footer-copy{

    color:#7f8b98;

    font-size:13px;

}


.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

	    border-radius:12px;

    justify-content:center;

    text-align:center;

    gap:20px;

}

/* ===========================================
   Botones
=========================================== */

.button,
.button:link,
.button:visited{

    display:inline-block;

    background:#2b313b;

    color:#ffffff !important;

    text-decoration:none;

    padding:14px 28px;

    border:1px solid #303844;

    border-radius:10px;

    font-weight:bold;

    transition:.25s;

}

.button:hover{

    background:#38bdf8;

    color:#111 !important;

    border-color:#38bdf8;

    text-decoration:none;

    transform:translateY(-3px);

}

.button:active{

    text-decoration:none;

}

/* ===========================================
   Menú Principal
=========================================== */

nav{

    background:#20242b;

    border-top:1px solid #303844;

    border-bottom:1px solid #303844;

    padding:16px 0;

    margin:25px 0 35px;

}

nav a{

    transition:
        background .25s,
        color .25s,
        border-color .25s,
        transform .20s;

}

nav a:hover{

    background:#2b313b;

    color:#59c4ff;

}

nav{

    max-width:1200px;

    margin:25px auto 35px;

    background:#20242b;

    border:1px solid #303844;

    border-radius:12px;

    padding:16px;

    box-shadow:0 0 20px rgba(0,0,0,.25);

}

nav a.active{

    background:#2b313b;

    border:1px solid #42505d;

    color:#59c4ff;

    font-weight:600;

}


footer{

    background:transparent;
    margin-top:20px;
    padding:20px;

}

.footer-container{

    max-width:1750px;
    margin:0 auto;

    background:#20242b;

    border:1px solid #303844;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 0 20px rgba(0,0,0,.25);

}

.footer{

    max-width:1200px;
    margin:0 auto;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;

    padding:20px 10px;   /* ← mover el padding acá */
}

.copy-eos {
    cursor: pointer;
    color: #9ecbff;
    font-family: Consolas, monospace;
    white-space: nowrap;
    transition: color .2s;
}

.copy-eos:hover {
    color: #ffffff;
}

.copy-eos.copied {
    color: #66ff99;
}
/* Buscador DataTables */
div.dt-search input {
    width: 350px !important;
}


/* ==========================================
   Economy
========================================== */

.economy-list{
    list-style:none;
    margin:0;
    padding:0;
}

.economy-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.economy-list li:last-child{
    border-bottom:none;
}

.economy-list strong{

    font-weight:600;
}

/*==================================================
=            ACTIVIDAD ECONÓMICA
==================================================*/

.economy-activity{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:20px;

}


.economy-boxes{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.economy-box{

    background:#181c22;

    border:1px solid #323b4a;

    border-radius:12px;

    padding:20px;

}

.economy-box ul{
    list-style:none;
    margin:0;
    padding:0;
}

.economy-box li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #2d3542;
}

.economy-box li:last-child{
    border-bottom:none;
}

.economy-box li b{
    color:#ffffff;
    font-weight:700;
}

.economy-box ul{
    list-style:none;
}

/*==================================================
=            ECONOMÍA - ACTIVIDAD
==================================================*/

.economy-activity .card{

    padding:14px 18px !important;

}

.economy-activity .card h2{

    margin:0 0 10px 0 !important;
    padding-bottom:8px;

}

.economy-activity ul{

    margin:0 !important;
    padding:0 !important;
    list-style:none;

}

.economy-activity li{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:6px 0;
    margin:0;

}

.economy-activity li + li{

    margin-top:6px;

}


/* ==========================================================
   TRADE TABLE
========================================================== */

.trade-table{

    width:100%;
    table-layout:fixed;
    border-collapse:collapse;

}

.trade-table thead th{

    padding:14px 16px;

    text-align:left;

    font-size:15px;

    font-weight:600;

    color:#b8c2d0;

    border-bottom:1px solid #323844;

}

.trade-table tbody td{

    padding:16px;

    border-bottom:1px solid #2b313c;

    vertical-align:middle;

}

.trade-table tbody tr:last-child td{

    border-bottom:none;

}

.trade-table tbody tr:hover{

    background:rgba(255,255,255,.03);

}


/* ==========================================================
   COLUMNAS
========================================================== */

.trade-player{

    width:18%;

}

.trade-tribe{

    width:16%;

    font-size:13px;

    color:#8e98a7;

}

.trade-arrow{

    width:4%;

    text-align:center;

    font-size:22px;

    color:#8fa6c4;

}

.trade-amount{

    width:14%;

    text-align:right;

    font-weight:700;

    white-space:nowrap;

}

.trade-date{

    width:15%;

    text-align:right;

    font-size:13px;

    color:#8e98a7;

    white-space:nowrap;

}




/* ==========================================================
   TRIBUS
========================================================== */

.trade-tribe a{

    color:#9aa6b6;

    font-size:13px;

}

.trade-tribe a:hover{

    color:#c4d0df;

}


/* ==========================================================
   FOOTER
========================================================== */

.trade-footer{

    margin-top:18px;

    text-align:center;

    font-size:13px;

    color:#7d8795;

}

.trade-player{
    width:18%;
}

.trade-tribe{
    width:16%;
}

.log-qty{
    width:8%;
    text-align:right;
    white-space:nowrap;
}

.log-item{
    width:30%;
}

.trade-amount{
    width:14%;
}

.trade-date{
    width:14%;
}

.shop-table{

    width:100%;
    table-layout:fixed;
    border-collapse:collapse;

}

.shop-table th:nth-child(1),
.shop-table td:nth-child(1){

    width:18%;

}

.shop-table th:nth-child(2),
.shop-table td:nth-child(2){

    width:18%;

}

.shop-table th:nth-child(3),
.shop-table td:nth-child(3){

    width:34%;

}

.shop-table th:nth-child(4),
.shop-table td:nth-child(4){

    width:15%;
    text-align:right;

}

.shop-table th:nth-child(5),
.shop-table td:nth-child(5){

    width:15%;
    text-align:right;

}

.shop-table th:nth-child(1),
.shop-table td:nth-child(1){

    width:18%;

}

.shop-table th:nth-child(2),
.shop-table td:nth-child(2){

    width:18%;

}

.shop-table th:nth-child(3),
.shop-table td:nth-child(3){

    width:34%;

}

.shop-table th:nth-child(4),
.shop-table td:nth-child(4){

    width:15%;
    text-align:right;

}

.shop-table th:nth-child(5),
.shop-table td:nth-child(5){

    width:15%;
    text-align:right;

}





/* ==========================================================
   PLAYER
========================================================== */



.player-card{

    border-left:4px solid #3b4453;

}

.player-card.online{

    border-left-color:#3cc76a;

}

.player-card.offline{

    border-left-color:#d9534f;

}

.player-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:24px;

}

.player-header h2{

    margin:0;

    font-size:24px;

    font-weight:600;

}

.player-status{

    margin-top:4px;

    color:#8e98a7;

    font-size:13px;

}

.player-platform{

    background:#2f3743;

    padding:6px 12px;

    border-radius:6px;

    font-size:13px;

    color:#d8dee8;

}

.player-info{

    display:grid;

    gap:14px;

}

.info-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.info-row .label{

    display:flex;

    align-items:center;

    gap:8px;

    color:#9aa6b6;

    font-size:14px;

}

.info-row .value{

    font-weight:500;

    color:#f3f5f7;

}

.info-row .points{

    color:#5ec6ff;

    font-weight:700;

}


/* ==========================================================
   Player Layout
========================================================== */

.player-layout{

    display:grid;

    grid-template-columns:3fr 1fr;

    gap:20px;

    align-items:start;

}

.player-main{

    min-width:0;

}

.player-actions{

    min-width:0;

}

.action-btn{

    width:100%;

    margin-bottom:10px;

    padding:12px;

    border:none;

    border-radius:8px;

    background:#2b3444;

    color:#fff;

    cursor:pointer;

    font-size:15px;

    text-align:left;

    transition:.15s;

}

.action-btn:hover{

    background:#364156;

}

.action-btn.warning:hover{

    background:#8a6d3b;

}

.action-btn.danger:hover{

    background:#7a2f2f;

}

.player-actions hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.08);

    margin:18px 0;

}

.player-row{

    display:grid;

    grid-template-columns:180px 1fr;

    align-items:center;

    padding:10px 0;

}

.player-label{

    color:#8b95a7;

    font-weight:600;

}

.player-value{

    color:#fff;

    text-align:left;

}

/* ==========================================================================
   Enlaces
   ========================================================================== */

.link-name {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease;
    cursor: pointer;
}

.link-name:hover {
    color: #59b8ff;
}

/* ==========================================================================
   Formato de los AP en Players
   ========================================================================== */


.apoints {
    text-align: right;
    color: #00FF7F;
    font-weight: 700;
    font-size: 1rem;
}

.dt-paging nav {
    border: none;
    background: transparent;
    box-shadow: none;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {

    border-radius: 999px !important;

}
div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {

    border-radius: 999px !important;

    background: #3b82f6 !important;
    border: none !important;
    color: #fff !important;

}

div.dt-container .dt-paging .dt-paging-button {

    border-radius: 999px !important;
    padding: 6px 12px !important;

}

div.dt-container .dt-paging .dt-paging-button:hover {

    background: rgba(255,255,255,.06) !important;
color: #ffffff !important;

}

div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover {

    color: rgba(255,255,255,.25) !important;

}


div.dt-container div.dt-layout-row {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

