/* My Account Modal — mw-pet-landing v3.53 */

.mwpl-modal {
    position: fixed;
    inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.mwpl-modal[hidden] { display: none !important; }
.mwpl-modal.is-open { display: flex; }
.mwpl-modal *, .mwpl-modal *::before, .mwpl-modal *::after { box-sizing: border-box; }

.mwpl-modal__backdrop {
    position: absolute;
    inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 28, 52, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: mwplModalFadeIn 0.2s ease-out;
    cursor: pointer;
}

.mwpl-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    padding: 32px 32px 28px;
    box-shadow: 0 20px 60px rgba(15, 28, 52, 0.25);
    animation: mwplModalSlideUp 0.25s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.mwpl-modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a3d6e;
    transition: background-color 0.15s ease, transform 0.15s ease;
    line-height: 1;
}
.mwpl-modal__close:hover { background: #f0f2f6; transform: rotate(90deg); }
.mwpl-modal__close:focus-visible { outline: 2px solid #d6549e; outline-offset: 2px; }

.mwpl-modal__title {
    margin: 0 0 6px;
    color: #1a3d6e;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.mwpl-modal__subtitle {
    margin: 0 0 22px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.mwpl-option {
    display: block;
    border: 1px solid #e3e6ed;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mwpl-option:last-of-type { margin-bottom: 0; }
.mwpl-option:hover, .mwpl-option:focus {
    border-color: #1a3d6e;
    box-shadow: 0 6px 18px rgba(26, 61, 110, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}
.mwpl-option:focus-visible {
    outline: 2px solid #d6549e;
    outline-offset: 2px;
    border-color: #d6549e;
}

.mwpl-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-right: 14px;
    vertical-align: top;
}
.mwpl-option__icon--pink  { background: #fdeaf3; color: #d6549e; }
.mwpl-option__icon--amber { background: #fff3e0; color: #f5a623; }

.mwpl-option__body {
    display: inline-block;
    width: calc(100% - 60px);
    vertical-align: top;
}
.mwpl-option__title {
    display: block;
    color: #1a3d6e;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 4px;
}
.mwpl-option__hint {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
}
.mwpl-option__hint code {
    background: #f4f5f7;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #1a3d6e;
}

.mwpl-option__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.15s ease;
}
.mwpl-option:hover .mwpl-option__cta { transform: translateX(2px); }
.mwpl-option__cta--primary   { background: #1a3d6e; color: #ffffff; }
.mwpl-option__cta--secondary { background: #d6549e; color: #ffffff; }

body.mwpl-modal-open { overflow: hidden; }

@keyframes mwplModalFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes mwplModalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
    .mwpl-modal { padding: 12px; }
    .mwpl-modal__dialog { padding: 24px 20px 20px; }
    .mwpl-modal__title { font-size: 20px; }
    .mwpl-option { padding: 16px; }
    .mwpl-option__icon { width: 36px; height: 36px; font-size: 12px; margin-right: 12px; }
    .mwpl-option__body { width: calc(100% - 50px); }
    .mwpl-option__cta { padding: 8px 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .mwpl-modal__backdrop, .mwpl-modal__dialog, .mwpl-modal__close,
    .mwpl-option, .mwpl-option__cta {
        animation: none !important;
        transition: none !important;
    }
}