/* Zoomies Membership - Frontend Styles (clean rebuild) */

/* ==================== Global Mobile Optimizations ==================== */
* {
    -webkit-tap-highlight-color: rgba(226, 164, 34, 0.2);
    -webkit-touch-callout: none;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Better touch targets for mobile */
button,
a,
input[type="button"],
input[type="submit"],
.btn {
    min-height: 44px; /* iOS recommended touch target */
    min-width: 44px;
}

/* Prevent text selection on interactive elements */
button,
.btn,
.quick-action-card,
.transaction-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ==================== Fix body max-width constraint ==================== */
body.error-page .zoomies-membership-dashboard,
body.error-page .zoomies-registration-container {
    max-width: none;
}

body.error-page {
    max-width: none !important;
}

/* ==================== General Notices ==================== */
.zoomies-membership-notice,
.zoomies-membership-error {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.zoomies-membership-notice {
    background: #e7f3ff;
    border-color: #2196f3;
    color: #0d47a1;
}

.zoomies-membership-error {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

/* ==================== Buttons ==================== */
.zoomies-btn-primary,
.zoomies-btn-secondary,
.zoomies-btn-disabled {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
    border: none;
}

.zoomies-btn-primary {
    background: #1f7a54;
    color: #ffffff;

}

.zoomies-btn-primary:hover {
    background: #216c4c;
    transform: translateY(-2px);

}

.zoomies-btn-secondary {
    background: #ffffff;
    color: #1f7a54;
    border: 2px solid #1f7a54;
}

.zoomies-btn-secondary:hover {
    background: #1f7a54;
    color: #ffffff;
}

.zoomies-btn-disabled {
    background: #d4d4d4;
    color: #7a7a7a;
    cursor: not-allowed;
}

.zoomies-btn-danger {
    background: #E85D3C !important;
}

.zoomies-btn-danger:hover {
    background: #D74715 !important;
}

/* ==================== Membership Plans Grid ==================== */
.zoomies-membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.membership-plan-item {
    position: relative;
    background: #3d5b4b;

    border-radius: 10px;
    padding: 0;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    color: #efe9d3;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.membership-plan-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

/* Plan name at top (displays above badge) */
.plan-name-top {
    padding: 12px 32px 8px;
    font-family: "Outfit", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* Plan badges (full-width, not absolute) */
.plan-badge {
    width: 100%;
    padding: 3px 16px;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 19.5px */
    letter-spacing: 0.65px;
    text-transform: uppercase;
    color: #1f1f1f;
    background: #c5b88d;
    text-align: center;
}

/* Content wrapper with padding */
.plan-content-wrapper {
    padding: 24px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-badge-popular {
    background: #c5b88d;
}

.plan-badge-limited {
    background: #e89f3c;
    color: #000;
}

/* Card color themes per position */
.membership-plan-item:nth-child(1),
.membership-plan-item:nth-child(2) {
    background: #57725A;
    border: 1px solid #3B4E3D;
}

/* Plan name background for 1st and 2nd items */
.membership-plan-item:nth-child(1) .plan-name-top,
.membership-plan-item:nth-child(2) .plan-name-top {
    background: #3B4E3D;
}

/* Badge styles for 1st and 2nd items */
.membership-plan-item:nth-child(1) .plan-badge,
.membership-plan-item:nth-child(2) .plan-badge {
    background: #C5B68D;
    color: #314F3F;
}

.membership-plan-item:nth-child(3) {
    background: #3d5b4b;
    border: 2px solid #fff;
}

.membership-plan-item:nth-child(3) .plan-name-top {
    background: #FFFBEA;
    color: #314F3F;
}

.membership-plan-item:nth-child(3) .plan-badge {
    background: #171717;
    color: #FFFBEA;
    border-bottom: 1px solid #FFFBEA;
}

/* Decorative SVG divider for 3rd card */
.plan-decorative-divider {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
}

.plan-decorative-divider svg {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.membership-plan-item:nth-child(4) {
    background: #252A25;
    color: #f2e6c8;
    border: 1px solid #FFF;

}

.membership-plan-item:nth-child(4) .plan-name-top {
    background: #FFF;
    color: #314F3F;
}

.membership-plan-item:nth-child(4) .plan-badge {
    background: #D74715;
    color: #FFFBEA;
    border-bottom: 1px solid #FFFBEA;
}

.membership-plan-item:nth-child(4) .plan-price,
.membership-plan-item:nth-child(4) .plan-features li,
.membership-plan-item:nth-child(4) .plan-availability,
.membership-plan-item:nth-child(4) .plan-description {
    color: #FFFBEA;
}

.membership-plan-item:nth-child(4) .plan-header {
    border-bottom-color: rgba(255, 199, 102, 0.2);
}

.membership-plan-item:nth-child(4) .zoomies-btn-primary {
    color: #111;
    background: #fefefe;
}

.plan-header {
    text-align: left;
    margin-bottom: 16px;
}

.plan-description {
    font-size: 14px;
    color: #d8d3c2;
    margin: 0 0 14px 0;
}

.plan-price {
    margin: 0 0 8px 0;
    text-align: left;
    color: #FFFBEA;
    display: flex;
    align-items: center;
    gap: 4px;
}

.plan-price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.price-separator {
    color: #FFFBEA;
    opacity: 0.6;
}

.price-discount-badge,
.price-spots-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: #D74715;
    border: 2px solid  #FFFBEA;
    color: #FFFBEA;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-compare {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    text-decoration-line: line-through;
    text-decoration: line-through;
    color: #FFFBEA;
    opacity: 0.6;
    font-family: "Outfit", Sans-serif;
}

.price-amount {
    font-family: "Poiret One", Sans-serif;
    display: block;
font-size: 48px;
font-style: normal;
font-weight: 500;
line-height: 110%; /* 52.8px */
letter-spacing: 0.96px;
text-transform: capitalize;
color: #FFFBEA;
}

.price-period {
    font-size: 14px;
    color: #b8b1a1;
    font-weight: 400;
}

/* Capacity/Progress Bar */
.plan-capacity {
    margin: 0 0 16px 0;
}

.plan-capacity-bar {
    width: 100%;
    height: 2px;
    background: #3B4E3D;
    border-radius: 10px;
    overflow: hidden;
}

.plan-capacity-fill {
    height: 100%;
    background: #C5B88D;
    transition: width 0.3s ease;
    border-radius: 10px;
    width:100% !important;
}

.plan-availability {
    text-align: center;
    color: #cfc8b4;
    font-size: 13px;
    margin: 8px 0 0;
    display: none;
}

.plan-features-heading {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #f0ebd6;
    letter-spacing: 0.01em;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
    text-align: left;
}

.plan-features li {
    font-family: "Outfit", Sans-serif;
    position: relative;
    padding-left: 24px;
    color: #FFFBEA;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-align: left;
}

.plan-features li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #e8e2cf;
    font-weight: 700;
}

.plan-features-footer {
    font-family: "Outfit", Sans-serif;
    margin-top: 12px;
    padding-top: 12px;
    color: #FFFBEA;
font-size: 13px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 19.5px */
letter-spacing: 0.65px;
text-transform: uppercase;
    text-align: left;
	margin-bottom:15px;
}

.plan-action {
    text-align: center;
    margin-top: auto;
}

.membership-plan-item .zoomies-btn-primary {
    background: #ffffff;
    color: #241E1E;
 
    border: 1px solid #fff;
    border-radius: 300px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
    text-decoration: none;
    text-transform: uppercase;
}

/* Button styles for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary,
.membership-plan-item:nth-child(2) .zoomies-btn-primary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
 border-radius: 300px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
    text-decoration: none;
}

.membership-plan-item .zoomies-btn-primary::after {
    content: '\2192';
    font-size: 16px;
    line-height: 1;
}

/* Hide default arrow for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary::after,
.membership-plan-item:nth-child(2) .zoomies-btn-primary::after,
.membership-plan-item:nth-child(3) .zoomies-btn-primary::after,
.membership-plan-item:nth-child(4) .zoomies-btn-primary::after {
    content: none;
}

/* Button hover for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary:hover,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:hover {
    border: 1px solid #FFFBEA;
    background: #E2A422;
    color: #241E1E;
    transform: translateY(-2px);
}

/* Button press/focus state for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary:active,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:active,
.membership-plan-item:nth-child(1) .zoomies-btn-primary:focus,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:focus {
    background: #D74715;
    border: 1px solid #FFFBEA;
    color: #D6CAC0;
}

/* Change SVG arrow color on press/focus for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary:active path,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:active path,
.membership-plan-item:nth-child(1) .zoomies-btn-primary:focus path,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:focus path {
    stroke: #D6CAC0 !important;
}

/* Change SVG arrow color on hover for 1st and 2nd items */
.membership-plan-item:nth-child(1) .zoomies-btn-primary:hover path,
.membership-plan-item:nth-child(2) .zoomies-btn-primary:hover path {
    stroke: #241E1E;
}

/* Default button hover state (3rd and 4th items) */
.membership-plan-item .zoomies-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Button hover for 3rd item */
.membership-plan-item:nth-child(3) .zoomies-btn-primary:hover {
    background: #E2A422;
    color: #241E1E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Change SVG arrow color on hover for 3rd item */
.membership-plan-item:nth-child(3) .zoomies-btn-primary:hover path {
    stroke: #241E1E;
}

/* Button press/focus state for 3rd item */
.membership-plan-item:nth-child(3) .zoomies-btn-primary:active,
.membership-plan-item:nth-child(3) .zoomies-btn-primary:focus {
    background: #D74715;
    color: #D6CAC0;
}

/* Change SVG arrow color on press/focus for 3rd item */
.membership-plan-item:nth-child(3) .zoomies-btn-primary:active path,
.membership-plan-item:nth-child(3) .zoomies-btn-primary:focus path {
    stroke: #D6CAC0;
}

/* Default button style for 4th item */
.membership-plan-item:nth-child(4) .zoomies-btn-primary {
    background: #E2A422;
    color: #241E1E;
    border: 1px solid #E2A422;
}

/* Button hover for 4th item */
.membership-plan-item:nth-child(4) .zoomies-btn-primary:hover {
    background: #FFFBEA;
    color: #241E1E;
    border: 1px solid #FFFBEA;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Change SVG arrow color on hover for 4th item */
.membership-plan-item:nth-child(4) .zoomies-btn-primary:hover path {
    stroke: #241E1E;
}

/* Button press/focus state for 4th item */
.membership-plan-item:nth-child(4) .zoomies-btn-primary:active,
.membership-plan-item:nth-child(4) .zoomies-btn-primary:focus {
    background: #D74715;
    color: #D6CAC0;
}

/* Change SVG arrow color on press/focus for 4th item */
.membership-plan-item:nth-child(4) .zoomies-btn-primary:active path,
.membership-plan-item:nth-child(4) .zoomies-btn-primary:focus path {
    stroke: #D6CAC0;
}

/* ==================== Dashboard ==================== */
.zoomies-membership-dashboard {
    margin: 0 auto;

}

/* ==================== Dashboard Navigation ==================== */
.dashboard-navigation {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 32px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    color: #1A1A1A;
    background: transparent;
    border: none;
    transition: all 0.25s ease;
    cursor: pointer;
    
}

.dashboard-nav-btn svg {
    width: 16px;
    height: 16px;
    transition: all 0.25s ease;
}

.dashboard-nav-btn:hover {
    background: #E2A422;
    color: #1A1A1A;
    transform: translateY(-2px);
}

.dashboard-nav-btn:hover svg {
    stroke: #1A1A1A;
}

.dashboard-nav-btn:active,
.dashboard-nav-btn:focus {
    background: #D74715;
    color: #fff;
    transform: translateY(0);
}

.dashboard-nav-btn:active svg,
.dashboard-nav-btn:focus svg {
    stroke: #fff;
}

.dashboard-logout-btn {
    color: #dc2626;
}

.dashboard-logout-btn:hover {
    background: #dc2626;
    color: #fff;
}

.dashboard-logout-btn:hover svg {
    stroke: #fff;
}

.dashboard-logout-btn:active,
.dashboard-logout-btn:focus {
    background: #991b1b;
    color: #fff;
}

.dashboard-logout-btn:active svg,
.dashboard-logout-btn:focus svg {
    stroke: #fff;
}

/* ==================== Welcome Section ==================== */
.dashboard-welcome {
    margin-bottom: 32px;
}

.dashboard-welcome h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ==================== Expiration Warning ==================== */
.expiration-warning {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.expiration-warning .warning-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.expiration-warning .warning-content {
    flex: 1;
}

.expiration-warning .warning-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.expiration-warning .warning-action {
    flex-shrink: 0;
}

.expiration-warning .btn-renew {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Info Level (30-15 days) - Blue */
.expiration-warning.expiration-info {
    background: #E0F2FE;
    border-color: #38BDF8;
    color: #075985;
}

.expiration-warning.expiration-info .warning-icon {
    background: #38BDF8;
    color: #ffffff;
}

.expiration-warning.expiration-info .btn-renew {
    background: #38BDF8;
    color: #ffffff;
}

.expiration-warning.expiration-info .btn-renew:hover {
    background: #0EA5E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Warning Level (14-8 days) - Yellow/Orange */
.expiration-warning.expiration-warning {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

.expiration-warning.expiration-warning .warning-icon {
    background: #F59E0B;
    color: #ffffff;
}

.expiration-warning.expiration-warning .btn-renew {
    background: #F59E0B;
    color: #ffffff;
}

.expiration-warning.expiration-warning .btn-renew:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Danger Level (7 days or less, expired) - Red */
.expiration-warning.expiration-danger {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #991B1B;
}

.expiration-warning.expiration-danger .warning-icon {
    background: #EF4444;
    color: #ffffff;
}

.expiration-warning.expiration-danger .btn-renew {
    background: #EF4444;
    color: #ffffff;
}

.expiration-warning.expiration-danger .btn-renew:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ==================== Benefits Showcase Section ==================== */
.dashboard-benefits-section {
    background: #57725A;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-header {
    margin-bottom: 24px;
    text-align: center;
}

.benefits-header h3 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.benefits-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.benefit-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #C5B88D;
}

.benefit-text {
    flex: 1;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

/* ==================== Main Dashboard Grid ==================== */
.dashboard-main-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-column-left,
.dashboard-column-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-column-right {
    position: sticky;
    top: 24px;
    align-self: flex-start;
}

/* ==================== Dashboard Sections ==================== */
.dashboard-section {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    border: none;
}

.dashboard-section.quick-actions {
    padding: 24px;
}

.dashboard-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    margin: 0;
}

.code-count {
    font-size: 14px;
    color: #666;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* ==================== Modern Membership Card ==================== */
.membership-card-modern {
    background: #2D2D2D;
    border-radius: 10px;
    padding: 32px;
    color: #fff;
}

/* Card Header */
.membership-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;

}

.membership-header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.membership-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff !important;
    margin: 0;
}

.membership-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #C5B68D;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    width: fit-content;
}

.membership-badge-pill svg {
    width: 12px;
    height: 12px;
    stroke: #000;
}

.membership-card-modern .membership-status-badge,
.membership-status-badge {
    padding: 8px 20px;
    background: #E2A422 !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000 !important;
    text-transform: capitalize;
}

.membership-card-modern .membership-status-badge.status-active,
.membership-status-badge.status-active {
    background: #E2A422 !important;
    color: #000 !important;
    padding: 8px 20px;
    font-size:12px;
    border-radius:100px;
}

.membership-status-badge.status-expired,
.membership-status-badge.status-canceled {
    background: #ef4444;
    color: #fff;
}

/* Info Grid */
.membership-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-value {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
}

/* Card Footer */
.membership-card-footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cancel-membership {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;

    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
        background: #FFFBEA;
    color: #241E1E;
    border-color: #E0E0E0;
}

.btn-cancel-membership:hover {
     background: #F0A820;
    color: #1A1A1A;
    border-color: #F0A820;
}
.btn-cancel-membership:focus {
    background: #E85D3C;
    color: #FFFFFF;
    border-color: #E85D3C;
}


.btn-cancel-membership svg {
    width: 16px;
    height: 16px;
}

/* ==================== Quick Actions ==================== */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card-based Quick Action Items */
.quick-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1A1A1A;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    position: relative;
}

.quick-action-card:hover {
    border-color: #E2A422;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quick-action-card:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Primary Action (View Plans) */
.quick-action-card.is-primary {
    background: linear-gradient(135deg, #E2A422 0%, #D89A1F 100%);
    border-color: #E2A422;
    color: #241E1E;
}

.quick-action-card.is-primary .action-icon {
    background: rgba(255, 255, 255, 0.9);
    color: #E2A422;
}

.quick-action-card.is-primary .action-description {
    color: rgba(36, 30, 30, 0.8);
}

.quick-action-card.is-primary .action-arrow {
    color: #241E1E;
}

/* Danger Action (Logout) */
.quick-action-card.card-danger:hover {
    border-color: #fca5a5;
    background: #fef2f2;
}

.quick-action-card.card-danger .action-icon {
    background: #fee2e2;
    color: #dc2626;
}

.quick-action-card.card-danger .action-title {
    color: #dc2626;
}

/* Action Icon */
.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.action-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Action Content */
.action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.action-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #1A1A1A;
}

.action-description {
    font-size: 13px;
    line-height: 1.3;
    color: #6B7280;
}

/* Action Arrow Indicator */
.action-arrow {
    color: #9CA3AF;
    transition: all 0.25s ease;
    opacity: 0.6;
}

.quick-action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.action-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ==================== Invite Codes Section ==================== */
.dashboard-section.invite-codes {
    background: #FFFBEA;
    padding: 28px;
    border-radius: 12px;
}

.invite-codes .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.invite-codes .section-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.invite-codes .section-header h3 svg {
    color: #E2A422;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.code-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* ==================== Invite Codes Grid ==================== */
.invite-codes-grid {
    display: grid;
    gap: 16px;
}

.invite-code-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.25s ease;
    position: relative;
}

.invite-code-card:hover {
    border-color: #E2A422;
    box-shadow: 0 4px 12px rgba(226, 164, 34, 0.15);
    transform: translateY(-2px);
}

.invite-code-card.expired,
.invite-code-card.maxed-out {
    opacity: 0.6;
    background: #f9fafb;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.code-value {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #E2A422;
    border: 2px solid #e5e7eb;
    letter-spacing: 1px;
}

.code-actions {
    display: flex;
    gap: 8px;
}

.copy-code-btn,
.share-code-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #1A1A1A;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.copy-code-btn:hover {
    background: #10b981;
    transform: translateY(-2px);
}

.share-code-btn:hover {
    background: #E2A422;
    transform: translateY(-2px);
}

.copy-code-btn svg,
.share-code-btn svg {
    width: 16px;
    height: 16px;
}

.code-usage-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.usage-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #E2A422 50%, #ef4444 100%);
    transition: width 0.3s ease;
}

.code-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.code-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #475569;
}

.code-stat strong {
    color: #1e293b;
}

.code-stat svg {
    width: 14px;
    height: 14px;
    stroke: #E2A422;
}

.code-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.code-status.status-active {
    background: #d1fae5;
    color: #065f46;
}

.code-status.expired,
.code-status.maxed {
    background: #fee2e2;
    color: #991b1b;
}

.code-expiry {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.code-expiry.expired {
    color: #ef4444;
    font-weight: 600;
}

.code-expiry svg {
    width: 12px;
    height: 12px;
}

.view-usage-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.view-usage-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.view-usage-btn svg {
    width: 14px;
    height: 14px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state p {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.empty-state .empty-state-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* Share Code Modal */
.share-code-display,
.share-url-display {
    margin-bottom: 24px;
}

.share-code-display label,
.share-url-display label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 14px;
}

.code-display-box,
.url-display-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
}

.code-display-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #E2A422;
    letter-spacing: 1px;
}

.url-display-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #475569;
    outline: none;
}

.copy-share-code-btn,
.copy-share-url-btn {
    padding: 8px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-share-code-btn:hover,
.copy-share-url-btn:hover {
    background: #10b981;
}

.copy-share-code-btn svg,
.copy-share-url-btn svg {
    width: 16px;
    height: 16px;
}

.share-methods {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.share-methods h4 {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 16px 0;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.email-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.twitter-btn:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0284c7;
}

.facebook-btn:hover {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.whatsapp-btn:hover {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

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

.spin {
    animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
    .invite-codes .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .code-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .code-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

.code-status.status-active {
    background: #d1fae5;
    color: #065f46;
}

.code-status.status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.code-expiry {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.code-expiry svg {
    width: 12px;
    height: 12px;
    stroke: #666;
}

/* ==================== Transactions List / Activity Log ==================== */
.dashboard-section.transactions {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    border: 2px solid #e5e7eb;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.section-header-inline h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.section-header-inline h3 svg {
    stroke: #E2A422;
}

.activity-count {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 12px;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.25s ease;
}

.transaction-item:hover {
    border-color: #E2A422;
    box-shadow: 0 4px 12px rgba(226, 164, 34, 0.1);
    transform: translateY(-2px);
}

.transaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.transaction-item:hover .transaction-icon {
    transform: scale(1.1);
}

.transaction-icon svg {
    width: 18px;
    height: 18px;
}

.transaction-details {
    flex: 1;
}

.transaction-type {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.transaction-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.transaction-date svg {
    width: 12px;
    height: 12px;
    stroke: #94a3b8;
}

.transaction-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.transaction-amount .amount {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-completed,
.status-badge.status-succeeded {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-pending,
.status-badge.status-processing {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-failed,
.status-badge.status-canceled {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.status-refunded {
    background: #e0e7ff;
    color: #3730a3;
}

/* ==================== Empty States ==================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.empty-state svg {
    width: 48px;
    height: 48px;
    stroke: #d1d5db;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    color: #666;
    margin: 0 0 16px 0;
}

/* ==================== Responsive Design ==================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-column-right {
        position: static;
        top: 0;
    }
    
    .membership-card-modern {
        padding: 24px;
    }
    
    .membership-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Dashboard Container */
    .zoomies-membership-dashboard {
        padding: 16px;
    }
    
    /* Welcome Section */
    .dashboard-welcome {
        margin-bottom: 24px;
    }
    
    .dashboard-welcome h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .dashboard-subtitle {
        font-size: 14px;
    }
    
    /* Navigation */
    .dashboard-navigation {
        flex-direction: column;
        gap: 8px;
    }
    
    .dashboard-nav-btn {
        justify-content: center;
        width: 100%;
        text-decoration: none;
    }
    
    /* Expiration Warning */
    .expiration-warning {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .expiration-warning .warning-icon {
        width: 36px;
        height: 36px;
    }
    
    .expiration-warning .warning-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .expiration-warning .warning-content p {
        font-size: 14px;
    }
    
    .expiration-warning .warning-action {
        width: 100%;
    }
    
    .expiration-warning .btn-renew {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    
    /* Main Grid */
    .dashboard-main-grid {
        gap: 20px;
        margin-bottom: 24px;
    }
    
    /* Dashboard Sections */
    .dashboard-section {
        padding: 20px;
        border-radius: 10px;
    }
    
    .dashboard-section h3 {
        font-size: 18px;
    }
    
    /* Membership Card */
    .membership-card-modern {
        padding: 20px;
    }
    
    .membership-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .membership-title {
        font-size: 20px;
    }
    
    .membership-badge-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .membership-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-label {
        font-size: 10px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .membership-card-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-cancel-membership {
        width: 100%;
        justify-content: center;
    }
    
    /* Benefits Section */
    .dashboard-benefits-section {
        padding: 24px;
    }
    
    .benefits-header h3 {
        font-size: 20px;
    }
    
    .benefits-subtitle {
        font-size: 14px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefit-item {
        padding: 12px;
    }
    
    .benefit-text {
        font-size: 14px;
    }
    
    /* Activity Log / Transactions */
    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-header-inline h3 {
        font-size: 18px;
    }
    
    .transaction-item {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 14px;
    }
    
    .transaction-icon {
        width: 40px;
        height: 40px;
    }
    
    .transaction-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .transaction-details {
        flex: 1;
        min-width: 0;
    }
    
    .transaction-type {
        font-size: 15px;
    }
    
    .transaction-date {
        font-size: 12px;
    }
    
    .transaction-amount {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
    }
    
    .transaction-amount .amount {
        font-size: 16px;
    }
    
    /* Quick Actions */
    .quick-actions-grid,
    .quick-actions-list {
        grid-template-columns: 1fr;
    }
    
    .quick-action-card {
        padding: 14px;
    }
    
    .action-icon {
        width: 36px;
        height: 36px;
    }
    
    .action-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .action-title {
        font-size: 15px;
    }
    
    .action-description {
        font-size: 12px;
    }
    
    /* Modals */
    .modal-container {
        width: 95%;
        max-width: 95%;
        margin: 20px auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Form Fields in Modals */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-control {
        font-size: 14px;
        padding: 10px;
    }
    
    /* Buttons */
    .btn,
    .zoomies-btn-primary,
    .zoomies-btn-secondary,
    .zoomies-btn-primary-yellow {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px; /* Touch target size */
    }
    
    /* Empty States */
    .empty-state {
        padding: 32px 16px;
    }
    
    .empty-state svg {
        width: 40px;
        height: 40px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
    
    .empty-state-desc {
        font-size: 13px;
    }
    
    /* Membership Actions */
    .membership-actions-modern {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .zoomies-membership-dashboard {
        padding: 12px;
    }
    
    .dashboard-welcome h2 {
        font-size: 20px;
    }
    
    .dashboard-section {
        padding: 16px;
    }
    
    .membership-card-modern {
        padding: 16px;
    }
    
    .membership-info-grid {
        gap: 12px;
    }
    
    .dashboard-benefits-section {
        padding: 20px;
    }
    
    .benefits-header h3 {
        font-size: 18px;
    }
    
    .transaction-item {
        padding: 12px;
    }
    
    .modal-container {
        width: 100%;
        max-width: 100%;
        margin: 10px;
        border-radius: 12px;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* No Membership State */
.zoomies-membership-dashboard.no-membership {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.zoomies-membership-dashboard.no-membership h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.zoomies-membership-dashboard.no-membership p {
    font-size: 18px;
    color: #666;
    margin: 0 0 32px 0;
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: #1A1A1A;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M5 12H19" stroke="white" stroke-width="2" stroke-linejoin="round"/><path d="M12 5L19 12L12 19" stroke="white" stroke-width="2" stroke-linejoin="round"/></svg>') no-repeat center;
    background-size: 20px 20px;
    transition: transform 0.3s ease;
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:hover {
    background: #E2A422;
    color: #241E1E;
    border: 1px solid #E2A422;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:hover::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M5 12H19" stroke="%23241E1E" stroke-width="2" stroke-linejoin="round"/><path d="M12 5L19 12L12 19" stroke="%23241E1E" stroke-width="2" stroke-linejoin="round"/></svg>') no-repeat center;
    background-size: 20px 20px;
    transform: translateX(4px);
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:active,
.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:focus {
    background: #D74715;
    color: #D6CAC0;
    border: 1px solid #D74715;
    transform: translateY(0);
    outline: none;
}

.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:active::after,
.zoomies-membership-dashboard.no-membership .zoomies-btn-primary:focus::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M5 12H19" stroke="%23D6CAC0" stroke-width="2" stroke-linejoin="round"/><path d="M12 5L19 12L12 19" stroke="%23D6CAC0" stroke-width="2" stroke-linejoin="round"/></svg>') no-repeat center;
    background-size: 20px 20px;
}

.dashboard-section {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;

}

.dashboard-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 22px;
    margin-bottom: 10px;
}

.membership-card {
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 25px;
    background: #57725A;
    color: #fff;
}

.membership-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.membership-details p {
    margin: 10px 0;
    font-size: 16px;
}

.membership-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.status-active {
    color: #241E1E;
    font-weight: 600;
}

.status-expired,
.status-canceled {
    color: #f44336;
    font-weight: 600;
}

/* ==================== Tables ==================== */
.invite-codes-table,
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.invite-codes-table th,
.invite-codes-table td,
.transactions-table th,
.transactions-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.invite-codes-table th,
.transactions-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.invite-codes-table code {
    background: #e3f2fd;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: #1976d2;
    font-weight: 600;
}

/* ==================== Payment Form ==================== */
/* ==================== Registration Page Two-Column Layout ==================== */
.zoomies-membership-registration-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.registration-plan-column {
    position: sticky;
    top: 20px;
    align-self: start;
}

.registration-plan-column .membership-plan-item {
    margin: 0;
}

.registration-plan-column .plan-action {
    display: none; /* Hide the Get Started button */
}

.registration-form-column {
    min-width: 0; /* Prevents grid overflow */
}

.registration-form-title {
    font-size: 28px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 30px;
}

/* ==================== Registration Form Styling (Gravity Forms Pattern) ==================== */
.zoomies-membership-payment-form {
    --gform-theme-color-primary: #57725A;
    --gform-theme-color-primary-hover: #F0A820;
    --gform-theme-color-primary-active: #E85D3C;
    --gform-theme-border-color-default: #D6CAC0;
    --gform-theme-border-color-focus: #57725A;
    --gform-theme-border-color-filled: #8D8D8D;
    --gform-theme-label-color-default: #99999B;
    --gform-theme-label-color-active: #1A1A1A;
    --gform-theme-error-color: #D74715;
    
    background: #fff;
    border-radius: 12px;
    padding: 40px;
}

.payment-plan-summary {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.payment-plan-summary h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.plan-price-large {
    font-size: 48px;
    font-weight: 700;
    color: var(--gform-theme-color-primary);
    margin: 15px 0;
}

/* Form Groups & Grid */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.zoomies-membership-payment-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Labels - Gravity Forms Style */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--gform-theme-label-color-default);
    transition: color 0.2s ease;
}

.form-group.has-focus label,
.form-group.has-value label {
    color: var(--gform-theme-label-color-active);
}

/* Input Fields - Gravity Forms Style */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--gform-theme-border-color-default);
    border-radius: 4px;
    font-size: 16px;
    color: #1A1A1A;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--gform-theme-border-color-focus);
    box-shadow: 0 0 0 1px var(--gform-theme-border-color-focus);
}

.form-group.has-value input[type="text"],
.form-group.has-value input[type="email"],
.form-group.has-value input[type="tel"],
.form-group.has-value input[type="password"] {
    border-color: var(--gform-theme-border-color-filled);
}

.form-group input::placeholder {
    color: #CCCCCC;
    opacity: 1;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #99999B;
}

/* Invite Code Input Wrapper */
.invite-code-input-wrapper {
    display: flex;
    gap: 12px;
}

.invite-code-input-wrapper input {
    flex: 1;
}

/* Coupon Code Input Wrapper */
.coupon-code-input-wrapper {
    display: flex;
    gap: 12px;
}

.coupon-code-input-wrapper input {
    flex: 1;
}

/* Hide invite code on payment page */
#zoomies-payment-form .form-group:has(#invite_code) {
    display: none !important;
}

#validate-invite-btn.zoomies-btn-validate,
#validate-coupon-btn.zoomies-btn-validate,
.zoomies-btn-validate {
    height: 48px !important;
    padding: 0 30px !important;
    background: transparent !important;
    color: #1A1A1A !important;
    border: 1px solid #1A1A1A !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    white-space: nowrap;
    transform: none !important;
    box-shadow: none !important;
}

#validate-invite-btn.zoomies-btn-validate:hover,
#validate-coupon-btn.zoomies-btn-validate:hover,
.zoomies-btn-validate:hover {
    background: #1A1A1A !important;
    color: #fff !important;
    border-color: #1A1A1A !important;
    transform: none !important;
}

#validate-invite-btn.zoomies-btn-validate:active,
#validate-coupon-btn.zoomies-btn-validate:active,
.zoomies-btn-validate:active {
    background: #000 !important;
    border-color: #000 !important;
}

/* Card Element (Stripe) */
#card-element {
    border: 1px solid var(--gform-theme-border-color-default);
    border-radius: 4px;
    padding: 15px 16px;
    background: #fff;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#card-element.StripeElement--focus {
    border-color: var(--gform-theme-border-color-focus);
    box-shadow: 0 0 0 1px var(--gform-theme-border-color-focus);
}

#card-element.StripeElement--complete {
    border-color: var(--gform-theme-border-color-filled);
}

/* Error States */
.form-group.has-error input {
    border-color: var(--gform-theme-error-color) !important;
}

.form-group .error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gform-theme-error-color);
    font-size: 13px;
    margin-top: 8px;
    padding-left: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="%23D74715"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm1 12H7V7h2v5zm0-6H7V4h2v2z"/></svg>') no-repeat left center;
    background-size: 16px 16px;
}

#card-errors {
    color: var(--gform-theme-error-color);
    margin-top: 10px;
    font-size: 13px;
    min-height: 0;
}

#card-errors:not(:empty) {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="%23D74715"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm1 12H7V7h2v5zm0-6H7V4h2v2z"/></svg>') no-repeat left center;
    background-size: 16px 16px;
}

/* Submit Button - Gravity Forms Style */
#submit-payment {
    width: 100%;
    height: 56px;
    margin-top: 30px;
    padding: 0 40px;
    background: #1A1A1A;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#submit-payment::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="white"><path d="M10 0L8.59 1.41L16.17 9H0v2h16.17l-7.58 7.59L10 20l10-10L10 0z"/></svg>') no-repeat center;
    background-size: 20px 20px;
    transition: transform 0.3s ease;
}

#submit-payment:hover {
    background: var(--gform-theme-color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#submit-payment:hover::after {
    transform: translateX(4px);
}

#submit-payment:active {
    background: var(--gform-theme-color-primary-active);
    transform: translateY(0);
}

#submit-payment:disabled {
    background: #CCCCCC;
    cursor: not-allowed;
    transform: none;
}

#submit-payment:disabled::after {
    transform: none;
}

/* ==================== Modal System ==================== */
.zoomies-modal-overlay,
.zoomies-success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.zoomies-success-modal {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.zoomies-success-modal .success-icon {
    margin: 0 auto 24px;
    width: 64px;
    height: 64px;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.zoomies-success-modal .success-icon svg {
    width: 100%;
    height: 100%;
}

.zoomies-success-modal .success-title {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.zoomies-success-modal .success-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.zoomies-success-modal .success-countdown {
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

.zoomies-success-modal .success-countdown span {
    font-size: 14px;
    color: #99999B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zoomies-success-modal .countdown-number {
    color: #57725A;
    font-size: 18px;
    font-weight: 700;
}

/* ==================== Confirmation Modal ==================== */
.zoomies-confirm-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.zoomies-confirm-modal .confirm-icon {
    margin: 0 auto 24px;
    width: 48px;
    height: 48px;
}

.zoomies-confirm-modal .confirm-icon svg {
    width: 100%;
    height: 100%;
}

.zoomies-confirm-modal .confirm-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.zoomies-confirm-modal .confirm-message {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.zoomies-confirm-modal .confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.zoomies-btn-cancel-action,
.zoomies-btn-confirm-action {
    padding: 14px 32px;
    border-radius: 100%;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.zoomies-confirm-modal .zoomies-btn-cancel-action {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius:100px;
}

.zoomies-confirm-modal .zoomies-btn-cancel-action:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.zoomies-confirm-modal .zoomies-btn-confirm-action {
 background: #241E1E;
    color: #FFFBEA;
    border-color: #241E1E;
}

.zoomies-confirm-modal .zoomies-btn-confirm-action:hover {
   background: #E2A422 !important;
    color: #241E1E !important;
    border-color: #FFFBEA !important;
}


.zoomies-confirm-modal .zoomies-btn-confirm-action:active {
    background: #E85D3C !important;
    color: #FFFFFF !important;
    border-color: #E85D3C !important;
}

.zoomies-confirm-modal .zoomies-btn-confirm-action:disabled {
    background: #717171 !important;
    color: #D4D4D4 !important;
    border-color: #717171 !important;
    cursor: not-allowed  !important;
    box-shadow: none  !important;
}

.zoomies-btn-confirm-action:disabled {
    background: #CCCCCC;
    cursor: not-allowed;
}

/* ==================== Error Modal ==================== */
.zoomies-error-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.zoomies-error-modal .error-icon {
    margin: 0 auto 24px;
    width: 48px;
    height: 48px;
}

.zoomies-error-modal .error-icon svg {
    width: 100%;
    height: 100%;
}

.zoomies-error-modal .error-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.zoomies-error-modal .error-message {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.zoomies-btn-close-error {
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #1A1A1A;
    background: #1A1A1A;
    color: #fff;
}

.zoomies-btn-close-error:hover {
    background: #000;
}

/* ==================== Responsive ==================== */
/* Tablet: 768px - 1024px (2 columns, 2 rows) */
@media (min-width: 768px) and (max-width: 1024px) {
    .zoomies-membership-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Registration Page - Stack on Tablet */
    .zoomies-membership-registration-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .registration-plan-column {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile: Below 768px (1 column, stacked) */
@media (max-width: 767px) {
    .zoomies-membership-plans {
        grid-template-columns: 1fr;
    }

    .membership-plan-item {
        padding: 0;
    }

    .membership-actions {
        flex-direction: column;
    }

    .invite-codes-table,
    .transactions-table {
        font-size: 14px;
    }
    
    /* Registration Page Mobile Adjustments */
    .zoomies-membership-registration-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .registration-plan-column {
        position: static;
    }
    
    .registration-form-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    /* Registration Form Mobile Adjustments */
    .zoomies-membership-payment-form {
        padding: 24px;
    }
    
    .zoomies-membership-payment-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .payment-plan-summary {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .plan-price-large {
        font-size: 36px;
    }
}

/* ==================== Login & Membership Status Notices ==================== */
.zoomies-login-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #171717;
}

.zoomies-login-notice svg {
    flex-shrink: 0;
    color: #ffc107;
}

.zoomies-login-notice .login-link {
    color: #171717;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.zoomies-login-notice .login-link:hover {
    color: #171717;
    text-decoration: underline;
}

/* Upgrade Notice */
.zoomies-upgrade-notice {
    background: #D74715;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #FFFBEA;
    box-shadow: 0 4px 12px rgba(226, 164, 34, 0.25);
}

.zoomies-upgrade-notice svg {
    flex-shrink: 0;
    color: #FFFBEA;
}

.zoomies-upgrade-notice strong {
    font-weight: 700;
    color: #fff;
}

/* Downgrade Warning */
.zoomies-downgrade-warning {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #92400e;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.zoomies-downgrade-warning svg {
    flex-shrink: 0;
    color: #f59e0b;
    margin-top: 2px;
}

.zoomies-downgrade-warning .warning-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zoomies-downgrade-warning .warning-content strong {
    font-weight: 700;
    color: #78350f;
    font-size: 15px;
    display: block;
}

.zoomies-downgrade-warning .warning-content span strong {
    font-weight: 600;
    color: #92400e;
    font-size: 14px;
}

/* Email Exists Warning */
.zoomies-email-exists-warning {
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 8px;
    font-size: 14px;
    color: #c62828;
}

.zoomies-email-exists-warning a {
    color: #c62828;
    font-weight: 600;
    text-decoration: underline;
}

.zoomies-email-exists-warning a:hover {
    color: #b71c1c;
}

/* Enhanced Email Exists Notice (Payment Form) */
.zoomies-email-exists-notice {
    background: #fff9e6;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

.zoomies-email-exists-notice .notice-icon {
    flex-shrink: 0;
}

.zoomies-email-exists-notice .notice-icon svg {
    color: #ffc107;
    width: 32px;
    height: 32px;
}

.zoomies-email-exists-notice .notice-content {
    flex: 1;
}

.zoomies-email-exists-notice h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #171717;
}

.zoomies-email-exists-notice .notice-email {
    margin: 8px 0;
    font-size: 15px;
    color: #171717;
}

.zoomies-email-exists-notice .notice-email strong {
    color: #171717;
    font-weight: 600;
}

.zoomies-email-exists-notice .notice-instruction {
    margin: 12px 0 8px 0;
    font-size: 15px;
    color: #171717;
    font-weight: 600;
}

.zoomies-email-exists-notice .notice-steps {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px 0;
}

.zoomies-email-exists-notice .notice-steps li {
    padding: 4px 0;
    font-size: 14px;
    color: #171717;
}

.zoomies-email-exists-notice .notice-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.zoomies-email-exists-notice .btn-login,
.zoomies-email-exists-notice .btn-reset {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zoomies-email-exists-notice .btn-login {
    background: #171717;
    color: #ffffff;
    border: 2px solid #171717;
}

.zoomies-email-exists-notice .btn-login:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
}

.zoomies-email-exists-notice .btn-reset {
    background: transparent;
    color: #171717;
    border: 2px solid #171717;
}

.zoomies-email-exists-notice .btn-reset:hover {
    background: #171717;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .zoomies-email-exists-notice {
        flex-direction: column;
        padding: 20px;
    }
    
    .zoomies-email-exists-notice .notice-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .zoomies-email-exists-notice .btn-login,
    .zoomies-email-exists-notice .btn-reset {
        width: 100%;
        text-align: center;
    }
}

/* ==================== Login Required Notice ==================== */
.zoomies-login-required-notice {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
}

.zoomies-login-required-notice .login-required-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    text-align: center;
}

.zoomies-login-required-notice .login-icon {
    margin: 0 auto 24px;
}

.zoomies-login-required-notice .login-icon svg {
    width: 64px;
    height: 64px;
    color: #171717;
    display: block;
    margin: 0 auto;
}

.zoomies-login-required-notice h2 {
    font-size: 28px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 16px 0;
}

.zoomies-login-required-notice p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.zoomies-login-required-notice .login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.zoomies-login-required-notice .btn-login-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #171717;
    color: #ffffff;
    border: 2px solid #171717;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zoomies-login-required-notice .btn-login-primary:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.zoomies-login-required-notice .btn-login-primary svg {
    width: 20px;
    height: 20px;
}

.zoomies-login-required-notice .btn-view-plans {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #171717;
    border: 2px solid #171717;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zoomies-login-required-notice .btn-view-plans:hover {
    background: #171717;
    color: #ffffff;
    transform: translateY(-2px);
}

.zoomies-login-required-notice .login-help {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.zoomies-login-required-notice .login-help a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.zoomies-login-required-notice .login-help a:hover {
    color: #171717;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .zoomies-login-required-notice {
        margin: 40px auto;
    }
    
    .zoomies-login-required-notice .login-required-content {
        padding: 32px 24px;
    }
    
    .zoomies-login-required-notice h2 {
        font-size: 24px;
    }
    
    .zoomies-login-required-notice .login-icon svg {
        width: 48px;
        height: 48px;
    }
}


/* Current Plan Status Banner */
.zoomies-current-plan-status {
    background: #171717;
    border-radius: 12px;
    padding: 24px 32px;
    margin: 0 0 40px 0;
    color: #FFFBEA;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 251, 234, 0.15);
}

.plan-status-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.plan-status-header svg {
    flex-shrink: 0;
    color: #E2A422;
    filter: drop-shadow(0 2px 4px rgba(226, 164, 34, 0.3));
}

.plan-status-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #FFFBEA;
}

.plan-status-info h3 .plan-name {
    color: #E2A422;
    font-weight: 800;
}

.plan-status-info p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 251, 234, 0.75);
    line-height: 1.4;
}

.plan-status-info .status-active {
    color: #E2A422;
    font-weight: 600;
}

.plan-status-info .status-expired,
.plan-status-info .status-canceled {
    color: #D74715;
    font-weight: 600;
}

.plan-status-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.plan-status-actions .zoomies-btn-secondary {
    background: transparent;
    color: #FFFBEA;
    border: 2px solid #FFFBEA;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 100px;
    font-weight: 700;
}

.plan-status-actions .zoomies-btn-secondary:hover {
    background: #FFFBEA;
    color: #171717;
    border-color: #FFFBEA;
    transform: translateY(-2px);
}

.plan-status-actions .zoomies-btn-secondary:active,
.plan-status-actions .zoomies-btn-secondary:focus {
    background: #D74715;
    color: #FFFBEA;
    border-color: #D74715;
}

.plan-status-actions .zoomies-btn-primary {
    background: #E2A422;
    color: #171717;
    padding: 10px 20px;
    font-size: 14px;
    border: 2px solid #E2A422;
    border-radius: 100px;
    font-weight: 700;
}

.plan-status-actions .zoomies-btn-primary:hover {
    background: #FFFBEA;
    color: #171717;
    border-color: #FFFBEA;
    transform: translateY(-2px);
}

.plan-status-actions .zoomies-btn-primary:active,
.plan-status-actions .zoomies-btn-primary:focus {
    background: #D74715;
    color: #FFFBEA;
    border-color: #D74715;
}

/* Responsive adjustments for plan status */
@media (max-width: 768px) {
    .zoomies-current-plan-status {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .plan-status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plan-status-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .plan-status-actions .zoomies-btn-secondary,
    .plan-status-actions .zoomies-btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* ==================== Already Purchased Notice ==================== */
.zoomies-already-purchased-notice {
    max-width: 1400px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    text-align: center;
}

.zoomies-already-purchased-notice .notice-header {
    margin-bottom: 32px;
}

.zoomies-already-purchased-notice .notice-header svg {
    width: 64px;
    height: 64px;
    color: #10b981;
    margin: 0 auto 16px;
    display: block;
}

.zoomies-already-purchased-notice .notice-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 8px 0;
}

.zoomies-already-purchased-notice .notice-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.zoomies-already-purchased-notice .notice-subtitle strong {
    color: #171717;
    font-weight: 600;
}

.zoomies-already-purchased-notice .current-plan-status-card {
    max-width: 500px;
    margin: 32px auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.zoomies-already-purchased-notice .status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.zoomies-already-purchased-notice .status-row:last-child {
    border-bottom: none;
}

.zoomies-already-purchased-notice .status-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zoomies-already-purchased-notice .status-value {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
}

.zoomies-already-purchased-notice .status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zoomies-already-purchased-notice .status-active {
    background: #d1fae5;
    color: #065f46;
}

.zoomies-already-purchased-notice .status-expired,
.zoomies-already-purchased-notice .status-canceled {
    background: #fee2e2;
    color: #991b1b;
}

.zoomies-already-purchased-notice .notice-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
    flex-wrap: wrap;
}

.zoomies-already-purchased-notice .notice-actions svg {
    width: 20px;
    height: 20px;
}

.zoomies-already-purchased-notice .other-plans-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid #e9ecef;
}

.zoomies-already-purchased-notice .other-plans-title {
    font-size: 24px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 32px 0;
    text-align: center;
}

/* Use existing plan cards grid from main page */
.zoomies-already-purchased-notice .zoomies-membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .zoomies-already-purchased-notice {
        padding: 32px 24px;
        margin: 20px 16px;
    }
    
    .zoomies-already-purchased-notice .notice-header h2 {
        font-size: 24px;
    }
    
    .zoomies-already-purchased-notice .notice-subtitle {
        font-size: 16px;
    }
    
    .zoomies-already-purchased-notice .notice-actions {
        flex-direction: column;
    }
    
    .zoomies-already-purchased-notice .notice-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .zoomies-already-purchased-notice .zoomies-membership-plans {
        grid-template-columns: 1fr;
    }
}

/* ==================== Edit Profile Modal ==================== */
.zoomies-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    /* Mobile scroll improvements */
    -webkit-overflow-scrolling: touch;
}

/* Prevent background scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1A1A1A;
}

.modal-body {
    padding: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E2A422;
    box-shadow: 0 0 0 3px rgba(226, 164, 34, 0.1);
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.required {
    color: #dc2626;
    margin-left: 4px;
}

.modal-large {
    max-width: 600px;
}

/* Stripe Card Element */
.stripe-card-element {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.stripe-card-element.StripeElement--focus {
    border-color: #E2A422;
    box-shadow: 0 0 0 3px rgba(226, 164, 34, 0.1);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #dc2626;
}

.card-errors {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
}

.form-divider {
    margin: 28px 0;
    text-align: center;
    position: relative;
}

.form-divider span {
    background: #fff;
    padding: 0 16px;
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding: 20px;

    border-top: 1px solid #e5e7eb;
}

/* Modal Button Overrides for Zoomies Button System */
.modal-footer .btn {
    min-width: 100px;
}

.modal-footer .btn .btn-text {
    display: inline-block;
}

.modal-footer .btn .btn-loader {
    display: none;
}

.modal-footer .btn:disabled .btn-text {
    display: none;
}

.modal-footer .btn:disabled .btn-loader,
.modal-footer .btn[disabled] .btn-loader {
    display: inline-block;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
    width: 20px;
    height: 20px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Alert Messages */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive */
@media (max-width: 640px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-large {
        max-width: none;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Auto-Renewal Toggle Switch */
.auto-renewal-card {
    cursor: default !important;
}

.action-toggle {
    margin-left: auto;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #E2A422;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dashboard Notifications */
.dashboard-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.dashboard-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.notification-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Member Limit Modal Styles */
.member-limit-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.member-limit-section .section-title,
.household-members-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.member-limit-section .section-title svg,
.household-members-section .section-title svg {
    color: #E2A422;
}

.member-limit-section .section-title h4,
.household-members-section .section-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.capacity-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.stat-value.text-warning {
    color: #f59e0b;
}

.capacity-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.capacity-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #E2A422 100%);
    transition: width 0.3s ease;
}

.capacity-text {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin: 0;
}

/* Household Members Section */
.household-members-section {
    margin-top: 24px;
}

#household-members-list {
    margin-bottom: 16px;
}

.household-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.household-member-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.household-member-item.primary {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.member-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.member-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e293b;
}

.member-name svg {
    color: #E2A422;
}

.member-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discounted-price {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.remove-member-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 16px;
}

.remove-member-btn:hover {
    background: #fee2e2;
}

.remove-member-btn svg {
    width: 16px;
    height: 16px;
}

#add-household-member-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .capacity-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        background: white;
        border-radius: 8px;
    }
    
    .household-member-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .member-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .member-price {
        align-items: flex-start;
    }
    
    .remove-member-btn {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* ========================================
   Enhanced Coupon Success Badge
   ======================================== */

.zoomies-coupon-success-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #faf6f0 0%, #f5f1e8 100%);
    border-radius: 12px;
    margin: 12px 0;
    animation: slideInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(232, 98, 14, 0.12);
    font-family: "Outfit", Sans-serif;
}

@keyframes slideInBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.coupon-badge-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8620e;
    border-radius: 50%;
    color: white;
    animation: checkPop 0.6s ease 0.2s both;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.coupon-badge-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coupon-badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.coupon-badge-title {
    font-size: 15px;
    color: #171717;
    font-weight: 500;
}

.coupon-badge-title strong {
    font-weight: 700;
    color: #171717;
    font-family: "Outfit", Sans-serif;
    font-size: 16px;
}

.coupon-remove-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.coupon-remove-btn:hover {
    background: rgba(232, 98, 14, 0.1);
    opacity: 1;
    color: #e8620e;
}

.coupon-badge-details {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.coupon-discount {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    padding: 4px 10px;
    background: #171717;
    border-radius: 6px;
}

.coupon-savings {
    font-size: 14px;
    color: #171717;
    font-weight: 500;
}

.coupon-badge-total {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.new-price {
    font-size: 20px;
    color: #171717;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .zoomies-coupon-success-badge {
        padding: 14px;
        gap: 10px;
    }
    
    .coupon-badge-icon {
        width: 32px;
        height: 32px;
    }
    
    .coupon-badge-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .coupon-badge-title {
        font-size: 14px;
    }
    
    .coupon-badge-title strong {
        font-size: 14px;
    }
    
    .coupon-badge-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .new-price {
        font-size: 18px;
    }
}
