/* GLOBAL STYLES */

:root {
    /* Background */
    --bg-main: #0B0E14;
    /* Fondo principal */
    --bg-secondary: #262b34;
    /* Fondo secundario */
    --bg-secondary-transparent: rgba(38, 43, 52, 0.95);
    /* Cards, panels */

    /* Primnary colors */
    --color-primary: #8B5CF6;
    /* Morado neón */
    --color-secondary: #00E5FF;
    /* Azul eléctrico */

    /* Acentos */
    --color-accent: #00FF85;
    /* Verde ácido */
    --color-danger: #FF3D81;
    /* Rosa cyber / alertas */

    /* text */
    --text-main: #EAEAF0;
    /* Texto principal */
    --text-muted: #9CA3AF;
    /* Texto secundario */
} 

body {
    font-family: "Heebo", sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* HEADER & NAVIGATION */

header {
    height: 10%;
    background-color: var(--bg-secondary);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10%;
    justify-content: center;
}

.logo {
    width: 70px;
    border-radius: 10px;
}

.icon {
    width: 25px;
    height: 25px;
}

.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    gap: 10%;
}

.account:hover {
    color: var(--color-primary);
    transition: 0.3s;
    font-weight: bold;
    text-decoration: underline;
}

.active {
    color: var(--color-secondary);
    font-weight: bold;
    text-decoration: underline;
    font-size: 18px;
}

.activeR {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: underline;
    font-size: 18px;
}

.inactive:hover {
    color: var(--color-secondary);
    transition: 0.3s;
    font-weight: bold;
    text-decoration: underline;
    font-size: 18px;
}

#topMenu {
    width: 30%;
    display: flex;
    gap: 10%;
    align-items: center;
    justify-content: center;
}

#access {
    display: flex;
    gap: 20%;
}

/* MAIN CONTENT */

main {
    flex: 1;
}

/* FOOTER */

footer {
    background-color: var(--bg-secondary);
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

#email {
    color: var(--text-main);
}

/* GENERAL FORM ELEMENTS */

label {
    text-align: right;
    font-weight: bold;
    color: var(--text-main);
}

input, select, textarea {
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    color: var(--color-primary) !important;
    background-color: var(--bg-main);
    resize: none;
}

input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 20px var(--color-primary);
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 30%;
    height: 30%;
    cursor: pointer;
    accent-color: var(--color-primary);
}

span {
    color: var(--text-main);
    font-weight: bold;
}

@media (max-width: 900px) {
    header {
        height: auto;
        padding: 12px 16px;
    }

    nav {
        flex-direction: column;
        gap: 12px;
    }

    #topMenu,
    #access {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .menu {
        gap: 8px;
    }

    .logo {
        width: 56px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 600px) {
    #topMenu,
    #access {
        flex-direction: column;
        gap: 8px;
    }

    label {
        text-align: left;
    }
}
