* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body {
    color: white;
    background-color: #1e1e1e;
}

#principal-logo {
    height: 58px;
    width: 58px;
    margin: 6px;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0084E3;
    min-height: 70px;
    padding-right: 70px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

a {
    display: flex;
    text-decoration: none;
    color: white;
}

nav a {
    height: 70px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

nav a:hover {
    background-color: #005a9b;
}

main {
    display: flex;
    justify-content: center;
}

#login_box {
    background-color: #0084e377;
    border-radius: 20px;
    width: 320px;
    margin-top: 80px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

h2 {
    text-align: center;
}

#login_form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

label {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 5px;
}

input {
    height: 35px;
    padding: 0 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

input:focus {
    box-shadow: 0 0 0 2px #005a9b;
}

#login_div {
    min-height: 20px;
    margin-top: 15px;
    text-align: center;
}

button {
    color: white;
    background-color: blue;
    height: 35px;
    width: 120px;
    border-radius: 20px;
    border: none;
    margin-top: 15px; /* Reduzido para não quebrar o layout */
    align-self: center;
    font-weight: bold;
    transition: 0.2s;
}

button:hover {
    background-color: rgb(0, 0, 150);
    cursor: pointer;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0084E3;
    font-size: 11px;
}

footer a:hover {
    text-decoration: underline;
}

.success-message { 
    color: #4ade80;
    font-size: 14px;
    font-weight: bold;
}

.error-message { 
    color: #ff6b6b;
    font-size: 14px;
    font-weight: bold;
}