/* Estilos Generales y Reset */
html,
body {
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fbf8ef;
    text-align: center;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Banner Superior */
.banner {
    width: 100%;
    height: 140px;
    min-height: 140px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
/* Barra de Navegación (Fondo vainilla/amarillo claro) */
.layout {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: calc(100vh - 255px);
}

.navbar {
    background-color: #fbf8ef; /* Tono suave para el sidebar */
    width: 180px;
    padding: 24px 16px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Enlaces de Navegación */
.nav-link {
    display: block;
    width: 100%;
    color: #4b0082; /* Color morado/púrpura de los links */
    text-decoration: none;
    margin: 0 0 15px 0;
    padding: 12px 6px;
    font-weight: bold;
    text-align: center;
    background-color: #fff4c8;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #23005e;
    background-color: #fff1a8;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.nav-link:hover {
    color: #00d458; /* Efecto opcional al pasar el ratón */
}

/* Separadores en la barra */
.separator {
    color: #a0a0a0;
    font-weight: lighter;
}

/* Contenido Principal */
.layout {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: calc(100vh - 140px);
}

.main-content {
    flex: 1 1 auto;
    min-width: 0;
    background-color: #fbf8ef;
    box-sizing: border-box;
    padding: 0;
}

.content-frame {
    width: 100%;
    height: calc(100vh - 140px);
    border: none;
    background-color: #fbf8ef;
}

.content-page {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 32px;
    color: #1f1f1f;
    box-sizing: border-box;
}

.content-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    padding: 28px;
    margin-top: 24px;
}

.server-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-secondary {
    background: #f3f3f3;
    border: 1px solid #d6d6d6;
    color: #333;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background: #e9e9e9;
}

.server-note {
    color: #666;
    font-size: 14px;
}

.server-list {
    display: grid;
    gap: 16px;
}

.server-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 22px;
    background: #ffffff;
    display: grid;
    gap: 10px;
}

.server-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.server-badge {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}

.server-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #555;
    font-size: 15px;
}

.server-error {
    color: #a00;
    font-weight: bold;
}

.content-page p {
    line-height: 1.7;
    color: #333333;
    max-width: 740px;
    margin: 0 auto 18px;
}

/* Título de Bienvenida (Negro y en negrita) */
.welcome-title {
    font-size: 32px;
    color: #000000;
    margin-bottom: 16px;
    font-weight: bold;
}

/* Subtítulo de la Sección Activa (Azul celeste) */
.section-title {
    font-size: 28px;
    color: #00addc; /* Color azul cian exacto */
    margin-top: 10px;
    font-weight: bold;
}