.pm-ap-wrapper {
    max-width: 760px;
    margin: 30px auto;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pm-ap-form {
    display: block;
}

.pm-ap-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pm-ap-field {
    margin-bottom: 18px;
}

.pm-ap-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #111827;
}

.pm-ap-field label span {
    color: #dc2626;
}

.pm-ap-field input,
.pm-ap-field select,
.pm-ap-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.4;
    background: #ffffff;
    box-sizing: border-box;
}

.pm-ap-field textarea {
    resize: vertical;
}

.pm-ap-field small {
    display: block;
    margin-top: 6px;
    color: #64748b;
}

.pm-ap-button {
    display: inline-block;
    border: none;
    border-radius: 0px;
    padding: 12px 22px;
    background: #f5141d;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pm-ap-button:hover,
.pm-ap-button:focus {
    background: #1e40af;
    color: #ffffff;
}

.pm-ap-alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 600;
}

.pm-ap-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.pm-ap-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pm-ap-slot-message {
    margin-top: 8px;
    font-size: 14px;
}

.pm-ap-slot-message-error {
    color: #991b1b;
    font-weight: 600;
}

@media (max-width: 640px) {
    .pm-ap-wrapper {
        padding: 18px;
        margin: 20px auto;
    }

    .pm-ap-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
