.ipaq-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 28px 28px 24px;
    background: #fff;
    border: 1px solid #e3e3e0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.ipaq-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: #16241b;
}

.ipaq-field {
    margin-bottom: 18px;
}

.ipaq-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2a23;
}

.ipaq-required {
    color: #d04444;
}

.ipaq-wrapper textarea,
.ipaq-wrapper input[type="text"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d8d8d3;
    border-radius: 9px;
    font-size: 14px;
    color: #1f2a23;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}

.ipaq-wrapper textarea {
    min-height: 110px;
    resize: vertical;
}

.ipaq-wrapper textarea::placeholder,
.ipaq-wrapper input::placeholder {
    color: #9a9a93;
}

.ipaq-wrapper textarea:focus,
.ipaq-wrapper input:focus {
    outline: none;
    border-color: #1e9e54;
    box-shadow: 0 0 0 3px rgba(30, 158, 84, .15);
}

.ipaq-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #197a45;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.ipaq-submit-btn:hover {
    background: #156238;
}

.ipaq-submit-btn svg {
    flex-shrink: 0;
}

/* WhatsApp-style success card */

.ipaq-wa-outer {
    background-color: #ece4d8;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44"><circle cx="2" cy="2" r="1" fill="%23ddd4c4"/></svg>');
    border-radius: 14px;
    padding: 36px 24px 24px;
    position: relative;
    max-width: 420px;
    margin: 20px auto 0;
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.ipaq-wa-badge {
    position: absolute;
    top: 14px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #1e9e54;
    border-radius: 50% 50% 50% 6px;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ipaq-wa-badge svg {
    transform: rotate(45deg);
}

.ipaq-wa-card {
    background: linear-gradient(180deg, #f4fbf1, #dff5d8);
    border-radius: 14px;
    margin-left: 34px;
    padding: 22px 22px 0;
}

.ipaq-wa-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ipaq-wa-headline {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #16241b;
}

.ipaq-wa-subtext {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #3c4b43;
}

.ipaq-wa-divider {
    border: none;
    border-top: 1px solid #c9e3c0;
    margin: 0 0 16px;
}

.ipaq-wa-ref-label {
    margin: 0 0 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f7a3d;
}

.ipaq-wa-ref-box {
    background: #fff;
    border: 2px dashed #6fbf7a;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    margin-bottom: 14px;
}

.ipaq-wa-ref-box span {
    font-size: 26px;
    font-weight: 700;
    color: #1f7a3d;
    letter-spacing: 1.5px;
    word-break: break-all;
}

.ipaq-wa-tip {
    margin: 0 0 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #5a665e;
    display: flex;
    gap: 6px;
}

.ipaq-wa-footer {
    background: #cdeec4;
    border-radius: 0 0 14px 14px;
    margin: 0 -22px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ipaq-wa-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #c9e3c0;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1f7a3d;
    cursor: pointer;
}

.ipaq-wa-copy-btn:hover {
    background: #f4fbf1;
}

.ipaq-wa-footer-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ipaq-wa-time {
    font-size: 11.5px;
    color: #5a665e;
}

#ipaq-response .ipaq-error {
    color: #d04444;
    font-size: 14px;
    margin-top: 14px;
}