@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&family=Kumbh+Sans:wght@400;500;600;700&display=swap');

.mp-root { max-width: 900px; margin: 0 auto; font-family: 'Kumbh Sans','Roboto',sans-serif; }
.mp-root * { box-sizing: border-box; }

.mp-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 28px rgba(19,30,59,.12); border: 1px solid #dde3f0; overflow: hidden; }

/* Header */
.mp-header { background: #131e3b; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-eyebrow { font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 3px; }
.mp-title   { font-size: 1.1rem; font-weight: 700; color: #fff; }
.mp-counter { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 6px 14px; font-size: .88rem; font-weight: 700; color: #fff; white-space: nowrap; font-family: 'Roboto',sans-serif; }

/* Body */
.mp-body { padding: 28px; }

/* Slide layout */
.mp-slide-area { display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 640px) { .mp-slide-area { grid-template-columns: 1fr; } .mp-body { padding: 16px; } }

/* Image */
.mp-img-wrap { border-radius: 12px; overflow: hidden; border: 2px solid #dde3f0; background: #f8f9ff; }
.mp-slide-img { width: 100%; height: auto; display: block; }
.mp-img-placeholder { width: 100%; min-height: 460px; display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: .85rem; }

/* Objections */
.mp-objections-wrap { padding: 4px 0; }
.mp-obj-section-title { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #9ca3af; margin-bottom: 12px; }
.mp-obj-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-obj-item { display: flex; align-items: flex-start; gap: 8px; background: #f8f9ff; border: 1px solid #e8edf5; border-radius: 8px; padding: 10px 12px; font-size: .78rem; font-weight: 500; color: #131e3b; line-height: 1.35; }
.mp-obj-n { font-size: .65rem; font-weight: 900; color: #fff; background: #131e3b; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-family: 'Roboto',sans-serif; }
.mp-obj-text { flex: 1; }
.mp-obj-empty { color: #9ca3af; font-size: .82rem; padding: 8px; list-style: none; }

/* Tip — plain, no box */
.mp-tip-line { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0f2f7; }
.mp-tip-icon { font-size: .9rem; flex-shrink: 0; margin-top: 1px; }
.mp-tip-text { font-size: .78rem; color: #9ca3af; line-height: 1.5; }
.mp-tip-text strong { color: #6b7280; }

/* Footer nav */
.mp-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px 22px; border-top: 1px solid #f0f2f7; gap: 12px; }
.mp-nav-btn { background: #131e3b; color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-family: 'Kumbh Sans','Roboto',sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; transition: background .2s; white-space: nowrap; }
.mp-nav-btn:hover:not(:disabled) { background: #1c2d57; }
.mp-nav-btn:disabled { background: #d1d5db; cursor: not-allowed; }
.mp-nav-finish { background: #16a34a; }
.mp-nav-finish:hover:not(:disabled) { background: #15803d; }

/* Dots */
.mp-dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; flex: 1; }
.mp-dot { width: 10px; height: 10px; border-radius: 50%; background: #e8edf5; border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.mp-dot.active { background: #131e3b; transform: scale(1.3); }
.mp-dot:hover { background: #94a3b8; }

/* Animate */
@keyframes mpIn { from { opacity: .3; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.mp-slide-in { animation: mpIn .22s ease; }

.mp-empty { padding: 32px; text-align: center; color: #6b7280; background: #f8f9ff; border-radius: 12px; }

/* Admin */
.mp-slide-block { background: #fff; border: 1px solid #dde3f0; border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.mp-slide-header { background: #131e3b; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.mp-slide-num { color: #fff; font-weight: 700; font-size: .9rem; }
.mp-slide-actions { display: flex; gap: 6px; }
.mp-slide-body { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px; }
@media (max-width: 700px) { .mp-slide-body { grid-template-columns: 1fr; } }
.mp-image-section { display: flex; flex-direction: column; gap: 10px; }
.mp-img-preview img { width: 100%; border-radius: 8px; border: 1px solid #dde3f0; display: block; }
.mp-objections-section { display: flex; flex-direction: column; gap: 8px; }
.mp-obj-label { font-weight: 700; font-size: .78rem; color: #131e3b; text-transform: uppercase; letter-spacing: .08em; }
.mp-obj-row { display: flex; align-items: center; gap: 8px; }
.mp-obj-num { font-size: .82rem; font-weight: 700; color: #9ca3af; width: 20px; flex-shrink: 0; }
.mp-obj-input { flex: 1; border: 1px solid #dde3f0; border-radius: 6px; padding: 7px 12px; font-family: 'Kumbh Sans',sans-serif; font-size: .88rem; outline: none; }
.mp-obj-input:focus { border-color: #131e3b; }
.mp-remove-obj { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 1.1rem; padding: 2px 6px; }
.mp-section-label-row { margin-bottom: 10px; }
.mp-section-label-input { width: 100%; border: 1px solid #dde3f0; border-radius: 6px; padding: 7px 12px; font-family: 'Kumbh Sans',sans-serif; font-size: .88rem; outline: none; margin-top: 4px; }
.mp-section-label-input:focus { border-color: #131e3b; }
.mp-tip-row { margin-top: 12px; border-top: 1px solid #f0f2f7; padding-top: 12px; }
.mp-tip-label { font-size: .75rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 6px; }
.mp-tip-input { width: 100%; border: 1px solid #dde3f0; border-radius: 6px; padding: 8px 12px; font-family: 'Kumbh Sans',sans-serif; font-size: .85rem; resize: vertical; outline: none; color: #374151; }
.mp-tip-input:focus { border-color: #131e3b; }

/* ── Tip video link ── */
.mp-tip-link {
    display: inline-block;
    margin-left: 8px;
    color: #131e3b;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none;
    border-bottom: 1px solid #131e3b;
    transition: opacity .2s;
}
.mp-tip-link:hover { opacity: .7; }

/* ── Image Zoom / Magnify ── */
.mp-img-wrap { position: relative; }
.mp-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(19,30,59,.75);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .15s;
    backdrop-filter: blur(2px);
}
.mp-zoom-btn { opacity: 1; }
.mp-zoom-btn:hover { background: #131e3b; transform: scale(1.08); }

.mp-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,26,.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 30px;
    cursor: zoom-out;
}
.mp-zoom-overlay.mp-zoom-active { display: flex; }
.mp-zoom-img {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    cursor: default;
}
.mp-zoom-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.mp-zoom-close:hover { background: rgba(255,255,255,.2); }
