:root {
    --top-height: 4rem;
}

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    margin: 0;
    padding: 0;
}

body {
    width: 100vw;
    height: 100vh;
}

div.app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/* ----------------TOP---------------- */
div.app > div.top {
    background-color: white;
    padding: 10px;
    width: 100%;
    height: var(--top-height);
}

div.top > div.top-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

div.top-content > img.logo {
    display: block;
    height: 60%;
    margin: auto 0;
}

div.top-content > span.user {
    margin: auto 0;
    border: solid 1px;
    border-radius: 30px;
    padding: 5px 15px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

div.top-content  > span.title-system {
    position: absolute;
    margin-left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    font-weight: 500;
}

/* ----------------MAIN---------------- */
div.app > div.main {
    background: radial-gradient(circle, grey,rgba(0, 0, 0, 0.2));
    padding: 10px;
    width: 100%;
    height: calc(100% - var(--top-height));
    overflow-y: auto;
}

/* ----------------FORM---------------- */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    padding: 1rem;
    border-radius: .5rem;
}

form > h1 {
    text-align: center;
    font-size: 1rem;
    padding-bottom: 1rem;
}

form label {
    color: grey;
    font-size: .75rem;
    margin-bottom: .2rem;
}

form > input,
form > select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    transition: border 0.3s ease;
}

form > input:focus,
form > select:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

form > select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 1.5rem;
}

button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #0056b3;
}
