/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

h1, h2 {
    color: #2c3e50;
}

.registro, .clientes {
    width: 45%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

input, select, button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus, select:focus, button:focus {
    outline: none;
    border-color: #3498db;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

ul {
    list-style-type: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

li {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

li:last-child {
    border-bottom: none;
}

.verde {
    background-color: #eafaf1;
    border-left: 5px solid #2ecc71;
}

.amarillo {
    background-color: #fff9e6;
    border-left: 5px solid #f1c40f;
}

.rojo {
    background-color: #faeaea;
    border-left: 5px solid #e74c3c;
}

input#search {
    border: 2px solid #3498db;
    border-radius: 4px;
    padding: 10px;
}

input#search:focus {
    border-color: #2980b9;
}
/* Botones de editar y eliminar */
button.delete {
    margin: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

button.delete {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
}

button.delete:hover {
    background-color: #c0392b;
}

/* Reset básico */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Contenedor principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Caja del formulario */
.login {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Título */
.login h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333333;
}

/* Campos de entrada */
.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Botón */
.login button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login button:hover {
    background-color: #0056b3;
}

/* Mensaje de error */
.login p {
    margin: 10px 0;
    font-size: 14px;
}

/* Color de error */
.login p[style*="color: red"] {
    color: #ff0000;
    font-weight: bold;
}

/* Estilo del footer */
footer {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    transition: background-color 0.3s ease;
}

footer p {
    margin: 0;
    font-size: 16px;
}

/* Estilo del enlace */
footer a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Animación en hover */
footer a:hover {
    color: white;
    transform: scale(1.1);
}

/* Animación de fondo al hacer hover en el footer */
footer:hover {
    background-color: #0056b3;
}

