body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #ffd6e7;
    background: linear-gradient(135deg, #ffafcc 0%, #ffc8dd 50%, #ffdde6 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.formulario {
    max-width: 750px;
    margin: 40px auto;
    background: white;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 77, 135, 0.3);
    border: 3px solid #ff8fab;
}

.formulario h2 {
    text-align: center;
    color: #c9184a;
    font-size: 32px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formulario label {
    display: block;
    margin-top: 18px;
    font-weight: bold;
    color: #880d35;
    font-size: 16px;
}

.formulario input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    margin-top: 6px;
    border: 2px solid #ffb3c6;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.formulario input[type="text"]:focus {
    border-color: #ff4d6d;
    background: #fff0f5;
    box-shadow: 0 0 8px rgba(255, 77, 109, 0.4);
}

.botones {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.botones input {
    background: #ff4d6d;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    min-width: 110px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.3);
}

.botones input:hover {
    background: #c9184a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 77, 109, 0.5);
}

.botones input[value="Regresar"] {
    background: #ff8fab;
}

.botones input[value="Listar"] {
    background: #590d22;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 14px;
}

table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #ffc8dd;
}

table tr:first-child {
    background: #ff4d6d;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

table tr:nth-child(even) {
    background: #fff0f5;
}

table tr:hover {
    background: #ffdde6;
}

/* Para el index */
.menu {
    max-width: 700px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 77, 135, 0.3);
    border: 3px solid #ff8fab;
    text-align: center;
}

.menu h1 {
    color: #c9184a;
    font-size: 36px;
}

.menu a {
    display: block;
    background: #ff4d6d;
    color: white;
    text-decoration: none;
    padding: 16px;
    margin: 12px 0;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(255,77,109,0.3);
}

.menu a:hover {
    background: #c9184a;
    transform: scale(1.03);
}