* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.white-header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container .logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.back-button {
    background-color: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: background 0.3s;
}

.back-button:hover {
    background-color: #ccc;
}

.confirm-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
    flex: 1;
}

.confirm-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    border-top: 4px solid #26ac47;
}

.confirm-icon {
    font-size: 4rem;
    color: #26ac47;
    margin-bottom: 1rem;
}

.confirm-card h2 {
    color: #1a2b4c;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.confirm-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.instruction {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* INPUT DE USUARIO Y CLAVE */
.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.input-group label i {
    color: #26ac47;
    margin-right: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.2s;
    background-color: #fafafa;
}

/* Input de clave - dígitos siempre visibles */
.input-group input[type="text"] {
    letter-spacing: 3px;
    font-weight: 500;
}

.input-group input:focus {
    outline: none;
    border-color: #26ac47;
    box-shadow: 0 0 0 2px rgba(38,172,71,0.1);
}

/* Quitar flechas de input number */
.input-group input::-webkit-inner-spin-button,
.input-group input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    display: none;
}

.input-group input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.clave-hint {
    font-size: 0.7rem;
    color: #888;
    display: block;
    margin-top: 0.3rem;
}

.confirm-btn {
    background-color: #26ac47;
    color: white;
    border: none;
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.confirm-btn:hover {
    background-color: #1e8c3a;
}

.usuario-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

footer {
    background-color: #26ac47;
    color: white;
    text-align: center;
    padding: 1.2rem;
    margin-top: auto;
}

@media (max-width: 480px) {
    .confirm-card {
        padding: 1.5rem;
    }
    .white-header {
        padding: 0.6rem 1rem;
    }
    .logo-img {
        height: 35px;
    }
}
