/* === EXACTO AL LOGIN === */
body { background: #cfe2f3; margin:0; font-family: "Inter", sans-serif; min-height:100vh; }

/* Header azul oscuro */
.joyhub-header {
    background: #0a1d3b;
    padding: 1.5rem;
    text-align: center;
}
.joyhub-header img { height: 55px; }

/* Fullscreen centrado */
.joyhub-fullscreen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 80px);
}

.joyhub-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 420px);
    margin: 1rem 0 1.5rem;
}

.joyhub-step {
    padding: 0.7rem 0.5rem;
    border: 1px solid rgba(10, 29, 59, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    color: #415779;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.joyhub-step.is-active {
    background: #0a1d3b;
    color: white;
}

.joyhub-step.is-complete {
    background: #dff3ea;
    color: #146c43;
    border-color: rgba(20, 108, 67, 0.18);
}

/* Tarjeta = login */
.joyhub-card {
    background: white;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.joyhub-fullbanner {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.joyhub-form-container {
    padding: 2.2rem;
    text-align: center;
}
.joyhub-form-container h2 {
    color: #0a1d3b;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.joyhub-helper {
    margin: -1rem 0 1.25rem;
    color: #4b5d78;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Inputs iguales */
.form-group { margin-bottom: 1rem; text-align:left; }
.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: #0a1d3b;
    font-size: 0.83rem;
    font-weight: 700;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #0a1d3b;
    box-shadow: 0 0 0 4px rgba(10,29,59,0.15);
}

.joyhub-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Botón gigante */
.joyhub-bigbtn {
    background: #0a1d3b;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}
.joyhub-bigbtn:hover { background:#122b5b; transform:translateY(-2px); }
.btn-success { background:#28a745 !important; }

.joyhub-secondary-btn {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.9rem;
    border: 1px solid #0a1d3b;
    border-radius: 12px;
    background: white;
    color: #0a1d3b;
    font-weight: 700;
    cursor: pointer;
}

.joyhub-secondary-btn:hover {
    background: #edf4fb;
}

.joyhub-bigbtn:disabled,
.joyhub-secondary-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.joyhub-form-message {
    min-height: 1.25rem;
    margin: 0 0 0.8rem;
    color: #4b5d78;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: left;
}

.joyhub-form-message.is-error {
    color: #b42318;
}

.joyhub-form-message.is-success {
    color: #146c43;
}

.joyhub-code-input {
    text-align: center;
    letter-spacing: 0.18em;
    font-weight: 700;
}

.joyhub-summary {
    margin: 1rem 0;
    padding: 0.9rem;
    border: 1px solid #d8e2ee;
    border-radius: 10px;
    background: #f8fbff;
    text-align: left;
}

.joyhub-summary-label {
    color: #5d6b82;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.joyhub-summary-value {
    margin-top: 0.25rem;
    color: #0a1d3b;
    font-weight: 700;
}

.joyhub-secondary-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #0a1d3b;
    font-weight: 700;
}

/* Enlace verde */
.joyhub-link { color:#198754 !important; font-weight:600; }

/* Móvil */
@media (max-width:480px) {
    .joyhub-card { margin:1rem; border-radius:16px; }
    .joyhub-fullbanner { height:180px; }
    .joyhub-form-row { grid-template-columns: 1fr; }
}
