/* =========================================================
   Misiones App — Welcome / Landing page
   Pantalla pública con logo + dos botones (Ingresar / Registrarse)
   Mobile-first, mismo sistema visual que login.css
   ========================================================= */

:root {
    --welcome-c-primary: #0d6efd;
    --welcome-c-primary-dark: #0a58ca;
    --welcome-c-text:      #1a1a2e;
    --welcome-c-muted:     #6b7280;
    --welcome-c-border:    #e5e7eb;
    --welcome-c-bg-grad-a: #eef4ff;
    --welcome-c-bg-grad-b: #f7f9ff;
    --welcome-radius:      16px;
}

/* ----- Layout ----- */
.welcome-screen {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    min-height: 100vh;
}

/* Bloque central: logo + marca + tagline + botones → centrado vertical */
.welcome-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 0; /* permite que flex:1 + justify-content:center funcionen */
}

.welcome-hero,
.welcome-actions {
    flex-shrink: 0;
}

/* Footer queda anclado al fondo */
.welcome-footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* ----- Hero (logo + título) ----- */
.welcome-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.welcome-logo {
    width: 132px;
    height: 132px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(13, 39, 94, 0.16));
}

.welcome-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--welcome-c-text);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.welcome-tagline {
    font-size: 14px;
    color: var(--welcome-c-muted);
    margin: 0;
    line-height: 1.4;
    max-width: 320px;
}

/* ----- Acciones ----- */
.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.welcome-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: var(--welcome-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}

.welcome-btn:active { transform: translateY(1px); }

.welcome-btn--primary {
    background: linear-gradient(180deg, #1e7dff 0%, #0d6efd 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.28);
}
.welcome-btn--primary:hover { background: linear-gradient(180deg, #2a8aff 0%, #1a6fe5 100%); }

.welcome-btn--secondary {
    background: #ffffff;
    color: var(--welcome-c-primary);
    border: 2px solid var(--welcome-c-primary);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
}
.welcome-btn--secondary:hover { background: #f3f7ff; }

/* ----- Footer ----- */
.welcome-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--welcome-c-border);
    font-size: 12px;
    color: var(--welcome-c-muted);
    line-height: 1.5;
}

.welcome-footer strong {
    color: var(--welcome-c-text);
    font-weight: 600;
}

/* ----- Mobile pequeño ----- */
@media (max-width: 360px) {
    .welcome-logo  { width: 112px; height: 112px; }
    .welcome-brand { font-size: 22px; }
    .welcome-tagline { font-size: 13px; }
    .welcome-btn { font-size: 15px; height: 48px; }
}