.pm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.pm-overlay.active {
    display: flex;
}
.pm-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    animation: pm-fade-in 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes pm-fade-in {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.pm-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    z-index: 2;
}
.pm-close:hover { color: #333; }
.pm-body {
    padding: 40px 30px 30px;
    text-align: center;
}

/* Slider */
.pm-slider {
    margin-bottom: 20px;
    min-height: 48px;
    position: relative;
}
.pm-slider-track {
    overflow: hidden;
    position: relative;
    height: 48px;
}
.pm-slide-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-color, #dc143c);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.pm-slide-text.active {
    opacity: 1;
    position: relative;
}
.pm-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.pm-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}
.pm-slider-dot.active {
    background: var(--brand-color, #dc143c);
}

.pm-heading {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.3px;
}
.pm-text {
    margin: 0 0 24px;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}
.pm-form { display: flex; flex-direction: column; gap: 12px; }
.pm-form input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.pm-form input:focus {
    border-color: var(--brand-color, #dc143c);
    box-shadow: 0 0 0 3px rgba(220,20,60,0.1);
}
.pm-form button[type="submit"] {
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--brand-color, #dc143c);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.pm-form button[type="submit"]:hover {
    background: hsl(355, 96%, 45%);
}
.pm-msg {
    margin: 12px 0 0;
    font-size: 14px;
    min-height: 20px;
}
.pm-msg.success { color: #28a745; }
.pm-msg.error { color: #dc3545; }
.pm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}
.pm-dismiss, .pm-dismiss-forever {
    background: none;
    border: none;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}
.pm-dismiss {
    color: #888;
}
.pm-dismiss:hover {
    color: #333;
    background: #f5f5f5;
}
.pm-dismiss-forever {
    color: var(--brand-color, #dc143c);
    font-weight: 500;
}
.pm-dismiss-forever:hover {
    background: rgba(220,20,60,0.08);
}

@media (max-width: 480px) {
    .pm-body { padding: 32px 20px 24px; }
    .pm-heading { font-size: 20px; }
    .pm-form input, .pm-form button[type="submit"] { height: 44px; font-size: 14px; }
    .pm-actions { flex-direction: column; align-items: center; gap: 6px; }
}
