*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    font-family: Helvetica, Arial, sans-serif;
}

body,
html {
    min-width: 320px;
}

body,
html {
    font-size: 14px;
    line-height: 100%;
    color: #141414;
}

a {
    color: #0087d9;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #79bfe9;
}

h1, .h1 {
    font-size: 24px;
    line-height: 100%;
    display: block;
    margin: 0;
}

h2, .h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    display: block;
    margin: 0;
}

h3, .h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    display: block;
    margin: 0;
}

table, tr, td {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}
button {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 20px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    background: #0087d9;
    color: #fff;
    transition: color 0.3s;
}
button:hover {
    background: #79bfe9;
    cursor: pointer;
}

@media (max-width: 575px) {

    h1, .h1 {
        font-size: 32px;
    }

    h2, .h2 {
        font-size: 32px;
    }

    h3, .h3 {
        font-size: 26px;
    }

}
.header {
    width: 100%;
    height: 40px;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.headerMenu {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;

}

.headerMenuUser {
    display: block;
    line-height: 110%;
    text-align: center;
    padding-left: 20px;
}
.headerMenuUser a {
    font-size: 12px;
}


@media (max-width: 1064px) {
    .headerMenu {
        margin: 0 20px;
    }
}

.container {
    margin: 0 auto;
    padding: 60px 0;
    max-width: 1024px;
}

@media (max-width: 1064px) {
    .container {
        margin: 0 20px;
    }
}

.head {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.headDesc {
    color: #8b8787;
}

.formWrapper {
    display: flex;
    gap: 20px;
}
.formWrapperLeft {
    width: calc(60% - 10px);
}
.formWrapperLeft form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.formWrapperLeft textarea {
    display: block;
    width: 100%;
    height: 400px;
    resize: vertical;
    padding: 10px;
    border: 1px solid #959595;
    border-radius: 10px;

}

.formWrapperRight {
    width: calc(40% - 10px);
}
.lastMessage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lastMessageHead {
    font-size: 18px;
    margin-top: 20px;
}
.lastMessageList {
    border: 1px solid #959595;
    border-radius: 10px;
    padding: 10px;
    margin-top: 20px;
    background: #F3F3F3;
    font-size: 12px;
}


@media (max-width: 991px) {
    .head {
        display: block;
    }
    .formWrapper {
        flex-direction: column;
    }
    .formWrapperLeft, .formWrapperRight {
        width: 100%;
    }
}


.statFilter {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.statFilterleft {
    width: calc(35%);
}
.statFilterDate {
}
.statFilterFast {
    margin-top: 5px;
}
.statFilterSeason {
    width: calc(25% - 10px);
}



.statFilterFast ul {
    display: flex;
    gap: 10px;
}
.statFilterFast li {
    display: block;
}
.statFilterFast li a {
    display: block;
    border-bottom: 1px dotted #0087d9;
}


.statFilterSeasonSelect {

}
.statFilterSeasonSelect select {
    display: block;
    width: 100%;
    height: 40px;
    font-size: 18px;
    border: 1px solid #959595;
    border-radius: 10px;
}



.statFilterDate form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.statFilterDateItem {
    display: block;
    width: calc(50% - 10px);
}
.statFilterDateItem label {
    display: block;
    font-size: 14px;
}
.statFilterDateItem input {
    display: block;
    width: 100%;
    height: 40px;
    font-size: 18px;
    padding: 10px;
    border: 1px solid #959595;
    border-radius: 10px;

}
.statFilterDateItem input:hover {
    cursor:pointer;
}
.statFilterDate button {
    margin-top: 0;
}

.statResult {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.statTable {
    border: 1px solid #959595;
    width: 30%;
}
.statTable th, .statTable td {
    border: 1px solid #959595;
    padding: 2px 5px;
    text-align: left;
}
.statTable th:last-child, .statTable td:last-child {
    text-align: center;
}



.statResultTextarea {
    display: block;
    width: 30%;
    min-height: 100px;
    align-self: stretch;

}

.admin {
    width: 50%;
}
.admin table {
    border: 1px solid #959595;
    width: 100%;
}
.admin table th, .admin table td {
    border: 1px solid #959595;
    padding: 2px 5px;
    text-align: center;
}
.admin table th:first-child, .admin table td:first-child {
    text-align: left;
}

.login {
    margin-top: 20px;
    width: 300px;
}
.login label {
    display: block;
    width: 100%;
    margin-top: 10px;
}
.login input {
    display: block;
    width: 100%;
    height: 40px;
    border: 1px solid #959595;
    border-radius: 10px;
    padding: 10px;
}
.error {
    margin-top: 20px;
    color: #E10012;
    font-size: 16px;
    font-weight: bold;
}
.success {
     margin-top: 20px;
     color: #299843;
     font-size: 16px;
     font-weight: bold;
 }
.messagesWrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.messages {
    display: flex;
    width: auto;
    gap: 10px;
    padding: 0 0 20px 0;
}
.messagesItem {
    width: 220px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
}

.messagesItem.matched {
    background: rgba(255,115,89,0.51);
}



.messagesDelete {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}
.messagesDelete button {
    margin-top: 0;
    font-size: 12px;
    width: 70px;
    height: 26px;
}

.messagesNickname {
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}

.messagesDate {
    margin-top: 10px;
    font-style: italic;
    font-size: 12px;
}

.messagesTable {
    margin-top: 10px;
}

.compare {
    border:none;
    margin: 0;
    width: 100%;
}
.compare th, .compare td {
    border:none;
    padding: 0;
}
.compare th:last-child, .compare td:last-child {
    padding: 0 0 0 20px;
}