.LoginBox {
    overflow: hidden;
    border: 1px solid #e8e4df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(46, 54, 59, 0.1);
}
.contact-intro {
    padding: 30px 34px 10px;
    color: #5f6668;
    line-height: 1.9;
}
#contactForm {
    padding: 0 34px 30px;
}
#contactForm .contact-form-table {
    float: none;
    width: 100%;
    margin: 0;
    border: 0;
}
#contactForm .contact-form-table tr {
    display: block;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #eeeae5;
    line-height: 1.5;
}
#contactForm .contact-form-table tr.is-hidden {
    display: none !important;
}
#contactForm .contact-form-table tr:first-child {
    padding: 12px 0 18px;
    border-bottom: 0;
    color: #294b4d;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}
#contactForm .contact-form-table tr:first-child td {
    display: block;
}
#contactForm .contact-form-table td {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
}
#contactForm .contact-form-table td:before {
    float: none;
    width: auto;
    padding: 0;
    color: #596364;
    font-size: 17px;
    font-weight: 600;
}
#contactForm .contact-form-table td.contact-required:before {
    content: none;
}
#contactForm .contact-form-table td.contact-required:after {
    content: none;
}
.contact-field-label {
    color: #596364;
    font-size: 17px;
    font-weight: 600;
}
.contact-required-mark {
    color: #d22;
}
#contactForm .contact-form-table input:not([type="radio"]):not([type="hidden"]),
#contactForm .contact-form-table textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #dddcd6;
    border-radius: 8px;
    background: #fff;
    color: #313b3b;
    font: inherit;
    line-height: 1.5;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
#contactForm .contact-form-table input:not([type="radio"]):not([type="hidden"]):focus,
#contactForm .contact-form-table textarea:focus {
    outline: none;
    border-color: #6b9690;
    box-shadow: 0 0 0 3px rgba(107, 150, 144, 0.14);
}
#contactForm .contact-form-table textarea {
    min-height: 130px;
    resize: vertical;
}
#contactForm .contact-form-table tr:nth-child(8) td,
#contactForm .contact-form-table tr:nth-child(9) td {
    align-items: start;
}
#contactForm .contact-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
#contactForm .contact-choice-list label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #e7e5df;
    border-radius: 7px;
    background: #fff;
    color: #4d5858;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 160ms ease, background-color 160ms ease;
}
#contactForm .contact-choice-list label:has(input:checked) {
    border-color: #91aaa2;
    background: #f3f7f4;
    color: #294b4d;
}
#contactForm .contact-choice-list input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: #567b72;
}
#contactForm .contact-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
#contactForm .contact-captcha-code {
    padding: 9px 13px;
    border: 1px dashed #c8cec7;
    border-radius: 7px;
    background: #f5f6f1;
    color: #405a54;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
}
#contactForm .contact-captcha input:not([type="hidden"]) {
    max-width: 150px;
}
#contactForm .contact-form-table tr:last-child {
    padding: 24px 0 0;
    border: 0;
}
#contactForm .contact-form-table tr:last-child td {
    display: block;
    text-align: right;
}
#contactSubmit {
    min-width: 180px;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    background: #456e64;
    color: #fff;
    font: inherit;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 160ms ease, transform 160ms ease;
}
#contactSubmit:hover:not(:disabled) {
    background: #35584f;
    transform: translateY(-1px);
}
.contact-sending-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(9, 35, 51, 0.48);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.contact-sending-overlay.is-active {
    display: flex;
}
.contact-sending-box {
    box-sizing: border-box;
    width: 360px;
    max-width: calc(100% - 40px);
    background: #fafdff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 36px 24px 28px;
    margin: 20px;
    text-align: center;
    color: #173e54;
    box-shadow: 0 20px 60px rgba(6, 31, 47, 0.22);
    font-family: inherit;
    line-height: 1.6;
}
.contact-sending-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #e9f4f8;
    color: #1683a5;
}
.contact-sending-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #cfe6ef;
    border-top-color: #1683a5;
    border-radius: 50%;
    animation: contact-sending-spin 1.2s linear infinite;
}
.contact-sending-icon svg {
    width: 32px;
    height: 32px;
}
.contact-sending-box strong {
    display: block;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 1px;
}
.contact-sending-box p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: #627c8b;
}
@keyframes contact-sending-spin {
    to { transform: rotate(360deg); }
}
#contactSubmit:disabled {
    opacity: 0.6;
    cursor: wait;
}
@media (max-width: 600px) {
    .contact-intro {
        padding: 24px 20px 8px;
    }
    #contactForm {
        padding: 0 20px 24px;
    }
    #contactForm .contact-form-table td {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    #contactForm .contact-form-table td:before {
        font-size: 19px;
        font-weight: 600;
    }
    .contact-field-label {
        font-size: 19px;
    }
    #contactForm .contact-choice-list {
        gap: 7px;
    }
    #contactForm .contact-choice-list label {
        gap: 9px;
        padding: 10px 12px;
        font-size: 18px;
    }
    #contactForm .contact-choice-list input[type="radio"] {
        width: 20px;
        height: 20px;
    }
    #contactForm .contact-form-table tr:last-child td {
        text-align: left;
    }
    #contactSubmit {
        width: 100%;
    }
}
