body {
    background-image: var(--bs-body-img);
    font-family: "Inter", sans-serif;
    color: var(--sidebarText);
    margin: 4em;
    overflow: hidden;
    background-size: cover;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 4em;
    align-items: center;
    justify-content: center;
}

.side {
    width: 50%;
    justify-items: center;
}

h1 {
    font-size: x-large;
    width: fit-content;
}

.logos-container {
    width: 100%;
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 2em;
}

.column {
    width: fit-content;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 2em; 
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center; 
    gap: 1em;
}

.row > * {
    width: 50%;
}

img {
    width: inherit;
    height: fit-content;
}

.register-form {
    height: 80%;
    background: var(--primaryBg);
    border-radius: 15px;
    padding: 2em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--sidebarText);
    text-align: center;
    display: flex;
    flex-direction: column;
}

form {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-height: 90%;
}

.form-fields {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    gap: 1em;
    padding-right: 0.5em;
}

.form-fields::-webkit-scrollbar {
    width: 8px;
}

.form-fields::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.form-fields::-webkit-scrollbar-thumb {
    background: var(--primaryBg);
    border-radius: 10px;
}

.form-fields::-webkit-scrollbar-thumb:hover {
    background: var(--sidebarHover);
}

.form-col {
    columns: 2;
    gap: 1em;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.errorlist {
    color: red;
}

.custom-label {
    text-align: left;
}

input, select {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: transparent;
    color: var(--sidebarText);
    border: solid 0.09em var(--sidebarHover);
    outline: none;
}

option {
    color: black;
}

#id_groups {
    columns: 2;
}

.button-login {
  color: var(--sidebarText);
  padding: 10px 20px ;
  border: 1px solid var(--sidebarHover) ;
  border-radius: 5px ; 
  cursor: pointer ;
  font-size: 1.1em ;
  backdrop-filter: blur(5px) ;
  text-decoration: none ;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.button-login:hover {
  color: var(--sidebarTextHover) ;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

label {
    text-align: start;
}

@media (max-width: 1024px) {
    .system-info {
        display: none;
    }

    body {
        margin: 1em;
    }

    .side {
        width: 80%;
    }

    .form-title {
        font-size: xx-large;
    }

    input:not([type="checkbox"]), select {
        height: 2.5em;
    }

    label, input {
        font-size: xx-large;
        height: fit-content;
    }
}