:root{
    --bg-color: #21222c;
    --desktop-nav: #17121b;
    --shadow-color: #a59b9b;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--bg-color);
    color: aliceblue;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--desktop-nav);
padding: 5px;
}
ul {
 display: flex;
 align-items: center;
 justify-content: space-between;
 list-style: none;  
}
li{
    margin: 5px;
    color: aliceblue;

}
form{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    width: 400px;   
    border-radius: 10px;
    background-color: var(--desktop-nav);
    margin: 10px;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
}
input{
    color: #17121b;
    width: 100%;
    margin-top: 10px;
    height: 50px;
    border-radius: 3px 9px;
    border: none;
}
button{
    background-color: rgb(21, 117, 58);
    margin-top: 10px;
    border: none;
    border-radius: 15px;
    width: 100%;
   height: 55px; 
   color: #fff;
   font-size: 20px;
   font-weight: bold;
}
/* ---- additions for the Go version ---- */
a { color: inherit; }
nav a { text-decoration: none; }
label { display: block; margin-top: 12px; font-size: 14px; }
select {
    width: 100%; height: 50px; margin-top: 10px; padding: 0 8px;
    border: none; border-radius: 3px 9px; color: #17121b; background: #fff;
}
form { max-width: 100%; }
input { padding: 0 10px; }
.alert { padding: 10px 12px; border-radius: 6px; margin: 10px; }
.alert-ok { background: rgba(21,117,58,.25); color: #86efac; }
.alert-error { background: rgba(220,38,38,.2); color: #fca5a5; }
.form-note { margin-top: 14px; font-size: 14px; text-align: center; }
.form-note a { color: #12b0a2; }
.inline-form { background: none; margin: 0; padding: 0; width: auto; }
.small-btn { width: auto; height: 36px; padding: 0 14px; font-size: 14px; margin: 0; }
h1 { margin-bottom: 8px; }

/* ---- register page extras ---- */
.hint { color: #94a3b8; font-weight: normal; font-size: 12px; }
.strength { height: 6px; background: #2c2a35; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.show-pass { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.show-pass input { width: auto; height: auto; margin: 0; }
[hidden] { display: none !important; }
