/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 60px 15px 0;
}
.container .text-muted {
  margin: 20px 0;
}

#footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}


/* ==================================================
   Ragnarok Online Style Server Status
   ================================================== */

.ro-status-card {
    background: linear-gradient(180deg, #1e2638 0%, #121724 100%);
    border: 1px solid #3b4b6b;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 15px;
    color: #dcdfe6;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-bottom: 20px;
}

.ro-status-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ro-status-table th {
    color: #8fa0c0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 8px;
    border-bottom: 1px solid #2c3850;
    text-align: center;
}

.ro-status-table td {
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.server-name {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.status-badge.online {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
}

.status-badge.offline {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.online .status-dot {
    background-color: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
}

.offline .status-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 6px #e74c3c;
}

.player-count {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    font-family: 'Consolas', monospace;
}
/* Rimuove il padding forzato del container Bootstrap nelle pagine di autenticazione */
body > .container {
    padding-top: 20px !important;
}