/**
 * Olympa Membership & Authentication Modal Popup Styles
 * 100% Pixel-Perfect Match to Official Olympa UI Design
 */

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

:root {
    --mwm-font-heading: 'Arial', sans-serif;
    --mwm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mwm-font-script: 'Dancing Script', 'Brush Script MT', 'Caveat', cursive, sans-serif;
    --mwm-purple: #a855f7;
    --mwm-indigo: #6366f1;
    --mwm-blue: #3b82f6;
    --mwm-bg-modal: #08090e;
    --mwm-bg-card: #0d0e16;
    --mwm-bg-input: #12141f;
    --mwm-border-input: #1f2336;
}

/* ==========================================================================
   1. TRIGGER BUTTONS & LOGGED-IN STATES (ELEMENTOR WIDGETS)
   ========================================================================== */

.mwm-auth-btn-wrapper {
    display: inline-flex;
    align-items: center;
}

.mwm-auth-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--mwm-font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
    line-height: 1.2;
}

/* Become a Member Button */
.mwm-become-member-btn {
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.mwm-become-member-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    color: #111111;
}

/* Member Login Button */
.mwm-member-login-btn {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.mwm-member-login-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Logged-In User Badge: "WELCOME, NAME" */
.mwm-user-welcome-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--mwm-font-heading) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    text-decoration: none !important;
    padding: 3px 12px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    background: #f8fafc !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.mwm-user-welcome-badge:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    color: #000000 !important;
}

.mwm-welcome-prefix {
    color: #64748b !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.mwm-welcome-name {
    color: #0f172a !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Logged-In User Profile Dropdown: [Avatar] [Name] */
.mwm-user-profile-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.mwm-user-profile-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 2px 8px 2px 2px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.mwm-user-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
}

.mwm-user-avatar-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid var(--mwm-purple) !important;
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.35) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    background: #1e293b !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mwm-user-avatar,
.mwm-user-avatar-wrap img,
.mwm-user-profile-trigger img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.mwm-user-name {
    font-family: var(--mwm-font-heading) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mwm-user-discount-pill {
    font-family: var(--mwm-font-body) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 1px 6px !important;
    border-radius: 10px !important;
    line-height: 1 !important;
}

.mwm-user-dropdown-arrow {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
    color: #94a3b8 !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.mwm-user-profile-dropdown:hover .mwm-user-dropdown-arrow {
    transform: rotate(180deg);
}

.mwm-user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #12131a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
}

.mwm-user-profile-dropdown:hover .mwm-user-dropdown-menu,
.mwm-user-profile-dropdown:focus-within .mwm-user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mwm-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-family: var(--mwm-font-body);
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mwm-user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding-left: 22px;
}

.mwm-user-dropdown-item.mwm-logout-item {
    color: #f87171;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
    padding-top: 12px;
}

.mwm-user-dropdown-item.mwm-logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ==========================================================================
   2. OLYMPA MINIMALIST MONOCHROME MODAL POPUP CONTAINER
   ========================================================================== */

.mwm-membership-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

.mwm-membership-modal-overlay.active,
.mwm-membership-modal-overlay.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.mwm-modal-open {
    overflow: hidden !important;
}

.mwm-membership-modal-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    min-height: 480px;
    background: #000000;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95),
                0 0 35px rgba(255, 255, 255, 0.08),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 46% 54%;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.mwm-membership-modal-overlay.active .mwm-membership-modal-container {
    transform: scale(1) translateY(0);
}

/* ==========================================================================
   3. POPUP LEFT PANEL (SOLID BLACK WITH WHITE TEXT & CHECKLIST)
   ========================================================================== */

.mwm-modal-left-panel {
    background: #000000 !important;
    padding: 44px 34px 34px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    box-sizing: border-box;
    position: relative;
}

.mwm-left-panel-top {
    display: flex;
    flex-direction: column;
}

.mwm-modal-brand-area {
    margin-bottom: 24px;
}

.mwm-modal-logo-wrap {
    display: inline-block;
    margin-bottom: 16px;
}

.mwm-modal-logo-text {
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    letter-spacing: 5px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    border: none !important;
    padding: 0 !important;
    display: inline-block !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}

.mwm-modal-logo-img {
    max-height: 44px !important;
    max-width: 170px !important;
    object-fit: contain !important;
    display: block !important;
}

.mwm-modal-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13.5px !important;
    color: #e4e4e7 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* Benefits Checklist */
.mwm-modal-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 8px 0 24px 0;
}

.mwm-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mwm-benefit-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    flex-shrink: 0;
}

.mwm-benefit-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    fill: none;
    display: block;
}

.mwm-benefit-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
}

/* Guest Button / Box at Bottom */
.mwm-left-panel-bottom {
    margin-top: auto;
    padding-top: 10px;
}

.mwm-guest-box-btn {
    display: block !important;
    width: 100% !important;
    border: 1px solid #ffffff !important;
    background: #000000 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
}

.mwm-guest-box-btn:hover {
    background: #18181b !important;
}

.mwm-guest-box-title {
    display: block !important;
    color: #ffffff !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.mwm-guest-box-sub {
    display: block !important;
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 400 !important;
    margin-top: 3px !important;
    line-height: 1.2 !important;
    opacity: 0.9 !important;
}

/* ==========================================================================
   4. POPUP RIGHT PANEL (WHITE AUTH FORM & SWITCHER)
   ========================================================================== */

.mwm-modal-right-panel {
    background: #ffffff !important;
    padding: 38px 36px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    box-sizing: border-box;
}

/* Close Button X */
.mwm-modal-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    background: transparent !important;
    border: none !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    cursor: pointer !important;
    padding: 6px !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    z-index: 50 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.mwm-modal-close-btn:hover {
    opacity: 0.7 !important;
    transform: scale(1.1) !important;
    background: transparent !important;
}

/* Tab Switcher (Side by Side) */
.mwm-auth-tabs-header {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}

.mwm-tab-switch-btn {
    flex: 1 !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    outline: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #d4d4d8 !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
}

.mwm-tab-switch-btn.active {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.mwm-tab-switch-btn:hover:not(.active) {
    border-color: #000000 !important;
}

/* Auth Views */
.mwm-auth-view {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
}

.mwm-auth-view.active {
    display: flex !important;
}

.mwm-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.mwm-auth-reset-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #52525b !important;
    margin: 0 0 14px 0 !important;
}

.mwm-auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.mwm-auth-label {
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.mwm-required {
    color: #ef4444 !important;
    margin-left: 2px !important;
    font-weight: 700 !important;
}

.mwm-auth-input-wrapper {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

html body #mwm-membership-modal-overlay .mwm-modal-right-panel input[type="text"],
html body #mwm-membership-modal-overlay .mwm-modal-right-panel input[type="email"],
html body #mwm-membership-modal-overlay .mwm-modal-right-panel input[type="password"],
html body #mwm-membership-modal-overlay .mwm-modal-right-panel input.mwm-auth-input,
.mwm-auth-input {
    width: 100% !important;
    height: 42px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 4px !important;
    padding: 0 14px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    color: #000000 !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

html body #mwm-membership-modal-overlay .mwm-modal-right-panel input.mwm-auth-input:focus,
.mwm-auth-input:focus {
    border-color: #000000 !important;
    outline: none !important;
}

html body #mwm-membership-modal-overlay .mwm-modal-right-panel input::placeholder,
.mwm-auth-input::placeholder {
    color: #71717a !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Password eye toggle */
.mwm-password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #52525b !important;
    cursor: pointer !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
}

.mwm-password-toggle:hover {
    color: #000000 !important;
}

.mwm-password-toggle svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    display: block !important;
}

/* Remember Me row */
.mwm-auth-remember-row {
    display: flex !important;
    align-items: center !important;
    margin: 4px 0 6px 0 !important;
}

.mwm-checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.mwm-checkbox-label input[type="checkbox"] {
    accent-color: #000000 !important;
    cursor: pointer !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
}

/* Lost Password row under button */
.mwm-auth-lost-password-row {
    margin-top: 14px !important;
    text-align: left !important;
}

.mwm-forgot-link {
    color: #000000 !important;
    text-decoration: underline !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    transition: opacity 0.2s !important;
    cursor: pointer !important;
}

.mwm-forgot-link:hover {
    opacity: 0.7 !important;
}

/* Submit Button */
.mwm-auth-submit-btn {
    width: 100% !important;
    height: 46px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
}

.mwm-auth-submit-btn:hover {
    background: #27272a !important;
}

.mwm-auth-submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Alert Notification Boxes */
.mwm-auth-alert {
    display: none;
    padding: 10px 14px;
    border-radius: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 12.5px;
    line-height: 1.35;
    box-sizing: border-box;
}

.mwm-auth-alert.active {
    display: block;
}

.mwm-auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.mwm-auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* Loading Spinner */
.mwm-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: mwm-spin 0.8s linear infinite;
}

@keyframes mwm-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   5. WOOCOMMERCE 25% MEMBER BADGE STYLING
   ========================================================================== */
.mwm-member-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    color: #ffffff;
    font-family: var(--mwm-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
    .mwm-membership-modal-container {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .mwm-modal-close-btn {
        top: 14px !important;
        right: 16px !important;
        color: #ffffff !important;
        font-size: 24px !important;
        z-index: 100 !important;
    }

    .mwm-modal-left-panel {
        min-height: auto;
        padding: 30px 24px 24px 24px;
    }

    .mwm-modal-right-panel {
        padding: 24px 20px;
    }

    .mwm-auth-tabs-header {
        padding-right: 0;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    /* On mobile, show only the user avatar icon */
    .mwm-user-profile-dropdown .mwm-user-name,
    .mwm-user-profile-dropdown .mwm-user-dropdown-arrow,
    .mwm-user-profile-dropdown .mwm-user-discount-pill {
        display: none !important;
    }

    .mwm-user-profile-trigger {
        padding: 3px !important;
        border-radius: 50% !important;
        gap: 0 !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .mwm-user-avatar-wrap {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
}

/* ==========================================================================
   OLYMPA ANIMATED HEADING (FADE IN UP)
   ========================================================================== */

.olympa-animated-heading-container {
    width: 100%;
    box-sizing: border-box;
    display: block;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.olympa-heading-link {
    text-decoration: none !important;
    color: inherit !important;
    display: inline-block;
    transition: opacity 0.2s ease;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

.olympa-heading-link:hover {
    opacity: 0.9;
}

.olympa-animated-heading,
html body .olympa-animated-heading {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--mwm-font-body);
    font-weight: 700;
    line-height: 1.1 !important;
    box-sizing: border-box;
    color: #18181b;
}

/* Layout modes */
.olympa-animated-heading.olympa-heading-layout-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    vertical-align: middle;
}

.olympa-animated-heading.olympa-heading-layout-block {
    display: flex;
    flex-direction: column;
}

.olympa-heading-prefix,
.olympa-heading-suffix {
    display: inline-flex;
    align-items: center;
    height: 1.1em;
    transition: color 0.3s ease;
    vertical-align: middle;
    line-height: 1.1 !important;
    margin: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
}

.olympa-heading-animated-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1.1 !important;
    height: 1.1em;
    box-sizing: border-box;
    margin: 0;
    padding: 0 !important;
}

.olympa-heading-animated-inner {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    line-height: 1.1 !important;
    margin: 0;
    padding: 0 !important;
}

.olympa-heading-animated-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(115%);
    transition: transform var(--mwm-fade-duration, 550ms) cubic-bezier(0.16, 1, 0.3, 1),
                opacity var(--mwm-fade-duration, 550ms) cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    pointer-events: none;
    will-change: transform, opacity;
    vertical-align: middle;
    line-height: 1.1 !important;
    margin: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
}

/* Active item state (Fade In Up) */
.olympa-heading-animated-item.is-active {
    opacity: 1;
    transform: translateY(0%);
    position: relative;
    pointer-events: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

/* Leaving item state (Fade Out Up) */
.olympa-heading-animated-item.is-leaving {
    opacity: 0;
    transform: translateY(-115%);
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Entering item state (Fade In from bottom) */
.olympa-heading-animated-item.is-entering {
    opacity: 0;
    transform: translateY(115%);
    position: absolute;
}

/* ==========================================================================
   OLYMPA INSTAGRAM AUTO SLIDER
   ========================================================================== */

.mwm-instagram-slider-wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: block;
    padding-top: 6px;
    margin: 0;
}

/* Header Section */
.mwm-insta-header {
    margin-bottom: 24px;
    text-align: left;
    display: block;
    position: relative;
}

.mwm-insta-header-link {
    text-decoration: none !important;
    color: inherit !important;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.mwm-insta-header-link:hover {
    opacity: 0.85;
}

.mwm-insta-subtitle {
    display: block;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #18181b !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
}

.mwm-insta-title {
    display: block;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #000000 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.1 !important;
}

.mwm-insta-underline {
    width: 46px;
    height: 2.5px;
    background-color: #000000;
    margin: 0;
    display: block;
    border-radius: 1px;
}

/* Track Container */
.mwm-insta-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.mwm-insta-track-container:active {
    cursor: grabbing;
}

.mwm-insta-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.mwm-insta-track.no-transition {
    transition: none !important;
}

/* Slides */
.mwm-insta-slide {
    flex: 0 0 250px;
    width: 250px;
    box-sizing: border-box;
    display: block;
}

/* Image Card Box */
.mwm-insta-card {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    background-color: #18181b;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.mwm-insta-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #18181b;
    display: block;
}

/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 4 / 5) {
    .mwm-insta-card.mwm-ratio-portrait .mwm-insta-img-wrap {
        padding-bottom: 125%;
        height: 0;
    }
    .mwm-insta-card.mwm-ratio-square .mwm-insta-img-wrap {
        padding-bottom: 100%;
        height: 0;
    }
}

.mwm-insta-card.mwm-ratio-square .mwm-insta-img-wrap {
    aspect-ratio: 1 / 1;
}

.mwm-insta-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

/* Hover Effects */
.mwm-insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.mwm-insta-hover-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mwm-insta-hover-icon svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.mwm-insta-card:hover .mwm-insta-img {
    transform: scale(1.06);
    filter: brightness(0.92);
}

.mwm-insta-card:hover .mwm-insta-overlay {
    opacity: 1;
}

.mwm-insta-card:hover .mwm-insta-hover-icon {
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mwm-insta-subtitle {
        font-size: 11.5px !important;
        letter-spacing: 1.2px !important;
    }

    .mwm-insta-title {
        font-size: 20px !important;
    }

    .mwm-insta-underline {
        width: 38px;
        height: 2px;
    }
}






