*,
*::before,
*::after {
    box-sizing: border-box;
}

select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 6px 10px;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;
}

select::-ms-expand {
    display: none;
}

:root {
    --select-border: rgba(5, 20, 31, 1);
    --select-focus: rgb(52, 52, 63);
    --select-arrow: var(--select-border);
}

.select {
    width: 100%;
    min-width: 15ch;
    padding-right: 10px;
    border: 1px solid rgba(5, 20, 31, 0.2);
    font-size: 16px;
    cursor: pointer;
    background-color: #fff;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
}

.select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: rgba(5, 20, 31, 1);
    clip-path: polygon(10% 0, 50% 80%, 90% 0, 100% 0, 50% 100%, 0 0);
    justify-self: end;
}

select,
.select:after {
    grid-area: select;
}


select:focus+.focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid rgba(5, 20, 31, 1);
    border-radius: inherit;
}

option {
    font-weight: normal;
    display: block;
    white-space: nowrap;
    min-height: 28px;
    padding: 0px 2px 1px;
    font-size: 16px;
}

option:hover {
    border: 1px solid black !important;
}

label {
    color: rgba(5, 20, 31, 0.6);
}

input {
    /* width: 100%; */
    height: 30px;
    font-size: 16px;
    border: 1px solid rgba(5, 20, 31, 0.2);
    background-color: transparent;
    padding: 0px 10px;
    color: rgba(5, 20, 31);;
}

input:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
    border: 1px solid rgba(5, 20, 31, 0.2);
}

::placeholder {
    font-size: 16px;
    color: rgba(5, 20, 31, 0.6);
}

textarea {
    width: 100%;
    height: 100%;
    font-size: 16px;
    border: 1px solid rgba(5, 20, 31, 0.2);
    background-color: transparent;
    padding: 10px;
    color: rgba(5, 20, 31);;
}

textarea:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
    border: 1px solid rgba(5, 20, 31, 0.2);
}