﻿/* registro CSS Document */

/* 
Autor:         Ing. Juan Enrique Rodríguez García
Creación:      23 Mar 2026

*/

* {
    box-sizing: border-box; /* 👈 clave */
    font-family: Arial, sans-serif;
}

body {
    margin: 10px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #eff4d2;
}

img {
    width: clamp(400px, 100%, 642px);
    height: auto;
}

.caja {
    width: clamp(400px, 100%, 642px);
    margin-top: 10px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}



.contenedor {
    width: clamp(400px, 100%, 642px);
    margin-top: 10px;
}

.card {
    margin-top: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden; /* importante para la barra verde */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-error {
    margin-top: 10px;
    background: #ffc5d3;
    border-radius: 10px;
    overflow: hidden; /* importante para la barra verde */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-ok {
    margin-top: 10px;
    background: #c8f2b9;
    border-radius: 10px;
    overflow: hidden; /* importante para la barra verde */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.barra {
    height: 8px;
    background: #9bbf00; /* verde */
}

.contenido {
    padding: 20px;
    border: none;
}

.titulo {
    font-size: 28px;
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #222;
}

.texto {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.autor {
    margin-top: 20px;
    font-size: 14px;
}

.footer {
    border-top: 1px solid #ccc;
    padding: 15px 20px;
    font-size: 14px;
    background: #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nota {
    color: red;
    font-size: 13px;
    padding: 10px 0px 10px 0px;
}

.boton {
    background-color: #5f8f00; /* verde */
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .boton:hover {
        background-color: #4e7600; /* un poco más oscuro */
    }

    .boton:active {
        background-color: #3f5f00;
    }


.input-texto {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 16px;
    padding: 8px 0;
    outline: none;
    transition: border-color 0.2s ease;
}

    /* Placeholder */
    .input-texto::placeholder {
        color: #777;
    }

    /* Cuando haces focus */
    .input-texto:focus {
        border-bottom: 2px solid #5f8f00; /* verde como el botón */
    }