/* ============================
   SKY CHECK — ESTILOS GENERALES
   ============================ */

body {
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 92%;
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding-top: 40px;
}

.logo {
    width: 300px;
    max-width: 85%;
    margin-bottom: 25px;
}


h1 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #61a8ff;
}

.subtitle {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* ============================
   BOTONES
   ============================ */

.btn {
    display: block;
    background: #1f6feb;
    color: white;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}

.btn:hover {
    background: #388bfd;
}

.btn-secondary {
    display: block;
    background: #30363d;
    color: white;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #4c5157;
}

/* ============================
   FORMULARIOS
   ============================ */

form {
    text-align: left;
    margin-top: 20px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 15px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: none;
    border-radius: 4px;
    background: #161b22;
    color: white;
    font-size: 15px;
}

textarea {
    resize: vertical;
}

/* ============================
   TABLAS (Panel Admin)
   ============================ */

table {
    width: 100%;
    margin-top: 25px;
    border-collapse: collapse;
    background: #161b22;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #30363d;
}

th {
    background: #1f6feb;
    color: white;
    text-align: left;
}

tr:hover td {
    background: #21262d;
}

/* ============================
   TEXTO PEQUEÑO
   ============================ */

.admin-hint {
    margin-top: 25px;
    font-size: 13px;
    opacity: 0.6;
}

/* ============================
   AJUSTE DE TÍTULOS EN MÓVIL
   ============================ */
@media (max-width: 768px) {
    h1 {
        margin-top: 5px !important; /* Subimos el título para que no empuje los botones hacia abajo */
    }

    .logo {
        margin-bottom: 10px !important; /* Acorta el espacio bajo el logo */
    }

    .container {
        padding-top: 20px !important; /* Todo el bloque un poco más arriba */
    }
}

/* ===== Ajuste fino SOLO PARA MÓVIL ===== */
@media (max-width: 768px) {

    body {
        padding-top: 10px !important;   /* Subimos todo ligeramente */
    }

    .logo {
        margin-top: -20px !important;   /* Subimos el logo */
        width: 180px !important;
    }

    h1, h2, .title {
        margin-top: 10px !important;    /* Subimos el título */
        margin-bottom: 10px !important;
    }

    .container {
        margin-top: -10px !important;   /* Empuja todo hacia arriba */
    }

    footer {
        margin-bottom: 20px !important; /* Para que quede visible sin scroll */
    }
}

