.mpc-form-wrapper,
.mpc-form-wrapper * {
    box-sizing: border-box;
}

.mpc-form-wrapper {
    width: 100%;
    max-width: none;
    padding: 38px 70px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #165c3d 0%, #0b2a1b 100%);
}

.mpc-form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.mpc-field {
    width: 100%;
    margin: 0 0 16px;
}

.mpc-form label,
.mpc-form legend {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.mpc-form label span[aria-hidden="true"],
.mpc-form legend span[aria-hidden="true"] {
    color: #ef6d6d;
}

.mpc-form input[type="text"],
.mpc-form input[type="email"],
.mpc-form input[type="tel"],
.mpc-form textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    color: #162820;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    line-height: 1.3;
}

.mpc-form textarea {
    min-height: 120px;
    resize: vertical;
}

.mpc-form input:focus,
.mpc-form textarea:focus {
    outline: 3px solid rgba(255, 255, 255, .48);
    outline-offset: 2px;
}

.mpc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mpc-privacy {
    margin: 2px 0 14px;
    padding: 0;
    border: 0;
}

.mpc-privacy legend {
    margin-bottom: 7px;
}

.mpc-check-label {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 9px;
    max-width: 100%;
    margin: 0 !important;
    color: #ffffff;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    cursor: pointer;
}

.mpc-check-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    accent-color: #ffffff;
}

.mpc-check-label a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mpc-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 10px 28px;
    color: #ffffff;
    background: #909090;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.mpc-submit-button:hover,
.mpc-submit-button:focus {
    color: #ffffff;
    background: #747474;
    transform: translateY(-1px);
}

.mpc-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-left: 4px solid;
    font-size: 15px;
    line-height: 1.45;
}

.mpc-success {
    background: rgba(226, 255, 234, .16);
    border-color: #9ee9b0;
}

.mpc-error {
    background: rgba(255, 231, 231, .15);
    border-color: #ff9b9b;
}

.mpc-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mpc-admin-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 20px 0 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid #ccd0d4;
}

.mpc-admin-filters label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
}

.mpc-admin-filters input,
.mpc-admin-filters select {
    min-width: 160px;
}

.mpc-admin-table-wrap {
    overflow-x: auto;
}

.mpc-admin-table-wrap table {
    min-width: 950px;
}

@media (max-width: 767px) {
    .mpc-form-wrapper {
        padding: 28px 22px 20px;
    }

    .mpc-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mpc-form label,
    .mpc-form legend {
        font-size: 16px;
    }
}
