body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f4f6fb 0%, #e0e7ff 100%);
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    position: relative;
    z-index: 2;
}

.bienvenido {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2a5298;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitulo {
    font-size: 1.3rem;
    color: #1e3c72;
    opacity: 0;
    animation: fadeIn 1.2s 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.decoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 80% 20%, #2a5298 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, #1e3c72 0%, transparent 60%);
    animation: moveBg 10s linear infinite alternate;
}

@keyframes moveBg {
    0% {
        background-position: 80% 20%, 20% 80%;
    }
    100% {
        background-position: 70% 30%, 30% 70%;
    }
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 2rem 1rem;
}

.form-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(42, 82, 152, 0.08);
    max-width: 400px;
    width: 100%;
}

.form-section h2 {
    margin-top: 0;
    color: #2a5298;
    font-size: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: 500;
}

input, select, textarea {
    padding: 0.7rem;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9fafb;
    transition: border 0.2s;
}

input:focus, select:focus, textarea:focus {
    border: 1.5px solid #2a5298;
    outline: none;
}

button {
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
}

footer {
    background: #1e3c72;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .bienvenido {
        font-size: 2rem !important;
    }
    .subtitulo {
        font-size: 1rem !important;
    }
    .form-section {
        padding: 1rem;
        max-width: 100%;
    }
    main {
        padding: 1rem 0.2rem;
    }
    .rounded-4 {
        border-radius: 1rem !important;
    }
} 