/* SwingTap Frontend Styles v2.5 - Devilish Theme */
/* Updated: Full-width badge container, redesigned owner toolbar */
/* Brand Colors: #d92b63 (hot pink), black, white */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Bebas+Neue&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
    --st-primary: #d92b63;
    --st-primary-dark: #b82254;
    --st-primary-light: #ff3d7f;
    --st-dark: #0a0a0a;
    --st-dark-soft: #1a1a1a;
    --st-gray-900: #111111;
    --st-gray-800: #1f1f1f;
    --st-gray-700: #2d2d2d;
    --st-gray-600: #404040;
    --st-gray-500: #6b6b6b;
    --st-gray-400: #9a9a9a;
    --st-gray-300: #c4c4c4;
    --st-gray-200: #e0e0e0;
    --st-gray-100: #f5f5f5;
    --st-white: #ffffff;
    --st-success: #22c55e;
    --st-error: #ef4444;
    --st-warning: #f59e0b;
    --st-radius: 16px;
    --st-radius-sm: 10px;
    --st-radius-xs: 6px;
    --st-shadow: 0 4px 20px rgba(217, 43, 99, 0.15);
    --st-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --st-shadow-glow: 0 0 30px rgba(217, 43, 99, 0.3);
    --st-font-display: 'Cinzel', Georgia, serif;
    --st-font-heading: 'Bebas Neue', Impact, sans-serif;
    --st-font-body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    --st-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

/* ========== CONTAINER ========== */

/* Swingtap pages are full-screen app experiences - hide WP theme chrome */
body:has(.swingtap-container) {
    background: var(--st-dark) !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide WordPress theme header, footer, nav, and sidebar on Swingtap pages */
body:has(.swingtap-container) .site-header,
body:has(.swingtap-container) .site-footer,
body:has(.swingtap-container) .site-navigation,
body:has(.swingtap-container) .main-navigation,
body:has(.swingtap-container) .footer-widgets,
body:has(.swingtap-container) .widget-area,
body:has(.swingtap-container) .sidebar,
body:has(.swingtap-container) #masthead,
body:has(.swingtap-container) #colophon,
body:has(.swingtap-container) .ast-header-break-point,
body:has(.swingtap-container) .site-branding,
body:has(.swingtap-container) .wp-site-blocks > header,
body:has(.swingtap-container) .wp-site-blocks > footer {
    display: none !important;
}

/* Kill WordPress theme wrapper padding/margins to prevent white space */
body:has(.swingtap-container) .site-content,
body:has(.swingtap-container) .content-area,
body:has(.swingtap-container) .entry-content,
body:has(.swingtap-container) .post-content,
body:has(.swingtap-container) .page-content,
body:has(.swingtap-container) main,
body:has(.swingtap-container) article,
body:has(.swingtap-container) .site-main,
body:has(.swingtap-container) .main-content,
body:has(.swingtap-container) .wp-block-post-content,
body:has(.swingtap-container) .ast-container,
body:has(.swingtap-container) .elementor-section-wrap,
body:has(.swingtap-container) .fl-content,
body:has(.swingtap-container) .container,
body:has(.swingtap-container) .wrapper,
body:has(.swingtap-container) .wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    background: var(--st-dark) !important;
}

.swingtap-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 16px 20px;
    background: var(--st-dark);
    font-family: var(--st-font-body);
    color: var(--st-white);
    line-height: 1.6;
    font-size: 15px;
    min-height: 100vh;
    position: relative;
}

/* Background image support */
.swingtap-container.has-bg {
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--st-dark);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 16px;
    min-height: 100vh;
}

body:has(.swingtap-container.has-bg) {
    overflow-x: hidden;
}

/* Profile content card */
.swingtap-container.has-bg .st-profile-content {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--st-gray-900) 0%, var(--st-dark) 100%);
    border-radius: var(--st-radius);
    padding: 32px 16px 24px;
    box-shadow: var(--st-shadow-lg);
    border: 1px solid var(--st-gray-700);
}

/* Logo area */
.swingtap-container.has-bg .st-profile-logo {
    max-width: 480px;
    margin: 0 auto 16px auto;
    padding: 10px 0;
    text-align: center;
}

/* ========== SWINGTAP LOGO HEADER ========== */

.st-page-logo {
    text-align: center;
    padding: 0 0 16px;
    max-width: 480px;
    margin: 0 auto;
}

.st-page-logo img {
    max-width: 160px;
    height: auto;
}

.st-page-logo-text {
    font-family: var(--st-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--st-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.st-page-logo-text:hover {
    color: var(--st-primary-light);
}

/* ========== OWNER NAV BAR ========== */

.st-owner-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 0 16px;
    background: var(--st-gray-900);
    border-radius: var(--st-radius-sm);
    border: 1px solid var(--st-gray-700);
}

.swingtap-container.has-bg .st-owner-nav {
    max-width: 480px;
    margin: 0 auto 16px;
}

.st-owner-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(217, 43, 99, 0.1);
    border: 1px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    color: var(--st-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--st-transition);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}

.st-owner-nav-btn:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

.st-owner-nav-btn svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 520px) {
    .swingtap-container {
        margin: 20px auto;
        padding: 32px 24px 24px;
        border-radius: var(--st-radius);
        box-shadow: var(--st-shadow-lg);
        min-height: auto;
        border: 1px solid var(--st-gray-700);
    }
}

/* ========== TYPOGRAPHY ========== */

.swingtap-container h1,
.swingtap-container h2,
.swingtap-container h3 {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--st-white) !important;
    letter-spacing: 0.02em;
}

.swingtap-container h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--st-white) !important;
}

.swingtap-container h3 {
    font-size: 1rem;
    margin: 16px 0 10px;
    color: var(--st-white) !important;
}

.swingtap-container p {
    margin: 0 0 12px;
    color: var(--st-gray-300);
}

.st-helper {
    font-size: 0.85rem;
    color: var(--st-gray-400);
    margin: 0 0 12px;
}

.st-error {
    color: var(--st-error);
    font-weight: 600;
}

/* ========== PROFILE HEADER - BADGE AND PHOTO ========== */

.st-profile-header {
    text-align: center;
    padding: 0;
    position: relative;
}

/* Badge container - full width with padding */
.st-badge-container {
    position: relative;
    display: block;
    width: 100%;
    padding: 64px 16px 22px;
    margin-bottom: 16px;
}

/* Badge background image - scales with container */
.st-profile-badge {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.st-profile-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Profile photo - centered on top of badge */
.st-profile-photo {
    width: 234px;
    height: 234px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--st-primary);
    box-shadow: var(--st-shadow-glow);
    position: relative;
    z-index: 2;
    background: var(--st-gray-800);
    cursor: pointer;
    transition: var(--st-transition);
    margin: 25px auto 0;
}

.st-profile-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(217, 43, 99, 0.5);
}

.st-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-profile-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--st-primary);
    background: var(--st-gray-800);
}

/* ========== PROFILE NAME SECTION ========== */

.st-profile-name-section {
    text-align: center;
    padding: 24px 16px 44px;
}

.st-profile-name {
    font-family: var(--st-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--st-white);
    margin: 0 0 12px 0;
}

.st-profile-real-name {
    font-size: 0.9rem;
    color: var(--st-gray-400);
    font-style: italic;
    margin-bottom: 20px;
}

.st-profile-type {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--st-primary), var(--st-primary-dark));
    color: var(--st-white);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

.st-profile-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: var(--st-success);
    font-size: 0.85rem;
}

/* ========== CONNECT BUTTONS SECTION ========== */

.st-connect-buttons-section {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 16px 24px;
    flex-wrap: wrap;
}

/* ========== OWNER ACTIONS - FLOATING TOOLBAR ========== */

.st-owner-toolbar {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--st-gray-700);
}

.st-owner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    color: var(--st-gray-400);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--st-transition);
}

.st-owner-btn:hover {
    border-color: var(--st-primary);
    color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

.st-owner-btn svg {
    width: 16px;
    height: 16px;
}

.st-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.2) 0%, rgba(217, 43, 99, 0.1) 100%);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    color: var(--st-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--st-transition);
    box-shadow: 0 0 20px rgba(217, 43, 99, 0.2);
}

.st-connect-btn:hover {
    background: var(--st-primary);
    color: var(--st-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(217, 43, 99, 0.4);
}

.st-connect-btn:visited,
.st-connect-btn:active,
.st-connect-btn:focus {
    color: var(--st-white);
}

.st-connect-icon {
    width: 20px;
    height: 20px;
    color: var(--st-primary);
    filter: drop-shadow(0 0 3px rgba(217, 43, 99, 0.5));
    transition: var(--st-transition);
}

.st-connect-btn:hover .st-connect-icon {
    color: var(--st-white);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ========== DASHBOARD ACTION BUTTONS ========== */

.st-dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.2) 0%, rgba(217, 43, 99, 0.1) 100%);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    color: var(--st-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--st-transition);
    box-shadow: 0 0 15px rgba(217, 43, 99, 0.15);
}

.st-dashboard-action-btn:hover {
    background: var(--st-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.4);
}

.st-dashboard-action-btn-dark {
    background: var(--st-dark);
    border-color: var(--st-gray-600);
    box-shadow: none;
}

.st-dashboard-action-btn-dark:hover {
    border-color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

.st-dashboard-action-btn-danger {
    border-color: var(--st-error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.st-dashboard-action-btn-danger:hover {
    background: var(--st-error);
    border-color: var(--st-error);
}

.st-dashboard-action-btn-danger .st-action-icon {
    color: var(--st-error);
}

.st-dashboard-action-btn-danger:hover .st-action-icon {
    color: var(--st-white);
}

.st-action-icon {
    width: 18px;
    height: 18px;
    color: var(--st-primary);
    filter: drop-shadow(0 0 3px rgba(217, 43, 99, 0.5));
    transition: var(--st-transition);
}

.st-dashboard-action-btn:hover .st-action-icon {
    color: var(--st-white);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Logout Button */
.st-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--st-gray-400);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-logout-btn:hover {
    background: var(--st-error);
    border-color: var(--st-error);
    color: var(--st-white);
}

.st-logout-btn .st-action-icon {
    color: var(--st-gray-400);
    filter: none;
}

.st-logout-btn:hover .st-action-icon {
    color: var(--st-white);
}

/* ========== LIGHTBOX ========== */

.st-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.st-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--st-radius-sm);
    box-shadow: var(--st-shadow-lg);
}

.st-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    border-radius: 50%;
    color: var(--st-white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--st-transition);
    z-index: 10;
}

.st-lightbox-close:hover {
    background: var(--st-primary);
    border-color: var(--st-primary);
}

.st-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    border-radius: 50%;
    color: var(--st-white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--st-transition);
    z-index: 10;
}

.st-lightbox-nav:hover {
    background: var(--st-primary);
    border-color: var(--st-primary);
}

.st-lightbox-prev {
    left: 20px;
}

.st-lightbox-next {
    right: 20px;
}

.st-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--st-gray-800);
    padding: 8px 16px;
    border-radius: var(--st-radius-sm);
    color: var(--st-white);
    font-size: 0.9rem;
}

/* Gallery items clickable */
.st-lightbox-gallery .st-gallery-item {
    cursor: pointer;
}

/* ========== STATUS MESSAGES ========== */

.st-status {
    padding: 14px 16px;
    border-radius: var(--st-radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
    border: 1px solid;
}

.st-status-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--st-success);
    color: var(--st-success);
}

.st-status-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--st-error);
    color: var(--st-error);
}

.st-status-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--st-warning);
    color: var(--st-warning);
}

/* ========== FORM SECTIONS ========== */

.st-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--st-gray-900);
    border-radius: var(--st-radius-sm);
    border: 1px solid var(--st-gray-700);
}

.st-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--st-primary);
    display: inline-block;
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    color: var(--st-white);
}

/* Member section styling */
.st-member-section {
    background: linear-gradient(135deg, var(--st-gray-900) 0%, rgba(217, 43, 99, 0.05) 100%);
    border: 1px solid var(--st-gray-600);
}

.st-member-section h3 {
    color: var(--st-primary);
}

/* ========== FORM FIELDS ========== */

.st-field {
    margin-bottom: 18px;
}

.st-field:last-child {
    margin-bottom: 0;
}

.st-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--st-gray-200);
    font-family: var(--st-font-body);
}

.st-field input[type="text"],
.st-field input[type="email"],
.st-field input[type="tel"],
.st-field input[type="number"],
.st-field input[type="password"],
.st-field select,
.st-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-size: 16px;
    font-family: var(--st-font-body);
    background: var(--st-gray-800);
    color: var(--st-white);
    transition: var(--st-transition);
    -webkit-appearance: none;
    accent-color: var(--st-primary);
    /* Mobile keyboard: ensure focused input scrolls into view above keyboard */
    scroll-margin-top: 120px;
    scroll-margin-bottom: 120px;
}

.st-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d92b63'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

/* Select option styling - pink theme */
.st-field select option {
    background: var(--st-gray-800);
    color: var(--st-white);
    padding: 12px;
}

.st-field select option:hover,
.st-field select option:focus,
.st-field select option:checked {
    background: var(--st-primary) !important;
    background-color: var(--st-primary) !important;
    color: var(--st-white) !important;
}

/* For webkit browsers */
.st-field select:focus option:checked {
    background: linear-gradient(var(--st-primary), var(--st-primary)) !important;
}

/* Submit Button with Icon */
.st-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
    color: var(--st-white);
    border: none;
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.3);
}

.st-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(217, 43, 99, 0.4);
    background: linear-gradient(135deg, var(--st-primary-light) 0%, var(--st-primary) 100%);
}

.st-submit-btn:active {
    transform: translateY(0);
}

.st-submit-icon {
    width: 22px;
    height: 22px;
    color: var(--st-white);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.st-field textarea {
    resize: vertical;
    min-height: 100px;
}

.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus {
    outline: none;
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(217, 43, 99, 0.2);
}

.st-field input::placeholder,
.st-field textarea::placeholder {
    color: var(--st-gray-500);
}

.st-field small {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--st-gray-500);
}

/* Two-column grid */
.st-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Age range */
.st-age-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-age-range input {
    flex: 1;
    text-align: center;
}

.st-age-range span {
    font-weight: 600;
    color: var(--st-primary);
}

/* ========== CHECKBOXES & PILLS ========== */

.st-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.st-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--st-transition);
    color: var(--st-gray-300);
}

.st-checkbox:hover {
    border-color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

.st-checkbox input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--st-primary);
}

.st-checkbox input:checked + span {
    font-weight: 600;
    color: var(--st-primary);
}

.st-checkbox:has(input:checked) {
    border-color: var(--st-primary);
    background: rgba(217, 43, 99, 0.15);
}

/* Checkbox label variant */
.st-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--st-gray-300);
}

.st-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--st-primary);
}

/* ========== BUTTONS ========== */

.st-btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
    color: var(--st-white);
    border: none;
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(217, 43, 99, 0.3);
}

.st-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 43, 99, 0.4);
    background: linear-gradient(135deg, var(--st-primary-light) 0%, var(--st-primary) 100%);
}

.st-btn-primary:active {
    transform: translateY(0);
}

.st-btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: var(--st-primary);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-btn-secondary:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

.st-btn-dark {
    display: inline-block;
    padding: 14px 28px;
    background: var(--st-gray-800);
    color: var(--st-white);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-align: center;
}

.st-btn-dark:hover {
    border-color: var(--st-primary);
    color: var(--st-primary);
}

.st-btn-dashboard-black {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: var(--st-dark);
    color: var(--st-white);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-align: center;
}

.st-btn-dashboard-black:hover {
    border-color: var(--st-primary);
    color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

.st-btn-small {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
}

/* ========== PROFILE PHOTO UPLOAD ========== */

.st-profile-photo-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.st-profile-photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--st-gray-800);
    border: 3px solid var(--st-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--st-shadow-glow);
    position: relative;
}

.st-profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.st-profile-photo-placeholder {
    font-size: 2.5rem;
    color: var(--st-primary);
}

.st-profile-photo-actions {
    flex: 1;
}

.st-profile-photo-actions label {
    display: inline-block;
    padding: 12px 24px;
    background: var(--st-gray-800);
    color: var(--st-primary);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--st-transition);
}

.st-profile-photo-actions label:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

.st-profile-photo-actions input[type="file"] {
    display: none;
}

/* ========== GALLERY ========== */

.st-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.st-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--st-radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 2px solid var(--st-gray-600);
    transition: var(--st-transition);
}

.st-gallery-item:hover {
    border-color: var(--st-primary);
}

.st-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-gallery-add {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-gray-800);
    border: 2px dashed var(--st-gray-600);
    color: var(--st-gray-500);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--st-transition);
}
.st-gallery-drag-over {
    outline: 2px solid var(--st-primary);
    outline-offset: -2px;
    opacity: 0.7;
}
.st-gallery-existing[draggable="true"],
.st-gallery-new[draggable="true"] {
    cursor: grab;
}
.st-gallery-existing[draggable="true"]:active,
.st-gallery-new[draggable="true"]:active {
    cursor: grabbing;
}

.st-gallery-add:hover {
    border-color: var(--st-primary);
    color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

/* Gallery remove button */
.st-gallery-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--st-error);
    border-radius: 50%;
    color: var(--st-error);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--st-transition);
    z-index: 10;
    padding: 0;
}

.st-gallery-remove:hover {
    background: var(--st-error);
    color: var(--st-white);
    transform: scale(1.1);
}

/* Gallery existing photo container */
.st-gallery-existing {
    position: relative;
}

/* Profile photo upload styles */
.st-profile-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.st-profile-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--st-primary);
    background: var(--st-gray-800);
    position: relative;
}

.st-profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.st-profile-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--st-primary);
}

.st-profile-photo-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: var(--st-gray-900);
    border: 1.5px solid var(--st-primary);
    border-radius: 50%;
    color: var(--st-primary);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--st-transition);
    z-index: 10;
    padding: 0;
}

.st-profile-photo-remove:hover {
    background: var(--st-primary);
    color: var(--st-white);
    transform: scale(1.1);
}

.st-profile-photo-actions {
    text-align: center;
}

.st-photo-upload-label {
    display: inline-block;
    padding: 10px 20px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    color: var(--st-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--st-transition);
}

.st-photo-upload-label:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

.st-photo-upload-label input[type="file"] {
    display: none;
}

/* ========== PROFILE INFO SECTIONS ========== */

.st-info-grid {
    display: grid;
    gap: 16px;
}

.st-info-item {
    padding: 16px;
    background: var(--st-gray-800);
    border-radius: var(--st-radius-sm);
    border-left: 3px solid var(--st-primary);
}

.st-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--st-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.st-info-value {
    font-size: 1rem;
    color: var(--st-white);
}

/* Tag cloud for interests/kinks */
.st-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(217, 43, 99, 0.15);
    color: var(--st-primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--st-primary);
}

/* ========== MEMBER CARDS (Profile Display) ========== */

.st-members-grid {
    display: grid;
    gap: 16px;
    margin-top: 12px;
}

.st-member-card {
    padding: 20px;
    background: linear-gradient(135deg, var(--st-gray-800) 0%, var(--st-gray-900) 100%);
    border-radius: var(--st-radius-sm);
    border: 1px solid var(--st-gray-600);
}

.st-member-card h4 {
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    color: var(--st-primary);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-gray-600);
}

.st-member-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.st-member-stat {
    font-size: 0.85rem;
}

.st-member-stat-label {
    color: var(--st-gray-500);
    font-size: 0.75rem;
}

.st-member-stat-value {
    color: var(--st-white);
    font-weight: 500;
}

/* Bio text below member cards */
.st-bio-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--st-gray-700);
}

.st-bio-text p {
    color: var(--st-gray-300);
    line-height: 1.7;
    margin: 0;
}

/* ========== CONTACT BUTTONS ========== */

.st-contact-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.st-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    color: var(--st-white);
    text-decoration: none;
    transition: var(--st-transition);
}

.st-contact-btn:hover {
    border-color: var(--st-primary);
    background: rgba(217, 43, 99, 0.1);
}

.st-contact-btn svg,
.st-contact-btn-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    color: var(--st-primary);
}

.st-contact-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== QR CODE ========== */

.st-qr-section {
    text-align: center;
    padding: 24px;
    background: var(--st-white);
    border-radius: var(--st-radius-sm);
    margin-top: 16px;
}

.st-qr-code {
    display: inline-block;
    padding: 16px;
    background: var(--st-white);
    border-radius: var(--st-radius-sm);
    margin-bottom: 16px;
}

.st-qr-code img,
.st-qr-code svg {
    display: block;
    max-width: 180px;
}

.st-qr-section h3 {
    color: var(--st-dark) !important;
    margin-bottom: 8px;
}

.st-qr-section p {
    color: var(--st-gray-600) !important;
    font-size: 0.85rem;
}

/* QR code button styling */
.st-qr-section .st-btn-dark {
    background: var(--st-dark) !important;
    color: var(--st-white) !important;
}

/* ========== PROMO BANNER ========== */

.st-promo-banner {
    background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
    padding: 14px 16px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.st-promo-banner a {
    color: var(--st-white);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-promo-banner a:hover {
    opacity: 0.9;
}

.st-promo-banner-top {
    border-radius: var(--st-radius) var(--st-radius) 0 0;
    margin-bottom: 0;
}

.st-promo-banner-bottom {
    border-radius: 0 0 var(--st-radius) var(--st-radius);
    margin-top: 0;
}

/* ========== DASHBOARD TITLE ========== */

.st-dashboard-title {
    font-family: var(--st-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--st-white) !important;
    margin: 0 0 2px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ========== WELCOME TEXT ========== */

.st-welcome-text {
    font-family: var(--st-font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--st-gray-300) !important;
    margin: 0 0 4px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ========== VANITY URL EDITOR ========== */

.st-vanity-editor {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.st-vanity-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    padding: 0 14px;
    transition: var(--st-transition);
    overflow: hidden;
}

.st-vanity-input-wrap:focus-within {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(217, 43, 99, 0.2);
}

.st-vanity-prefix {
    color: var(--st-gray-400);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 2px;
}

.st-vanity-input-wrap input {
    border: none !important;
    box-shadow: none !important;
    padding: 12px 4px !important;
    font-size: 1rem;
    font-weight: 600;
    background: transparent !important;
    color: var(--st-white) !important;
    min-width: 0;
    flex: 1;
}

.st-vanity-label {
    display: block;
    font-weight: 600;
    color: var(--st-gray-200);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.st-vanity-input-wrap input::placeholder {
    color: var(--st-gray-500) !important;
    font-weight: 400;
}

.st-vanity-message {
    padding: 12px 16px;
    border-radius: var(--st-radius-sm);
    font-size: 0.85rem;
}

.st-vanity-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--st-success);
    border: 1px solid var(--st-success);
}

.st-vanity-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--st-error);
    border: 1px solid var(--st-error);
}

/* ========== COMMUNITY LINKS ========== */

.st-community-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.st-community-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--st-gray-800);
    border: 1px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    color: var(--st-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--st-transition);
}

.st-community-link:hover {
    border-color: var(--st-primary);
    color: var(--st-primary);
}

.st-community-link svg {
    width: 18px;
    height: 18px;
}

/* ========== AGE VERIFICATION GATE ========== */

.st-age-gate-overlay,
.st-underage-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.st-age-gate-modal,
.st-underage-modal {
    background: linear-gradient(180deg, var(--st-gray-900) 0%, var(--st-dark) 100%);
    border-radius: var(--st-radius);
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--st-shadow-lg);
    border: 1px solid var(--st-gray-700);
}

.st-age-gate-icon,
.st-underage-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.st-age-gate-modal h2,
.st-underage-modal h2 {
    font-family: var(--st-font-display);
    margin: 0 0 12px;
    font-size: 1.5rem;
    color: var(--st-white);
}

.st-age-gate-modal p,
.st-underage-modal p {
    margin: 0 0 20px;
    color: var(--st-gray-300);
    font-size: 0.95rem;
}

.st-age-gate-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--st-gray-200);
}

.st-dob-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.st-dob-inputs select {
    flex: 1;
    padding: 12px;
    background: var(--st-gray-800);
    border: 2px solid var(--st-gray-600);
    color: var(--st-white);
    border-radius: var(--st-radius-sm);
    font-size: 14px;
    accent-color: var(--st-primary);
}

.st-dob-inputs select option {
    background: var(--st-gray-800);
    color: var(--st-white);
}

.st-dob-inputs select:focus {
    border-color: var(--st-primary);
    outline: none;
}

.st-age-verify-btn {
    width: 100%;
    margin-bottom: 16px;
}

.st-age-gate-disclaimer {
    font-size: 0.75rem;
    color: var(--st-gray-500);
    line-height: 1.5;
}

.st-age-gate-disclaimer a {
    color: var(--st-primary);
    text-decoration: none;
}

/* ========== AFFILIATE DASHBOARD ========== */

.st-affiliate-login,
.st-affiliate-dashboard {
    padding: 10px 0;
}

.st-affiliate-login h2,
.st-affiliate-dashboard h2 {
    font-family: var(--st-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 8px;
    text-align: center;
    color: var(--st-white);
}

.st-affiliate-dashboard h3 {
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--st-white);
    border-bottom: 2px solid var(--st-primary);
    padding-bottom: 8px;
    display: inline-block;
}

/* Stats Grid */
.st-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.st-stat-card {
    background: var(--st-gray-800);
    border-radius: var(--st-radius-sm);
    padding: 16px 12px;
    text-align: center;
    border: 1px solid var(--st-gray-600);
}

.st-stat-card.st-stat-highlight {
    background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
    border-color: transparent;
}

.st-stat-value {
    font-family: var(--st-font-heading);
    font-size: 1.5rem;
    color: var(--st-white);
    line-height: 1.2;
}

.st-stat-label {
    font-size: 0.7rem;
    color: var(--st-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

.st-stat-highlight .st-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Link Box */
.st-link-box {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.st-link-box input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-size: 0.85rem;
    background: var(--st-gray-800);
    color: var(--st-primary);
    cursor: pointer;
    font-family: monospace;
}

/* Conversion List */
.st-conversion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-conversion-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--st-gray-800);
    border-radius: var(--st-radius-sm);
    border: 1px solid var(--st-gray-600);
}

.st-conversion-date {
    font-size: 0.8rem;
    color: var(--st-gray-500);
    width: 100%;
}

.st-conversion-commission {
    font-weight: 700;
    color: var(--st-success);
}

/* Badges */
.st-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--st-radius-xs);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--st-success);
}

.st-badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--st-warning);
}

/* Logout Button */
.st-btn-logout-prominent {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--st-gray-400);
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
}

.st-btn-logout-prominent:hover {
    background: var(--st-error);
    border-color: var(--st-error);
    color: var(--st-white);
}

/* Form Actions (Login/Submit buttons) */
.st-actions {
    margin-top: 25px;
    padding-top: 10px;
}

/* ========== AFFILIATE SIGNUP ========== */

.st-affiliate-signup {
    padding: 10px 0;
}

.st-affiliate-signup h2 {
    font-family: var(--st-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 8px;
    text-align: center;
    color: var(--st-white);
}

.st-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.st-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--st-gray-300);
}

.st-form-group label .required {
    color: var(--st-primary);
}

.st-form-group input[type="text"],
.st-form-group input[type="email"],
.st-form-group input[type="tel"],
.st-form-group input[type="password"],
.st-form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--st-gray-600);
    border-radius: var(--st-radius-sm);
    font-size: 1rem;
    background: var(--st-gray-800);
    color: var(--st-white);
    font-family: var(--st-font-body);
    transition: var(--st-transition);
}

.st-form-group input:focus,
.st-form-group textarea:focus {
    outline: none;
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(217, 43, 99, 0.2);
}

.st-form-group input::placeholder,
.st-form-group textarea::placeholder {
    color: var(--st-gray-500);
}

.st-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.st-field-hint {
    font-size: 0.8rem;
    color: var(--st-gray-500);
}

.st-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--st-gray-300);
}

.st-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--st-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.st-checkbox-label a {
    color: var(--st-primary);
    text-decoration: underline;
}

.st-form-actions {
    margin-top: 10px;
}

.st-form-actions button {
    width: 100%;
}

/* Messages */
.st-message {
    padding: 16px;
    border-radius: var(--st-radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.st-message-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--st-success);
    color: var(--st-success);
}

.st-message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--st-error);
    color: var(--st-error);
}

.st-message-info {
    background: rgba(217, 43, 99, 0.1);
    border: 1px solid var(--st-primary);
    color: var(--st-gray-200);
}

/* ========== SAVE MODAL ========== */

.st-save-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.st-save-modal {
    text-align: center;
    padding: 40px;
}

.st-save-spinner {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    animation: stSaveSpinIn 0.4s ease;
}

.st-save-ring {
    width: 100%;
    height: 100%;
    animation: stSaveSpin 1s linear infinite;
}

.st-save-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    animation: stSavePopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.st-save-check-svg {
    width: 100%;
    height: 100%;
}

.st-save-check-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: stSaveCheckDraw 0.5s ease forwards 0.1s;
}

.st-save-text {
    font-family: var(--st-font-display);
    font-size: 1.2rem;
    color: var(--st-white);
    letter-spacing: 0.03em;
    margin: 0;
    animation: stSaveTextIn 0.4s ease 0.1s both;
}

@keyframes stSaveSpin {
    to { transform: rotate(360deg); }
}

@keyframes stSaveSpinIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes stSavePopIn {
    from { opacity: 0; transform: scale(0.3); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes stSaveCheckDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes stSaveTextIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== HIDDEN UTILITY ========== */

.st-hidden {
    display: none !important;
}

/* ========== EXPIRED PROFILE ========== */

.st-profile-expired {
    text-align: center;
    padding: 60px 20px;
    color: var(--st-gray-400);
}

.st-expired-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.st-profile-expired h2 {
    color: var(--st-white);
    margin-bottom: 12px;
}

/* ========== ACCORDION ========== */

.st-accordion {
    margin-top: 20px;
    background: var(--st-gray-900);
    border-radius: var(--st-radius-sm);
    border: 1px solid var(--st-gray-700);
    border-left: 3px solid var(--st-primary);
    overflow: hidden;
}

.st-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}

.st-accordion-header:hover {
    background: rgba(217, 43, 99, 0.05);
}

.st-accordion-header::-webkit-details-marker {
    display: none;
}

.st-accordion-title {
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st-white);
    letter-spacing: 0.02em;
}

.st-accordion-chevron {
    color: var(--st-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.st-accordion[open] > .st-accordion-header .st-accordion-chevron {
    transform: rotate(180deg);
}

.st-accordion-body {
    padding: 0 20px 20px;
}

/* ========== RESPONSIVE ========== */

@media (min-width: 600px) {
    .st-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-conversion-item {
        flex-wrap: nowrap;
    }

    .st-conversion-date {
        width: auto;
        min-width: 100px;
    }
}

/* ========== ANIMATIONS ========== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(217, 43, 99, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(217, 43, 99, 0.5);
    }
}

.st-animate-fade {
    animation: fadeIn 0.5s ease-out;
}

.st-animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.st-animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ========== PROFILE EDITOR FIXES ========== */

/* Ensure all form labels are visible */
.swingtap-container .st-field label,
.swingtap-form label,
.swingtap-container label {
    color: var(--st-gray-200) !important;
}

/* Section headers always white */
.swingtap-container .st-section h3 {
    color: var(--st-white) !important;
}

/* Form input text visibility */
.swingtap-container input,
.swingtap-container select,
.swingtap-container textarea {
    color: var(--st-white) !important;
    background-color: var(--st-gray-800) !important;
}

/* Helper text visibility */
.swingtap-container small,
.swingtap-container .st-helper {
    color: var(--st-gray-400) !important;
}

/* Checkbox labels */
.swingtap-container .st-checkbox span,
.swingtap-container .st-checkbox-label {
    color: var(--st-gray-300) !important;
}

/* Member section headers - pink accent */
.st-member-section h3 {
    color: var(--st-primary) !important;
}

/* Stats section in dashboard */
.st-stat-label {
    color: var(--st-gray-400) !important;
}

.st-stat-value {
    color: var(--st-white) !important;
}

/* Mobile optimization for Connect buttons */
@media (max-width: 480px) {
    .st-connect-buttons-section {
        flex-direction: column;
        gap: 10px;
        padding: 0 16px 20px;
    }
    
    .st-connect-btn {
        width: 100%;
        justify-content: center;
    }
    
    .st-profile-badge {
        width: 95%;
        max-width: 340px;
        top: 36px;
    }
    
    .st-profile-photo {
        width: 195px;
        height: 195px;
    }
    
    .st-badge-container {
        padding: 56px 12px 20px;
    }
    
    .st-profile-name-section {
        padding: 20px 12px 40px;
    }
    
    .st-owner-toolbar {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .st-owner-btn {
        justify-content: center;
    }

    /* Dashboard mobile optimizations */
    .swingtap-container h2 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .swingtap-container {
        padding: 20px 10px 16px;
    }

    .st-section {
        padding: 12px;
    }

    .st-accordion-body {
        padding: 0 12px 12px;
    }

    .st-accordion-header {
        padding: 14px 12px;
    }

    /* Vanity editor stacks on narrow screens */
    .st-vanity-editor {
        flex-direction: column;
    }

    .st-vanity-prefix {
        font-size: 0.7rem;
    }

    /* Dashboard title scaled for mobile */
    .st-dashboard-title {
        font-size: 1.6rem;
    }

    /* Welcome text scaled for mobile */
    .st-welcome-text {
        font-size: 1.35rem;
    }
}

/* Ensure badge doesn't overflow container */
.swingtap-container {
    overflow: visible;
}

.st-profile-content {
    overflow: visible;
}

/* Loading optimization */
.swingtap-container img {
    content-visibility: auto;
}

/* Badges */
.st-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.st-badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--st-success);
}

.st-badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--st-warning);
}

.st-badge-error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--st-error);
}

/* ========== TEXT COLOR UTILITIES ========== */

.st-text-success {
    color: var(--st-success);
}

.st-text-warning {
    color: var(--st-warning);
}

.st-text-error {
    color: var(--st-error);
}

/* ========== EARNINGS BREAKDOWN (template) ========== */

.st-earnings-breakdown {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--st-gray-700);
}

.st-earning-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--st-gray-800);
    border-radius: var(--st-radius-xs);
    border: 1px solid var(--st-gray-700);
    color: var(--st-gray-200);
    font-size: 0.9rem;
}

/* ========== AFFILIATE DASHBOARD (shortcode) ========== */

/* Outline button (used in affiliate dashboard) */
.st-btn-outline {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--st-primary);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--st-transition);
    text-align: center;
}

.st-btn-outline:hover {
    background: var(--st-primary);
    color: var(--st-white);
}

/* Account summary grid */
.st-account-summary {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
}

.st-account-row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--st-gray-700);
    color: var(--st-gray-200);
}

.st-account-row:last-child {
    border-bottom: none;
}

.st-account-row strong {
    min-width: 90px;
    color: var(--st-gray-400);
    font-weight: 600;
}

/* QR code section */
.st-qr-section {
    text-align: center;
    margin-bottom: 16px;
}

.st-qr-image {
    width: 180px;
    height: 180px;
    border-radius: var(--st-radius-sm);
    box-shadow: 0 2px 12px rgba(217, 43, 99, 0.2);
}

/* Month filter */
.st-month-filter {
    padding: 12px 16px;
}

.st-month-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.st-month-filter-form label {
    font-weight: 600;
    color: var(--st-gray-200);
}

.st-month-select {
    padding: 10px 40px 10px 14px;
    border-radius: var(--st-radius-xs);
    border: 2px solid var(--st-gray-600);
    background: var(--st-gray-800);
    color: var(--st-white);
    font-family: var(--st-font-body);
    font-size: 16px;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d92b63'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

.st-month-select option {
    background: var(--st-gray-800);
    color: var(--st-white);
}

/* Earnings breakdown */
.st-earnings-list {
    display: grid;
    gap: 8px;
}

.st-earnings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: var(--st-gray-800);
    border-radius: var(--st-radius-xs);
    border: 1px solid var(--st-gray-700);
    color: var(--st-gray-200);
}

.st-earnings-amount {
    color: var(--st-success);
}

/* Profile form grid */
.st-form-grid {
    display: grid;
    gap: 15px;
}

/* Referral slug input row */
.st-ref-slug-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.st-ref-prefix {
    color: var(--st-gray-400);
    font-size: 0.9rem;
    white-space: nowrap;
}

.st-ref-slug-row input {
    flex: 1;
}

/* Password section divider */
.st-password-section {
    border-top: 1px solid var(--st-gray-700);
    padding-top: 15px;
    margin-top: 10px;
}

.st-password-section h4 {
    margin: 0 0 10px 0;
    color: var(--st-white);
    font-family: var(--st-font-body);
}

.st-password-section > small {
    color: var(--st-gray-400);
    display: block;
    margin-bottom: 15px;
}

/* Form action buttons row */
.st-form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Affiliate dashboard wrapper */
.st-affiliate-dashboard h2 {
    color: var(--st-white);
    font-family: var(--st-font-display);
}

/* Readonly inputs slightly dimmer */
.swingtap-container input[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========== AFFILIATE MOBILE RESPONSIVE ========== */

@media (max-width: 480px) {
    .st-account-row {
        flex-direction: column;
        gap: 2px;
    }

    .st-account-row strong {
        min-width: unset;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .st-month-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .st-month-select {
        width: 100%;
    }

    .st-form-actions {
        flex-direction: column;
    }

    .st-form-actions .st-btn-outline,
    .st-form-actions .st-btn-primary {
        width: 100%;
        text-align: center;
    }

    .st-ref-slug-row {
        flex-direction: column;
        align-items: stretch;
    }

    .st-ref-prefix {
        font-size: 0.8rem;
    }

    .st-qr-image {
        width: 150px;
        height: 150px;
    }

    .st-link-box input {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .st-earnings-row {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

.st-badge-secondary {
    background: rgba(107, 107, 107, 0.2);
    color: var(--st-gray-400);
}

/* ========== APPLE WALLET BUTTON ========== */

.st-apple-wallet-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 0 16px;
}

.st-apple-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--st-font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--st-transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.st-apple-wallet-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

.st-apple-wallet-btn:active {
    transform: translateY(0);
}

.st-wallet-apple-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Wallet Modal Styles */
.st-wallet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.st-wallet-modal.active {
    display: flex;
}

.st-wallet-modal-content {
    background: var(--st-gray-900);
    border-radius: var(--st-radius);
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: var(--st-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.st-wallet-modal-content h3 {
    font-family: var(--st-font-display);
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: var(--st-white);
}

.st-wallet-modal-content > p {
    color: var(--st-gray-400);
    margin: 0 0 25px;
    font-size: 0.95rem;
}

.st-wallet-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--st-gray-400);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.st-wallet-modal-close:hover {
    color: var(--st-white);
}

.st-wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-wallet-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--st-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--st-gray-800);
    color: var(--st-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--st-transition);
}

.st-wallet-btn:hover {
    background: var(--st-gray-700);
    border-color: var(--st-primary);
}

.st-wallet-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.st-wallet-apple {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.st-wallet-apple:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #111 100%);
}

.st-wallet-google {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    border-color: transparent;
}

.st-wallet-google:hover {
    background: linear-gradient(135deg, #5a9eff 0%, #4db366 100%);
    border-color: transparent;
}

.st-wallet-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(217, 43, 99, 0.1);
    border-radius: var(--st-radius-sm);
    border-left: 3px solid var(--st-primary);
}

.st-wallet-note {
    color: var(--st-gray-300);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.st-wallet-note strong {
    color: var(--st-primary);
    display: block;
    margin-bottom: 8px;
}

/* QR Section Wallet Button */
.st-qr-section .st-btn-wallet {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.st-qr-section .st-btn-wallet:hover {
    background: #1a1a1a;
    border-color: var(--st-primary);
}

/* ========== WALLET PASS PREVIEW (matches actual Apple Wallet generic pass) ========== */

.st-wallet-pass-preview {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.st-wallet-pass {
    width: 280px;
    background: #0a0a0a;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    font-family: var(--st-font-body);
    position: relative;
    overflow: hidden;
}

/* Subtle pink gradient at top like the strip image */
.st-wallet-pass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(217, 43, 99, 0.12) 0%, transparent 100%);
    pointer-events: none;
}

/* Top row: Logo left, Access right */
.st-wallet-pass-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.st-wallet-pass-logo {
    font-family: var(--st-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--st-white);
    letter-spacing: 0.5px;
}

.st-wallet-pass-logo-img {
    max-height: 30px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.st-wallet-pass-access {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.st-wallet-pass-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--st-primary);
    margin-bottom: 2px;
}

.st-wallet-pass-value-sm {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-white);
}

/* Primary field: MEMBER + name */
.st-wallet-pass-primary {
    margin-bottom: 18px;
}

.st-wallet-pass-name {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--st-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Secondary: Type + Location side by side */
.st-wallet-pass-secondary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.st-wallet-pass-secondary > div {
    display: flex;
    flex-direction: column;
}

/* Auxiliary text */
.st-wallet-pass-aux {
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--st-gray-400);
    margin-bottom: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--st-gray-800);
}

/* QR code area */
.st-wallet-pass-qr {
    text-align: center;
}

/* Actual QR code image in wallet preview */
.st-wallet-pass-qr-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(217, 43, 99, 0.2);
}


.st-wallet-hint {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--st-gray-400);
    line-height: 1.5;
}

/* Profile page wallet section (compact for owners) */
.st-apple-wallet-section {
    padding: 16px;
    text-align: center;
}

.st-apple-wallet-section .st-apple-wallet-btn {
    margin-bottom: 8px;
}

.st-apple-wallet-section .st-wallet-owner-hint {
    font-size: 0.8rem;
    color: var(--st-gray-500);
    margin: 0;
}

/* ========== PARTNER ACCESS ========== */

.st-partner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.st-partner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--st-gray-800);
    border: 1px solid var(--st-gray-700);
    border-radius: var(--st-radius-sm);
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
}

.st-partner-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.st-partner-email {
    color: var(--st-white);
    font-size: 0.9rem;
    word-break: break-all;
}

.st-partner-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.st-partner-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--st-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.st-partner-status-active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--st-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.st-partner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.st-partner-invite-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.st-partner-invite-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--st-gray-800);
    border: 1px solid var(--st-gray-700);
    border-radius: var(--st-radius-xs);
    color: var(--st-white);
    font-size: 0.9rem;
    font-family: var(--st-font-body);
}

.st-partner-invite-input:focus {
    outline: none;
    border-color: var(--st-primary);
}

.st-btn-danger {
    background: transparent;
    color: var(--st-error);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 12px;
    border-radius: var(--st-radius-xs);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--st-font-body);
    transition: var(--st-transition);
}

.st-btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--st-error);
}

@media (max-width: 480px) {
    .st-partner-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .st-partner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .st-partner-invite-row {
        flex-direction: column;
    }
}

/* ========== OWNER NAV LOGOUT ========== */

.st-owner-nav-logout {
    color: var(--st-gray-400) !important;
    border-color: var(--st-gray-600) !important;
    background: transparent !important;
}

.st-owner-nav-logout:hover {
    color: #ef4444 !important;
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

/* ========== AFFILIATE CTA ========== */

.st-affiliate-cta {
    text-align: center;
    padding: 32px 20px;
    margin-top: 24px;
    background: var(--st-gray-900);
    border-top: 1px solid var(--st-gray-700);
}

.st-affiliate-cta p {
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    color: var(--st-gray-300);
    margin: 0 0 16px;
}

.st-affiliate-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
    color: var(--st-white);
    border-radius: var(--st-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--st-transition);
    box-shadow: 0 4px 15px rgba(217, 43, 99, 0.3);
}

.st-affiliate-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 43, 99, 0.4);
    background: linear-gradient(135deg, var(--st-primary-light) 0%, var(--st-primary) 100%);
    color: var(--st-white);
}

/* ========== GOOGLE WALLET ========== */

.st-google-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--st-font-body);
    cursor: pointer;
    text-decoration: none;
    transition: var(--st-transition);
}

.st-google-wallet-btn:hover {
    background: #1557b0;
    color: #fff;
    text-decoration: none;
}

.st-google-wallet-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Wallet buttons section on profile page (owner-only) */
.st-wallet-buttons-section {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 16px;
    margin-bottom: 12px;
}

.st-wallet-buttons-section .st-apple-wallet-btn,
.st-wallet-buttons-section .st-google-wallet-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

@media (max-width: 480px) {
    .st-wallet-buttons-section {
        flex-direction: column;
        align-items: stretch;
    }
    .st-wallet-buttons-section .st-apple-wallet-btn,
    .st-wallet-buttons-section .st-google-wallet-btn {
        justify-content: center;
        text-align: center;
    }
}
