/* Reset básico */

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
  --color-bg: #f4f6f8;
  --color-sidebar: #ffff;
  --color-sidebar-hover: #500b75;
  --color-accent: #852db4;
  --color-text: #500b75;
  --color-light: #e2e8f0;
  --color-cancel : #b92020;
  --radius: 12px;
  --transition: 0.3s ease;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
}



@font-face {
  font-family: 'Mofugu';
  src: url(../../assets/fonts/mofugu-bold-sans-serif/Web-TT/Mofugu.woff);
  font-style: normal;
}

@font-face {
  font-family: 'Sklow';
  src: url(../../assets/fonts/sklow-sans-serif/Sklow.otf);
  font-style: normal;
}



/* Fondo de la página */

body{

    background: #f4f6fb;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Sklow';
    font-size: 1.2em;
    color: var(--color-text)

}

/* Contenedor principal */

.votante-login-container{

    width: 380px;
    background: #ffffff;

    padding: 35px;

    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

}

/* Título */

.votante-login-container h2{

    text-align: center;
    margin-bottom: 25px;

    color: var(--color-text);

}

/* Campo */

.login-field{

    margin-bottom: 18px;

}

/* Label */

.login-field label{

    display: block;
    margin-bottom: 6px;

    font-size: 14px;
    color: #444;

}

/* Input */

.login-field input{

    width: 100%;

    padding: 11px 12px;

    border: 1px solid #d6d9e0;
    border-radius: 6px;

    font-size: 14px;

    transition: border 0.2s;

}

.login-field input:focus{

    outline: none;
    border-color: #3b6cff;

}

/* Botón */

.login-btn{

    width: 100%;

    padding: 12px;

    border: none;
    border-radius: 6px;

    background: var(--color-text);
    color: #fff;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition: background 0.2s;

}

.login-btn:hover{

    background: var(--color-accent);

}

/* Error */

.login-error{

    background: #ffe5e5;

    color: #b30000;

    padding: 10px 12px;

    border-radius: 6px;

    margin-bottom: 18px;

    font-size: 14px;

}

.login-logo{
    text-align:center;
    margin-bottom:20px;
}

.login-logo img{
    width: 150px;
    max-width:100%;
}

.login-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;

    padding: 12px;
    margin-bottom: 15px;

    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}