
.em-maintenance-wrap,
.em-maintenance-wrap * {
    box-sizing: border-box;
}

.em-maintenance-wrap {
    --em-bg: #f6f7f9;
    --em-card: #ffffff;
    --em-text: #111827;
    --em-muted: #6b7280;
    --em-line: #e5e7eb;
    --em-accent: #111827;
    --em-danger: #b42318;
    --em-success: #067647;
    width: 100%;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--em-text);
}

.em-maintenance-card {
    width: min(100%, 920px);
    margin: 0 auto;
    background: var(--em-card);
    border: 1px solid var(--em-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(17, 24, 39, .08);
}

.em-maintenance-head {
    padding: 42px 42px 34px;
    background:
        radial-gradient(circle at top right, rgba(17, 24, 39, .08), transparent 34%),
        #fff;
    border-bottom: 1px solid var(--em-line);
}

.em-maintenance-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.em-maintenance-head h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.em-maintenance-head p {
    max-width: 680px;
    margin: 0;
    color: var(--em-muted);
    font-size: 16px;
    line-height: 1.65;
}

.em-maintenance-form {
    padding: 10px 42px 42px;
}

.em-form-section {
    padding: 34px 0;
    border-bottom: 1px solid var(--em-line);
}

.em-section-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.em-section-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--em-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.em-section-title h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.25;
}

.em-section-title p {
    margin: 0;
    color: var(--em-muted);
    font-size: 14px;
}

.em-grid {
    display: grid;
    gap: 20px;
}

.em-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.em-col-full {
    grid-column: 1 / -1;
}

.em-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.em-field label b {
    color: var(--em-danger);
}

.em-field input,
.em-field select,
.em-field textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--em-text);
    font: inherit;
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .02);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.em-field textarea {
    min-height: 112px;
    resize: vertical;
}

.em-field input:focus,
.em-field select:focus,
.em-field textarea:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, .08);
}

.em-field .em-invalid,
.em-checkbox.em-invalid {
    border-color: var(--em-danger);
}

.em-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}

.em-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #111827;
}

.em-form-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.em-form-message.is-success {
    display: block;
    background: #ecfdf3;
    color: var(--em-success);
    border: 1px solid #abefc6;
}

.em-form-message.is-error {
    display: block;
    background: #fef3f2;
    color: var(--em-danger);
    border: 1px solid #fecdca;
}

.em-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    padding: 14px 20px;
    border: 0;
    border-radius: 14px;
    background: var(--em-accent);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .16);
}

.em-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(17, 24, 39, .20);
}

.em-submit:disabled {
    cursor: not-allowed;
    opacity: .72;
    transform: none;
}

.em-submit-loader {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: em-spin .7s linear infinite;
}

.em-submit.is-loading .em-submit-loader {
    display: inline-block;
}

.em-required-note {
    margin: 12px 0 0;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

.em-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@keyframes em-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .em-maintenance-card {
        border-radius: 18px;
    }

    .em-maintenance-head {
        padding: 30px 22px 26px;
    }

    .em-maintenance-form {
        padding: 4px 22px 30px;
    }

    .em-form-section {
        padding: 28px 0;
    }

    .em-grid-2 {
        grid-template-columns: 1fr;
    }

    .em-col-full {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .em-maintenance-head,
    .em-maintenance-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .em-maintenance-head h2 {
        font-size: 30px;
    }
}
