label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border: 1px solid #666;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    width: 100%;
}

input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
    border-color: #333;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    width: auto;
}

[type=button],
[type=submit],
button {
    background-color: transparent;
    border: 1px solid #c36;
    border-radius: 3px;
    color: #c36;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

[type=button]:focus:not(:focus-visible),
[type=submit]:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus-visible {
    outline: none !important;
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #c36;
    color: #fff;
    text-decoration: none;
}

[type=button]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
    resize: vertical;
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

select {
    display: block;
}

table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
    margin-block-end: 15px;
    width: 100%;
}

table td,
table th {
    border: 1px solid hsla(0, 0%, 50%, 0.502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}

table th {
    font-weight: 700;
}

table tfoot th,
table thead th {
    font-size: 1em;
}

table caption+thead tr:first-child td,
table caption+thead tr:first-child th,
table colgroup+thead tr:first-child td,
table colgroup+thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
    border-block-start: 1px solid hsla(0, 0%, 50%, 0.502);
}

table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 50%, 0.071);
}

table tbody tr:hover>td,
table tbody tr:hover>th {
    background-color: hsla(0, 0%, 50%, 0.102);
}

table tbody+tbody {
    border-block-start: 2px solid hsla(0, 0%, 50%, 0.502);
}

@media (max-width: 767px) {
    table table {
        font-size: 0.8em;
    }

    table table td,
    table table th {
        line-height: 1.3;
        padding: 7px;
    }

    table table th {
        font-weight: 400;
    }
}
