/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* LAYOUT GENERAL */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #164a86; /* Azul principal */
}

/* ================= HEADER ================= */
.header {
    background-color: #164a86;
    padding: 20px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon img {
    width: 40px;
    cursor: pointer;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navigation a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
}

.navigation a:hover {
    text-decoration: underline;
}

/* ================= MAIN ================= */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CAJA DE REGISTRO */
.signup-box {
    background-color: #164a86;
    width: 420px;
    padding: 40px;
    text-align: center;
}

/* MENSAJES PHP */
.signup-box p {
    color: #ffffff;
    margin-bottom: 15px;
}

/* TÍTULO */
.signup-box h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #000000;
}

/* FORMULARIO */
form {
    text-align: left;
}

label {
    font-size: 16px;
    color: #000000;
}

/* INPUTS (ORIGINAL) */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px 20px;
    margin: 10px 0 25px 0;
    border: none;
    border-radius: 30px;
    background-color: #e5e5e5;
    font-size: 15px;
}

input::placeholder {
    color: #8a8a8a;
}

/* BOTÓN */
input[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: #cc3b22;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #b3321c;
}

/* LINK DE CUENTA EXISTENTE */
.existente {
    margin-top: 25px;
}

.existente span {
    color: #ffffff;
    font-size: 15px;
}

.existente a {
    color: #cc3b22;
    text-decoration: none;
}

.existente a:hover {
    text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
    margin-top: auto;
}

.footer .container {
    height: 40px;
    background-color: #cc3b22;
}
