/* Fondo de la página con un estilo suave */
body {
    font-family: "Arial", sans-serif;
    background: linear-gradient(135deg, #ffe4e1, #ffcccb);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Contenedor principal con efecto de tarjeta */
.container {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Estilo del título */
h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ff6b81;
    font-family: "Georgia", serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

/* Entrada de búsqueda */
input[type="text"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ff6b81;
    width: 70%;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #ff94a2;
    outline: none;
}

/* Botón de búsqueda */
button {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #ff94a2;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #ff6b81;
}

/* Estilos de la tarjeta de cada carrera */
.carrera {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    color: #333;
    text-align: left;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.carrera:hover {
    transform: scale(1.03);
}

.carrera h3 {
    color: #ff6b81;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.carrera p {
    margin: 5px 0;
    color: #555;
    font-size: 0.95rem;
}

/* Estilos para mensajes */
#resultados p {
    font-size: 1.1rem;
    color: #ff6b81;
}

/* Fondo suave con diseño */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/batthern.png');
    opacity: 0.15;
    z-index: -1;
}
