﻿/* Fondo con animación de cohetes */
body {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    font-family: 'Arial', sans-serif;
    overflow: hidden; /* Evita scroll innecesario */
}

@keyframes floatRocket {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 1;
    }

    25% {
        transform: translate(50vw, 50vh) rotate(90deg);
    }

    50% {
        transform: translate(-50vw, -50vh) rotate(180deg);
    }

    75% {
        transform: translate(30vw, -80vh) rotate(270deg);
    }

    100% {
        transform: translate(-30vw, -100vh) rotate(360deg);
        opacity: 1;
    }
}


/* Estilo de los cohetes */
.rocket {
    position: fixed;
    width: 40px;
    height: 40px;
    background: url('https://i.postimg.cc/gc4NWb3N/619175.png') no-repeat center;
    background-size: contain;
    opacity: 1 !important;
    z-index: 9999;
    animation: floatRocket 6s linear forwards;
}



/* Contenedor del formulario 30% más ancho */
.middle-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 520px; /* Antes era 400px, ahora es un 30% más ancho */
    margin: auto;
    color: #333;
}

/* Logo */
.middle-box img {
    width: 180px;
    margin-bottom: 10px;
}

/* Título */
h3 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #0056b3;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.input-group-prepend .input-group-text {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 5px 0 0 5px;
    padding: 10px;
}

.input-group .form-control {
    border-radius: 0 5px 5px 0;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    box-shadow: none;
}

/* Botón principal con efecto hover */
.btn-primary {
    background: #0056b3;
    border-color: #0056b3;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background: #00449e;
    border-color: #00449e;
    box-shadow: 0px 0px 10px rgba(0, 86, 179, 0.5);
}

/* Botones secundarios */
.btn-white {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-white:hover {
    background: #e2e6ea;
    box-shadow: 0px 0px 8px rgba(200, 200, 200, 0.5);
}

/* Texto de términos */
.terms-text {
    font-size: 12px;
}


