/* Form */
#form {
    max-width: 500px;
}
#form h2 {
    margin-top: 0;
}
select, input { color: #757575; }
select {
    width: 100%;

    border: none;
    border-radius: 0.2rem;
    font-size: 0.875rem;

    padding: 0.75rem;
}
input {
    width: 100%;

    padding: 0.8rem;

    border: none;
    border-radius: 0.2rem;
    -webkit-border-radius: 0.2rem;
    -moz-border-radius: 0.2rem;
    -ms-border-radius: 0.2rem;
    -o-border-radius: 0.2rem;
}
.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.input-container .input-group {
    width: 100%;
}
.input-group {
    margin-top: 0.8rem;
}
.input-group.switch {
    margin-bottom: 1.6rem;

    display: flex;
    align-items: center;
    gap: 1rem;
}
.input-group.switch .switch-group {
    /* background-color: rgb(0, 0, 0, 2%); */
    color: #969CB2;
    font-size: 0.875rem;

    /* border: 2px dashed #2ECC71; */
    border-radius: 0.5rem;

    padding: 0.5rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
small.help-for-modal {
    opacity: 0.4;
}
.input-group.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.input-group.actions .button,
.input-group.actions button {
    width: 48%;
}

#category-modal .modal {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#category-modal .input-group,
#category-modal h2 {
    margin: 0;
}
#category-modal h2 {
    margin-bottom: 0.5rem;
}
#category-modal .input-group input {
    border-radius: 0.25rem 0 0 0.25rem;
}
#category-modal button {
    width: fit-content;
    height: fit-content;
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.8rem 1.5rem;
}
#category-modal #form-delete-category button {
    background-color: #E83F5B;
}
#category-modal #form-delete-category .category-group {
    width: 100%;
    height: 5rem;

    color: #969cb3;
    border: 1px dashed #363f5f33;

    padding: 0 1rem;
    margin-bottom: 0.5rem;

    overflow: scroll;
}
#category-modal form {
    display: flex;
    align-items: center;
}
#category-modal .exit-x {
    width: 2rem;
    height: 2rem;

    background-color: #00000040;
    border-radius: 0;

    padding: 0;
    
    position: absolute;
    top: 0;
    right: 0;
}