/*
Theme Name: Payge Theme
Description: A modern, minimalist WordPress theme designed for Pilates studios and wellness professionals. Features a clean design with video library functionality and membership pricing sections.
Author: Payge Studio
Version: 1.0.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: payge-theme
Tags: pilates, wellness, fitness, video-library, membership, clean, modern, responsive
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0

/* GitHub deployment test - updated via automated deployment */
*/


/* Custom Font - TAN AEGEAN - Using absolute path */

h1, h2, h3, .community-title, .pricing-title, .faq-title {
    font-family: 'TAN AEGEAN', Georgia, serif !important;
}

/* Fallback font stack */
.tan-aegean-font {
    font-family: 'TAN AEGEAN', Georgia, 'Times New Roman', serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #f6e9cf;
    overflow-x: hidden;
    background-color: #ecede7;
    /* 2025 Safe Area Support for all devices */
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-weight: normal;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #4a4a4a;
}

/* Links */
a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3vw;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3vw;
}

/* 2025 Mobile-First Responsive Strategy */

/* Base mobile styles (320px+) - Mobile First with Enhanced Safe Area */
@media (min-width: 320px) {
    .site-header {
        padding: env(safe-area-inset-top, 0) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
        box-sizing: border-box;
        max-width: 100vw;
        overflow: hidden;
    }
}

/* Small mobile optimization (360px+) */
@media (min-width: 360px) {
    .container {
        padding: 0 clamp(1rem, 4vw, 2rem);
    }
}

/* Standard mobile (480px+) */
@media (min-width: 480px) {
    .header-container {
        padding: 0 clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Large mobile / small tablet (600px+) */
@media (min-width: 600px) {
    .site-header {
        height: 80px;
    }

    .header-container {
        height: 80px;
    }
}

/* UNIVERSAL: Mobile header styles for ALL pages - Consistent Layout */
@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background-color: #ecede7 !important;
        height: 80px !important; /* Consistent height across all pages */
        padding: 0 !important;
        /* Safe area insets for notched devices */
        padding-top: env(safe-area-inset-top, 0) !important;
    }

    .header-container {
        display: flex !important;
        flex-direction: row !important; /* Horizontal layout for all pages */
        align-items: center !important;
        justify-content: space-between !important; /* Logo left, auth right */
        height: 80px !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 0 clamp(1rem, 3vw, 1.5rem) !important; /* Responsive padding */
        position: relative !important;
    }

    .site-branding {
        flex: 0 0 auto !important; /* Fixed logo size */
    }

    .main-navigation {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

/* 2025 Landscape Mobile Optimization - Using Modern Viewport Units */
@media (max-height: 500px) and (orientation: landscape) {
    .site-header {
        /* Use small viewport height (svh) for consistent header sizing */
        height: max(80px, 12svh) !important;
        min-height: 80px !important;
        padding: 0.5rem 0 !important;
        overflow: visible !important;
    }

    .header-container {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 1rem !important;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0.5rem 0 !important;
    }

    .membership-account-btn {
        min-height: 44px !important;
        padding: 0.7rem 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
    }

    /* Adjust content spacing for dynamic header */
    .site-content {
        margin-top: max(75px, 11svh) !important;
    }
}

/* Grid System */
.grid {
    display: grid;
    gap: 11px;
    grid-template-columns: repeat(24, 1fr);
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0;
}

.btn:hover {
    background-color: #333;
    transform: translateY(-1px);
    color: white;
}

.btn-light {
    background-color: white;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}

.btn-light:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

/* WordPress specific styles */
.wp-block-image {
    margin-bottom: 24px;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
}

.alignwide {
    margin-left: -3vw;
    margin-right: -3vw;
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100%;
    max-width: 100%;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   HEADER STYLES - Clean WordPress Flexbox Implementation
   ========================================================================== */

/* Basic Header Structure - 2025 Accessibility Optimized */
.site-header {
    background-color: #ecede7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 90px;
    min-height: 60px; /* Accessibility: minimum height for zoom */
    overflow: visible; /* Allow content to scale for accessibility zoom */
    /* Accessibility: Use relative units for better scaling */
    padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

/* Header Container - Bulletproof Layout - Prevents Cutoff */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Use full header height instead of fixed pixels */
    max-width: min(1400px, calc(100vw - 2rem)); /* Never exceed viewport width */
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem); /* Responsive padding for accessibility */
    box-sizing: border-box;
    /* Accessibility: Ensure minimum spacing for touch targets */
    gap: clamp(0.5rem, 2vw, 1rem);
}

/* Logo Section */
.site-branding {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 60px;
    width: auto;
}

/* Navigation Section - Center */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* WordPress Menu Styles - Responsive Spacing */
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 4vw, 2.5rem); /* Responsive gap that shrinks on small screens */
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    flex-shrink: 1; /* Allow nav to compress to make room for login button */
}

.nav-menu li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu a {
    color: #131313;
    text-decoration: none;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 2.5vw, 1.1rem); /* Accessibility: scalable font size */
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    /* Accessibility: Minimum touch target size and scalable padding */
    min-height: 44px;
    padding: 0.5rem clamp(0.5rem, 2vw, 1rem);
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #636360;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #131313;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Auth Navigation - Bulletproof Right Side */
.auth-navigation {
    flex: 0 0 auto; /* Never allow auth nav to shrink */
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    margin-left: auto; /* Push to far right */
}

.membership-account-btn {
    color: #131313;
    text-decoration: none;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(0.8rem, 2.2vw, 0.95rem); /* Slightly smaller on smallest screens */
    letter-spacing: 0.02em;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.8rem, 3vw, 1.5rem); /* More aggressive compression */
    border: 1px solid #131313;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Never allow login button to shrink */
    min-width: 80px; /* Minimum width to maintain usability */
    box-sizing: border-box;
    /* Accessibility: Minimum touch target size */
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Prevent text wrapping on zoom */
    background-color: transparent;
}

.membership-account-btn:hover {
    background-color: #131313;
    color: #ecede7;
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #131313;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover {
    color: #666;
    transform: translateY(-1px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Front page navigation colors for transparent header over beige */
/* Front page primary menu colors */
body.home .primary-menu a {
    color: #131313;
}

body.home .primary-menu a:hover {
    color: #636360;
}

body.home .primary-menu a::after {
    background-color: #131313;
}

/* UNIVERSAL: Membership account button styles for ALL pages */
.site-header .membership-account-btn,
body.home .membership-account-btn,
body.page .membership-account-btn,
body.single .membership-account-btn {
    color: #131313 !important;
    border-color: #131313 !important;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem) !important; /* Consistent size */
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

.site-header .membership-account-btn:hover,
body.home .membership-account-btn:hover,
body.page .membership-account-btn:hover,
body.single .membership-account-btn:hover {
    background-color: #131313 !important;
    color: #ecede7 !important;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    transition: all 0.3s ease;
    height: 120px;
}

/* Adjust body padding for fixed header */
body:not(.home) {
    padding-top: 80px;
}

/* Ensure front page has no padding */
body.home {
    padding-top: 0 !important;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    display: inline-block;
    line-height: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

/* Front page logo styling - dark logo on beige background */
body.home .logo-image {
    filter: none;
    opacity: 1;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.primary-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'TAN AEGEAN', 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.primary-menu a:hover {
    color: #666;
}

/* Style account-related menu items differently */
.primary-menu li:nth-last-child(-n+2) a {
    font-size: 0.9rem;
    opacity: 0.9;
}

.primary-menu li:last-child a {
    background-color: #1a1a1a;
    color: #f0e7d7;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.primary-menu li:last-child a:hover {
    background-color: #333;
    color: #f0e7d7;
}

/* Front page navigation colors */
.front-page-template .primary-menu a {
    color: #f0e7d7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.front-page-template .primary-menu a:hover {
    color: rgba(240, 231, 215, 0.8);
}

/* Front page account button styling */
.front-page-template .primary-menu li:last-child a {
    background-color: rgba(240, 231, 215, 0.1);
    border: 1px solid rgba(240, 231, 215, 0.3);
    color: #f0e7d7;
    backdrop-filter: blur(10px);
}

.front-page-template .primary-menu li:last-child a:hover {
    background-color: rgba(240, 231, 215, 0.2);
    border-color: rgba(240, 231, 215, 0.5);
}

/* Hamburger menu removed - no longer needed */

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.site-info {
    font-size: 0.875rem;
}

.site-info a {
    color: #ccc;
}

.footer-navigation .footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.footer-navigation a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-navigation a:hover {
    color: white;
}

/* Ensure mobile menu elements are hidden on desktop */
@media (min-width: 769px) {
    .menu-close,
    .menu-close.active {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .auth-navigation.active {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
}

/* Entry Content */
.entry-content {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 1rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.posts-container {
    max-width: 800px;
    margin: 0 auto;
}

.posts-container article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.posts-container article:last-child {
    border-bottom: none;
}

/* Post Navigation */
.posts-navigation {
    margin: 3rem 0;
    text-align: center;
}

.posts-navigation a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    background-color: #f5f5f5;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.posts-navigation a:hover {
    background-color: #e0e0e0;
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    text-decoration: none;
    color: #666;
}

.widget a:hover {
    color: #1a1a1a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .container-narrow {
        padding: 0 1rem;
    }

    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-navigation {
        width: 100%;
        justify-content: space-between;
    }

    .front-page-template .header-navigation {
        position: static;
        transform: none;
        width: 100%;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border: 1px solid #e0e0e0;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .primary-menu.active {
        display: flex;
    }
    .primary-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .primary-menu a:last-child {
        border-bottom: none;
    }

    .menu-toggle.active .hamburger span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

    .footer-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-navigation .footer-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 24px;
        font-size: 13px;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .site-description {
        display: none;
    }
}

/* Emergency breakpoint for very small screens - Header Protection */
@media (max-width: 350px) {
    .nav-menu {
        gap: 0.5rem; /* Minimal spacing between nav items */
    }

    .nav-menu a {
        font-size: 0.85rem; /* Smaller nav text if absolutely necessary */
        padding: 0.5rem 0.25rem; /* Tighter nav link padding */
    }

    .membership-account-btn {
        font-size: 0.8rem !important; /* Smaller login button text as last resort */
        padding: 0.4rem 0.8rem !important; /* More compact login button */
    }
}

/* Ultra emergency breakpoint - Hide nav links if absolutely necessary */
@media (max-width: 300px) {
    .nav-menu {
        display: none !important; /* Hide navigation to preserve login button */
    }

    .main-navigation {
        display: none !important; /* Hide entire nav section if needed */
    }

    .header-container {
        justify-content: space-between !important; /* Logo and login only */
    }
}

/* Simple Your Profile Page Styling - ONLY for profile pages */
body.pmpro-profile,
body[class*="your-profile"],
body[class*="change-password"],
body.change-password-view,
body.profile-page-view {
    background-color: white;
}

body.pmpro-profile #content,
body[class*="your-profile"] #content,
body[class*="change-password"] #content,
body.change-password-view #content,
body.profile-page-view #content {
    background-color: white;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Simple form card - ONLY for profile and password pages - Apply only to main container */
body.profile-page-view .pmpro_checkout:not(.pmpro_checkout .pmpro_checkout),
body.change-password-view .pmpro_checkout:not(.pmpro_checkout .pmpro_checkout) {
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin: 2rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Remove borders from nested elements to prevent double styling */
body.profile-page-view .pmpro_checkout .pmpro_checkout,
body.change-password-view .pmpro_checkout .pmpro_checkout,
body.profile-page-view .pmpro_form,
body.change-password-view .pmpro_form,
body.profile-page-view .pmpro_profile_form,
body.change-password-view .pmpro_profile_form {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Simple title card - ONLY for profile and password pages */
body.profile-page-view h2,
body.change-password-view h2,
body.profile-page-view .pmpro_checkout h2,
body.change-password-view .pmpro_checkout h2,
body.profile-page-view .pmpro_form h2,
body.change-password-view .pmpro_form h2 {
    background: #f0e7d7 !important;
    color: #1a1a1a !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 1px solid #d0c7b7 !important;
    border-radius: 8px 8px 0 0 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Remove focus, active, and hover states that might cause highlighting */
body.profile-page-view h2:focus,
body.change-password-view h2:focus,
body.profile-page-view h2:active,
body.change-password-view h2:active,
body.profile-page-view h2:hover,
body.change-password-view h2:hover {
    outline: none !important;
    background-color: #f0e7d7 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove any text selection highlighting */
body.profile-page-view h2::selection,
body.change-password-view h2::selection {
    background: transparent !important;
}

body.profile-page-view h2::-moz-selection,
body.change-password-view h2::-moz-selection {
    background: transparent !important;
}

/* Simple form area - ONLY for profile and password pages */
body.pmpro-profile .pmpro_checkout,
body[class*="your-profile"] .pmpro_checkout,
body[class*="change-password"] .pmpro_checkout,
body.change-password-view .pmpro_checkout,
body.profile-page-view .pmpro_checkout {
    padding: 2rem;
    background-color: white;
}

/* Membership levels page spacing adjustment */
body.page-template-default.page.page-id-membership-levels #content,
body[class*="membership-levels"] #content,
body[class*="membership-levels"] .site-main,
.pmpro_levels_page #content,
.pmpro_levels_page .site-main {
    padding-top: 5rem !important;
    margin-top: 3rem !important;
    max-width: 1000px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Force consistent footer styling across all pages */
.site-footer {
    background-color: #1a1a1a !important;
    color: white !important;
    padding: 2rem 0 1rem !important;
    margin-top: 3rem !important;
}

.site-footer * {
    color: white !important;
}

.site-footer a {
    color: #ccc !important;
    text-decoration: none !important;
}

.site-footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* PMPro Membership Account Page Customizations - Following PMPro CSS Guidelines */

/* Hide main page title using PMPro body classes */
body.pmpro_account .entry-title,
body.pmpro_account h1.entry-title,
body.pmpro_account .page-title,
body[class*="pmpro"] .entry-title,
body[class*="membership-account"] .entry-title,
body[class*="membership-account"] h1.entry-title,
.pmpro_account .entry-header .entry-title {
    display: none !important;
}

/* Update all PMPro account page titles to Gotham Rounded font */
body.pmpro_account h1,
body.pmpro_account h2,
body.pmpro_account h3,
body.pmpro_account h4,
body[class*="pmpro"] h1,
body[class*="pmpro"] h2,
body[class*="pmpro"] h3,
body[class*="membership-account"] h1,
body[class*="membership-account"] h2,
body[class*="membership-account"] h3 {
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

/* Hide profile picture/avatar on PMPro account pages */
body.pmpro_account .avatar,
body.pmpro_account img.avatar,
body[class*="pmpro"] .avatar,
body[class*="pmpro"] img.avatar,
body[class*="membership-account"] .avatar,
body[class*="membership-account"] img.avatar,
.pmpro_account .avatar,
.pmpro_account img.avatar,
.pmpro_account-profile .avatar,
.pmpro_account-membership .avatar {
    display: none !important;
}

/* Update order history and invoice titles to Gotham Rounded */
body.pmpro_account .pmpro_account-invoices h2,
body.pmpro_account .pmpro_account-invoices h3,
body[class*="pmpro"] .pmpro_account-invoices h2,
body[class*="pmpro"] .pmpro_account-invoices h3,
.pmpro_account-invoices h2,
.pmpro_account-invoices h3,
.pmpro_invoices h2,
.pmpro_invoices h3,
body.invoice-page h1,
body.invoice-page h2,
.pmpro_invoice h1,
.pmpro_invoice h2 {
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

/* Update date fields and table headers to Gotham Rounded */
body.pmpro_account table th,
body.pmpro_account table td,
body[class*="pmpro"] table th,
body[class*="pmpro"] table td,
.pmpro_account-invoices table th,
.pmpro_account-invoices table td,
.pmpro_invoices table th,
.pmpro_invoices table td,
.pmpro_invoice table th,
.pmpro_invoice table td {
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

/* PMPro Login Page Customizations - Using Correct Selectors */

/* Reduce login card height and adjust padding */
.pmpro_login_wrap {
    padding: 1.5rem 2rem !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
}

/* Left-align login title instead of center - Override existing center alignment */
.pmpro_login_wrap h2,
.pmpro_login_wrap .login-title,
.pmpro_login_wrap .pmpro_login_header {
    text-align: left !important;
    margin-bottom: 0.75rem !important;
    padding-left: 0 !important;
    padding-bottom: 0.5rem !important;
}

/* Left-align login description too */
.pmpro_login_wrap .login-description {
    text-align: left !important;
    margin-bottom: 1rem !important;
}

/* Reduce header spacing */
.pmpro_login_wrap .pmpro_login_header {
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #eee !important;
}

/* Force TAN AEGEAN font for specific homepage and library titles (NOT hero) */
body.home .community-title,
body.home .pricing-title,
body.home .faq-title,
body.front-page-template .community-title,
body.front-page-template .pricing-title,
body.front-page-template .faq-title,
body.library-template .hero-video-info h1,
body[class*="library"] .hero-video-info h1,
.video-grid-section h2 {
    font-family: 'TAN AEGEAN', Georgia, serif !important;
}

/* Keep hero text with proper fonts */
body.home .hero-line-1,
body.front-page-template .hero-line-1,
.hero-text-1 {
    font-family: 'Glacial Indifference', 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

body.home .hero-line-2,
body.home .hero-line-3,
body.front-page-template .hero-line-2,
body.front-page-template .hero-line-3,
.hero-text-2,
.hero-text-3 {
    font-family: 'Gotham Rounded', 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
}

/* Hide "Your Complete Video Library" title on library page */
body.library-template .video-grid-section h2,
body[class*="library"] .video-grid-section h2,
.video-grid-section h2 {
    display: none !important;
}

/* Override any PMPro footer styling on membership account pages */
body.pmpro_page .site-footer,
body.pmpro_account .site-footer,
body[class*="pmpro"] .site-footer {
    background-color: #1a1a1a !important;
    color: white !important;
    padding: 2rem 0 1rem !important;
    margin-top: 3rem !important;
    text-align: inherit !important;
    width: 100% !important;
}

/* Force proper footer layout structure on membership account page */
body.pmpro_page .footer-info,
body.pmpro_account .footer-info,
body[class*="pmpro"] .footer-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* Force copyright text to left side */
body.pmpro_page .footer-info > *:first-child,
body.pmpro_account .footer-info > *:first-child,
body[class*="pmpro"] .footer-info > *:first-child,
body.pmpro_page .site-info,
body.pmpro_account .site-info,
body[class*="pmpro"] .site-info {
    flex: 0 0 auto !important;
    margin-right: auto !important;
    text-align: left !important;
    order: 1 !important;
}

/* Force navigation to right side */
body.pmpro_page .footer-navigation,
body.pmpro_account .footer-navigation,
body[class*="pmpro"] .footer-navigation {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    text-align: right !important;
    order: 2 !important;
}

body.pmpro_page .footer-navigation ul,
body.pmpro_account .footer-navigation ul,
body[class*="pmpro"] .footer-navigation ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 2rem !important;
    white-space: nowrap !important;
}

/* Invoice page styling */
body.invoice-page {
    background-color: #f9f9f9;
}

body.invoice-page #content {
    background-color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Invoice card styling */
.pmpro_invoice,
.invoice-content,
.membership-invoice,
body.invoice-page .pmpro_confirmation_message {
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    margin: 2rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Invoice header styling */
body.invoice-page h1,
body.invoice-page h2,
.pmpro_invoice h1,
.pmpro_invoice h2 {
    background-color: #f0e7d7;
    color: #1a1a1a;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif;
    font-size: 1.5rem;
    margin: 0 0 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #d0c7b7;
}

/* Invoice table styling */
body.invoice-page table,
.pmpro_invoice table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
}

body.invoice-page table th,
body.invoice-page table td,
.pmpro_invoice table th,
.pmpro_invoice table td {
    padding: 0.75rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: left !important;
}

body.invoice-page table th,
.pmpro_invoice table th {
    background-color: #f9f9f9 !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* Ensure PMPro buttons and elements remain visible */
.pmpro_invoice .pmpro_btn,
.pmpro_orders_wrap .pmpro_btn,
body.invoice-page .pmpro_btn,
[class*="pmpropdf"] .pmpro_btn {
    display: inline-block !important;
    visibility: visible !important;
    position: relative !important;
    margin: 1rem 0 !important;
    z-index: 10 !important;
}

/* Fix any overflow issues that might hide content */
body.invoice-page .pmpro_invoice,
body.invoice-page .pmpro_orders_wrap {
    overflow: visible !important;
}

/* Ensure proper spacing for PMPro elements */
body.invoice-page .pmpro_invoice > * {
    position: relative;
    z-index: 1;
}

/* Ensure proper layout flow for membership account pages */
body[class*="membership-account"] #page,
body.profile-page-view #page,
body.change-password-view #page {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

body[class*="membership-account"] .site-main,
body.profile-page-view .site-main,
body.change-password-view .site-main {
    flex: 1 !important;
}

body.pmpro-profile .pmpro_profile_form input[type="text"],
body.pmpro-profile .pmpro_profile_form input[type="email"],
body.pmpro-profile .pmpro_profile_form input[type="password"],
body.pmpro-profile .pmpro_profile_form select {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
    background-color: white !important;
    box-sizing: border-box !important;
}

body.pmpro-profile .pmpro_profile_form label {
    display: block !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.pmpro-profile .pmpro_profile_form .pmpro_btn-submit {
    background-color: #1a1a1a !important;
    color: #f0e7d7 !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 6px !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
}

/* WordPress Login Form Styling (fallback) */
body.login {
    background-color: #ecede7 !important;
}

body.login #login {
    max-width: 400px !important;
    margin: 5rem auto !important;
    background-color: white !important;
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

body.login #login h1 {
    background-color: #f0e7d7 !important;
    margin: 0 !important;
    padding: 2rem !important;
    text-align: center !important;
}

body.login #login h1 a {
    font-family: 'TAN AEGEAN', 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 1.5rem !important;
}

body.login #loginform {
    padding: 2rem !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.login input[type="text"],
body.login input[type="password"] {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

body.login #wp-submit {
    background-color: #1a1a1a !important;
    color: #f0e7d7 !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 6px !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    width: 100% !important;
    cursor: pointer !important;
}

/* Universal PMPro Form Styling for any PMPro page */
.pmpro_checkout input[type="text"],
.pmpro_checkout input[type="email"],
.pmpro_checkout input[type="password"],
.pmpro_checkout input[type="tel"],
.pmpro_checkout select,
.pmpro_checkout textarea,
#pmpro_form input[type="text"],
#pmpro_form input[type="email"],
#pmpro_form input[type="password"],
#pmpro_form input[type="tel"],
#pmpro_form select,
#pmpro_form textarea {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
    background-color: white !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.pmpro_checkout input:focus,
.pmpro_checkout select:focus,
.pmpro_checkout textarea:focus,
#pmpro_form input:focus,
#pmpro_form select:focus,
#pmpro_form textarea:focus {
    outline: none !important;
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1) !important;
}

.pmpro_checkout label,
#pmpro_form label {
    display: block !important;
    font-family: 'TAN AEGEAN', 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.pmpro_btn,
.pmpro_btn-submit,
#pmpro_form .pmpro_btn,
#pmpro_form input[type="submit"] {
    background-color: #1a1a1a !important;
    color: #f0e7d7 !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 6px !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
    transition: all 0.2s ease !important;
}

.pmpro_btn:hover,
.pmpro_btn-submit:hover,
#pmpro_form .pmpro_btn:hover,
#pmpro_form input[type="submit"]:hover {
    background-color: #333 !important;
    transform: translateY(-1px) !important;
}

/* PMPro Login Page Styling - Simple Background */
body.pmpro-login {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ecede7 !important;
    min-height: 100vh !important;
    position: relative !important;
}

/* Hide the main page title that appears outside the card */
.pmpro-login .entry-title,
.pmpro-login h1.entry-title,
body.pmpro-login .entry-title,
body.pmpro-login h1.entry-title,
.pmpro-login .page-title,
body.pmpro-login .page-title {
    display: none !important;
}

/* Hide sidebar/widgets but keep header */
body.pmpro-login #secondary,
body.pmpro-login .sidebar,
body.pmpro-login .widget-area,
body.pmpro-login aside {
    display: none !important;
}

/* Keep header with normal background */
body.pmpro-login .site-header {
    position: relative !important;
    z-index: 10 !important;
    background-color: #ecede7 !important;
}

/* Hide footer on login page */
body.pmpro-login .site-footer {
    display: none !important;
}

body.pmpro-login #primary {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 5 !important;
    background-color: transparent !important;
}

/* Create hero-style section with full-width background */
body.pmpro-login #content,
body.pmpro-login .entry-content {
    width: 100% !important;
    min-height: calc(100vh - 100px) !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    margin: 0 !important;
}

/* Login wrapper - transparent container */
body.pmpro-login .pmpro_login_wrap {
    width: 100% !important;
    max-width: 450px !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto !important;
}

/* Login Form Card - Supabase-inspired design */
body.pmpro-login .pmpro_login,
.pmpro-login .pmpro_login_wrap,
.pmpro-login .pmpro_login,
body.pmpro-login .pmpro_login_wrap {
    width: 100% !important;
    max-width: 400px !important;
    padding: 2rem !important;
    background-color: white !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 auto !important;
}

/* Add title and description to the card */
body.pmpro-login .pmpro_login::before,
.pmpro-login .pmpro_login_wrap::before,
body.pmpro-login .pmpro_login_wrap::before {
    content: 'Sign in to your account' !important;
    display: block !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    text-align: left !important;
    margin-bottom: 0.5rem !important;
    order: -2 !important;
}

body.pmpro-login .pmpro_login::after,
.pmpro-login .pmpro_login_wrap::after,
body.pmpro-login .pmpro_login_wrap::after {
    content: 'Enter your email and password to access your account' !important;
    display: block !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    text-align: left !important;
    margin-bottom: 1.5rem !important;
    order: -1 !important;
    line-height: 1.5 !important;
}

/* Hide the default PMPro h1 title inside the form */
body.pmpro-login .pmpro_login_wrap h1,
.pmpro-login .pmpro_login h1,
body.pmpro-login .pmpro_login h1 {
    display: none !important;
}

body.pmpro-login .pmpro_login_wrap label {
    display: block !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
    margin-bottom: 0.375rem !important;
    font-weight: 500 !important;
}

body.pmpro-login .pmpro_login_wrap input[type="text"],
body.pmpro-login .pmpro_login_wrap input[type="email"],
body.pmpro-login .pmpro_login_wrap input[type="password"] {
    width: 100% !important;
    padding: 0.625rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    margin-bottom: 1rem !important;
    background-color: white !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
    color: #111827 !important;
    outline: none !important;
}

/* Password field container for eye icon positioning */
body.pmpro-login .pmpro_login_wrap input[type="password"] {
    padding-right: 3rem !important;
}

.pmpro_login_wrap .pmpro_checkout-field-password {
    position: relative !important;
}

/* Forgot password link styling - Supabase style */
body.pmpro-login .pmpro_login_wrap a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    text-align: center !important;
    display: block !important;
    margin-top: 1rem !important;
    font-weight: 500 !important;
}

body.pmpro-login .pmpro_login_wrap a:hover {
    text-decoration: underline !important;
    color: #2563eb !important;
}

body.pmpro-login .pmpro_login_wrap input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1) !important;
}

body.pmpro-login .pmpro_login_wrap .pmpro_btn-submit {
    background-color: #111827 !important;
    color: white !important;
    border: none !important;
    padding: 0.625rem 1rem !important;
    border-radius: 6px !important;
    font-family: 'Gotham Rounded', 'Helvetica', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
    transition: all 0.15s ease !important;
}

body.pmpro-login .pmpro_login_wrap .pmpro_btn-submit:hover {
    background-color: #1f2937 !important;
}

/* Login form links */
body.pmpro-login .pmpro_login_wrap a {
    color: #666 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease !important;
}

body.pmpro-login .pmpro_login_wrap a:hover {
    color: #1a1a1a !important;
}

/* Login form navigation */
body.pmpro-login .pmpro_login_wrap .pmpro_nav {
    text-align: center !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Remember me checkbox */
body.pmpro-login .pmpro_login_wrap .pmpro_login-fields-remember {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
}

body.pmpro-login .pmpro_login_wrap input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

/* Error messages */
body.pmpro-login .pmpro_message.pmpro_error {
    background-color: #fff5f5 !important;
    border: 1px solid #ffcdd2 !important;
    color: #c62828 !important;
    padding: 1rem !important;
    border-radius: 6px !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.9rem !important;
}

/* Mobile responsive - minimal overrides */
@media (max-width: 768px) {
    body.pmpro-login #content,
    body.pmpro-login .entry-content {
        padding: 1rem !important;
        margin-top: 80px !important;
    }
}

/* Show Password Button Styling - More comprehensive selectors */
body.pmpro-login button,
body.pmpro-login input[type="button"],
body.pmpro-login .pmpro_login button,
body.pmpro-login .pmpro_login input[type="button"],
.show-password-input,
button[aria-label*="password"],
button[title*="password"],
.pmpro-show-password,
button[class*="show"],
button[class*="password"],
input[value*="SHOW"],
input[value*="password"] {
    font-size: 0 !important;
    color: transparent !important;
    background-color: transparent !important;
    border: 1px solid #ccc !important;
    padding: 0.5rem !important;
    width: auto !important;
    min-width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
}

/* Add eye SVG icon to all potential show password buttons */
body.pmpro-login button::after,
body.pmpro-login input[type="button"]::after,
body.pmpro-login .pmpro_login button::after,
body.pmpro-login .pmpro_login input[type="button"]::after,
.show-password-input::after,
button[aria-label*="password"]::after,
button[title*="password"]::after,
.pmpro-show-password::after,
button[class*="show"]::after,
button[class*="password"]::after,
input[value*="SHOW"]::after,
input[value*="password"]::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    text-indent: 0 !important;
    display: block !important;
}

/* More specific targeting for the exact button */
body.pmpro-login input[value="SHOW PASSWORD"] {
    font-size: 0 !important;
    text-indent: -9999px !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    position: relative !important;
    overflow: hidden !important;
}

body.pmpro-login input[value="SHOW PASSWORD"]::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    text-indent: 0 !important;
}

/* Target the dark button specifically and hide all content */
body.pmpro-login input[value="SHOW PASSWORD"] {
    background-color: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    border-radius: 50% !important;
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    overflow: hidden !important;
    cursor: pointer !important;
    z-index: 20 !important;
}

/* Force hide any nested content */
body.pmpro-login input[value="SHOW PASSWORD"] * {
    display: none !important;
}

/* Make sure only the eye shows */
body.pmpro-login input[value="SHOW PASSWORD"]::before {
    content: '' !important;
}

/* Try a different approach - hide the button entirely and replace */
body.pmpro-login input[value="SHOW PASSWORD"] {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
}

body.pmpro-login input[value="SHOW PASSWORD"] + * {
    display: none !important;
}

/* Create a replacement button */
body.pmpro-login input[value="SHOW PASSWORD"]::after {
    content: '👁️' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* Terms of Service and other content pages - consistent text styling */
.page #content,
.page .entry-content,
.page .entry-content p,
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6 {
    color: #1a1a1a !important;
    background: none !important;
}

/* Ensure page content has proper styling */
.page .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    line-height: 1.6;
}

.page .entry-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #1a1a1a !important;
}

.page .entry-content h1,
.page .entry-content h2 {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: #1a1a1a !important;
    font-family: 'TAN AEGEAN', Georgia, serif !important;
}

.page .entry-content h3,
.page .entry-content h4 {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #1a1a1a !important;
}