/* ===== RESET BÁSICO ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #f2f2f2, #e6e6e6);
    min-height:100vh;
}

/* ===== HEADER CORPORATIVO ===== */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:#8B0000; /* rojo corporativo */
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:white;
    font-weight:600;
    letter-spacing:1px;
}

.logo img{
    height:50px;
}

.nombre-empresa{
    font-size:20px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:500;
    transition:0.3s;
}

nav a:hover{
    color:#d9d9d9;
}

/* ===== FORMULARIO ===== */
.mi-formulario{
    width:380px;
    margin:100px auto;
    background:white;
    padding:40px;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,0.2);
}

/* título opcional si agregas */
.mi-formulario h2{
    text-align:center;
    margin-bottom:20px;
    color:#8B0000;
}

/* bloques */
.acceso{
    margin-bottom:20px;
}

.acceso label{
    display:block;
    margin-bottom:5px;
    font-weight:600;
    color:#444;
}

/* inputs */
.input-text{
    width:100%;
    padding:12px;
    border:4px solid #ccc;
    border-radius:6px;
    transition:0.3s;
    font-size:14px;
}

/* focus elegante */
.input-text:focus{
    border:1px solid #8B0000;
    outline:none;
    box-shadow:0 0 6px rgba(139,0,0,0.3);
}

/* botón */
.mi-formulario button{
    width:100%;
    padding:12px;
    background:#8B0000;
    color:white;
    border:none;
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

/* hover */
.mi-formulario button:hover{
    background:#5c0000;
}

/* error */
.error{
    color:#b30000;
    background:#ffe6e6;
    padding:10px;
    border-radius:5px;
    margin-bottom:15px;
    text-align:center;
    font-size:14px;
}



/*codigo de imput*/
/* CONTENEDOR */
.acceso{
    position: relative;
    width: 100%;
}

/* ICONO 🔍 */
.acceso i{
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #b30000;
    font-size: 16px;
}

/* INPUT */
.acceso input{
    width: 100%;
    padding: 12px 12px 12px 40px; /* espacio para el icono */
    border-radius: 8px;
    border: 2px solid #ccc;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
}

/* EFECTO AL HACER CLICK */
.acceso input:focus{
    border-color: #b30000;
    box-shadow: 0px 0px 10px rgba(179,0,0,0.4);
}

/* HOVER */
.acceso input:hover{
    border-color: #7a0000;
}