* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --primary-color: #054239;
    --section-background: #428177;
    --light-background: #f0f0f0;
    --main-text-color: #b9a779;
    --secondary-text-color: #3d3a3b;
    --text-light-color: #fff;
    --text-muted-color: #6c757d;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    margin: 0 auto;
}

.authPage {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.loginForm {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: var(--section-background);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.loginForm > h2 {
    color: var(--text-light-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.field > label {
    color: var(--text-light-color);
    font-size: 0.95rem;
}

.field > input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    caret-color: var(--primary-color);
}

.field > input:focus {
    border-color: var(--primary-color);
}

.passwordContainer {
    position: relative;
}

.passwordContainer > input {
    padding-left: 2.8rem;
}

.togglePassword {
    position: absolute;
    top: 50%;
    left: 15px;
    cursor: pointer;
    color: var(--primary-color);
    transform: translateY(50%);
    z-index: 1;
}

.btn {
    width: 50%;
    background-color: var(--text-light-color);
    color: var(--section-background);
    border: none;
    padding: 0.85rem 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.3s ease-in-out;
    &:hover {
        background-color: var(--primary-color);
        color: var(--text-light-color);
    }
}

header {
    border-bottom: 2px solid var(--light-background);
}

.buttons .fa-user {
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    &:hover {
        color: var(--main-text-color);
    }
}