:root {
    --select-border: #777;
    --select-focus: hsla(240, 100%, 50%, 0.144);
    --select-arrow: var(--select-border);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.select {
    /* width: 100%; */
    min-width: 15ch;
    max-width: 30ch;
    border: 1px solid var(--select-border);
    border-radius: 0.25em;
    padding: 0.25em 0.5em;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1.1;
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
    margin-top: 20px;
}


.select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

.login-button {
    background: hsl(240 5.9% 10%);
    border: 1px solid #0C2E5A;
    color: hsl(0 0% 98%);
    cursor: pointer;
    margin-top: 20px;
    padding: 8px 18px;
    -moz-border-radius: 5px 5px 5px 5px !important;
    -webkit-border-radius: 5px 5px 5px 5px !important;
    border-radius: 5px 5px 5px 5px !important;
    display: block;
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.25rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .25s;
    display: flex;
        align-items: center;
        justify-content: center;
}

.login-button:hover {
    background-color: hsl(240 5.9% 25%);
}

.login-container {
    justify-content: space-between;
        margin-top: 8px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.login-container label {
    align-self: flex-start;
}

select {
    // A reset of styles, including removing the default dropdown arrow
    appearance: none;
    // Additional resets for further consistency
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;
}

.select:has(select:focus) {
    border: 2px solid var(--select-focus);
}
svg {
    margin-right: 8px;
}
