* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #E3E3E3, #F0F0F0);
}

/* Contenedor principal */
.container {
    position: relative;
    width: 1000px; /* Aumentar el ancho */
    height: 600px; /* Aumentar la altura */
    display: flex;
    align-items: center;
    
    justify-content: center;
}

/* Caja de Bienvenida */
.signup-box {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    width: 50%; /* Ajustar el ancho */
    height: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 10px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
                url('../img/REMOLQUES.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px; /* Aumentar padding */
    left: 46%; /* Ajustar la posición */
    
}

.signup-box h1 {
    font-size: 38px; /* Aumentar tamaño de fuente */
    font-weight: bold;
    margin-bottom: 15px;
}

.signup-box p {
    font-size: 18px; /* Aumentar tamaño de fuente */
    max-width: 80%;
}

.btn-signup {
    margin-top: 20px;
    padding: 14px 30px; /* Aumentar padding */
    background: #ff7f50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px; /* Aumentar tamaño de fuente */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-signup:hover {
    background: #e56b40;
}


.login-box {
    width: 40%;
    background: rgba(255, 255, 255, 0.384); /* Menos transparencia */
    border-radius: 15px;
    padding: 50px;
    position: absolute;
    left: 13%;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

/* Formas decorativas */
.login-box::before, 
.login-box::after {
    content: "";
    position: absolute;
    background: rgba(34, 78, 223, 0.2);
    border-radius: 50%;
    z-index: -1;
}

/* Círculo superior izquierdo */
.login-box::before {
    width: 80px;
    height: 80px;
    top: -30px;
    left: -30px;
}

/* Círculo inferior derecho */
.login-box::after {
    width: 100px;
    height: 100px;
    bottom: -40px;
    right: -40px;
}

/* Título Mejorado */
.login-box h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: rgb(34, 78, 223);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

/* Línea decorativa debajo del título */
.login-box h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #0078ff;
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Estilo de Inputs */
.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    backdrop-filter: blur(5px);
    position: relative;
}

/* Icono con separación y barra "|" */
.input-group .icon {
    font-size: 20px;
    color: rgb(34, 78, 223);
    margin-right: 10px;
    position: relative;
}

/* Barra "|" después del icono */
.input-group .icon::after {
    content: "|";
    color: rgb(34, 78, 223);
    font-size: 18px;
    margin-left: 10px;
}

/* Input */
.input-group input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 18px;
    color: black;
    padding-left: 10px;
}

/* Botón de Login con efecto moderno */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0078ff, #004e92);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #005bb5, #003366);
    transform: scale(1.05);
}
  





/* Responsividad */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .signup-box {
        display: none; /* Ocultar el cuadro de bienvenida en pantallas pequeñas */
    }

    .login-box {
        width: 100%;
        position: static;
        left: 0;
        margin-top: 30px;
    }

    /* Ajustes para pantallas pequeñas */
    .login-box h2 {
        font-size: 26px;
    }

    .input-group input {
        font-size: 16px;
    }

    .btn-login {
        font-size: 18px;
    }

    .signup-box h1 {
        font-size: 30px;
    }

    .signup-box p {
        font-size: 16px;
    }

    .btn-signup {
        font-size: 16px;
    }
}
