.form1 h3 {
    font-size: 30px;
    font-weight: 500;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px gray;
}

.form1 h6 {
    align-items: center;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.form1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: auto;
    /*center the content*/
    width: 100%;
    max-width: 500px !important;
    border: 1px solid black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    /*left and right*/
    align-items: center;
    /*up and down*/
    background-image: linear-gradient(160deg, #d4f4f7, #9db5b7);
    box-shadow: -1px -1px 3px inset;
}

.form4 {
    background-image: linear-gradient(160deg, #f7ecd4, #b7af9d);
}

.form1 input[type="text"],
.form1 input[type="password"],
.form1 input[type="date"],
.form1 select {
    border: 1px solid black;
    background-color: #efefef;
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
    color: #000;
    box-shadow: -1px -1px 3px inset;
    width: 80%;
}

.form1 > p {
    padding: 5px;
    text-align: center;
}

#amount,
#datePicker,
#datePicker2,
#account-source,
#bank-source,
#bank-bucket,
#bucket select,
#bucket2,
#new-vendor {
    width: fit-content;
}

#bank-source,
#bank-bucket,
#bucket2,
#bank-debt-source,
#inflow-bucket-checkbox-label,
.bucket-options,
#budgetable-checkbox-label,
#new-vendor,
#new-vendor-memo {
    display: none;
}

#vendor {
    min-width: 200px;
}

.dropdown {
    background-color: #efefef;
    border: 2px solid black;
    border-radius: 5px;
    color: #000;
    text-shadow: none;
    margin: 0px 5px 0px 5px;
    padding: 0 5px 0 5px;
    user-select: none;
    max-width: 33%;
}

.dropdown-option {
    color: #000;
}

.dropdown > option:disabled {
    color: #7d7d7d;
}

.see-pass {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 80%;
}

.form1 input[type="checkbox"] {
    appearance: checkbox !important;
    margin-left: 10px;
    margin-right: 10px;
}

.form1 button {
    border: 1px solid black;
    padding: 5px 10px 5px 10px;
    border-radius: 15px;
    font-size: 20px;
    margin: 5px;
    background-color: lightblue;
    box-shadow: -1px -1px 3px inset;
    margin-bottom: 10px;
    cursor: pointer;
}

.form1 div .split-amount {
    width: 100px;
}

.bucket-split-line2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* nowrap */
    justify-content: space-between;
}

.bucket-split-line2 > select {
    min-width: 115px;
    align-self: center;
    margin-right: auto;
}

.bucket-split-line2 > p {
    align-content: center;
    width: 100px;
}

.form1 a {
    text-decoration: underline;
    color: blue;
}

input:invalid {
    border: 3px solid red !important;
}