/* Modern Application Styles for ShoutCard */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    --info-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --purple-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --secondary-bg: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    --orange-gradient: linear-gradient(135deg, #ff9a56 0%, #ff6b9d 100%);
    
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.4s ease;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
}

.brand-icon {
    font-size: 1.8rem;
}

.brand-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

/* User Navigation Styling */
.user-name {
    font-weight: 600;
    color: var(--text-primary) !important;
    cursor: default;
}

.logout-link {
    color: #dc3545 !important;
    font-weight: 500;
}

.logout-link:hover {
    color: #c82333 !important;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: var(--border-radius-sm);
}

/* User Avatar Styling */
.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 9999 !important;
    position: absolute !important;
}

/* Ensure Bootstrap dropdowns always appear on top */
.dropdown-menu.show {
    z-index: 9999 !important;
}

/* Fix navbar dropdown specifically */
.navbar .dropdown-menu {
    z-index: 9999 !important;
}

/* Fix all dropdowns globally */
.dropdown, .dropup, .dropend, .dropstart {
    z-index: 9999 !important;
}

/* Ensure navbar itself has proper stacking */
.navbar {
    z-index: 1030 !important;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Account Page Styling */
.profile-picture-large {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-placeholder-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-picture-section {
    text-align: center;
}

.stat-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 1rem;
}

.stat-icon {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.security-item {
    padding: 1rem 0;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 8px 20px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Auth Section Styles */
.auth-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.auth-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8e44ad 100%);
    background-size: 200% 200%;
    animation: authGradientShift 12s ease-in-out infinite;
    opacity: 0.05;
}

@keyframes authGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.auth-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.03) 2%, transparent 2%),
                      radial-gradient(circle at 75% 75%, rgba(102, 126, 234, 0.03) 2%, transparent 2%);
    background-size: 40px 40px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-brand-icon {
    margin-bottom: 1.5rem;
}

.brand-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.modern-input {
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: var(--transition-normal);
    width: 100%;
}

.modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.modern-input::placeholder {
    color: var(--text-muted);
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.btn-auth-primary {
    width: 100%;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-content {
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-auth-primary:hover .btn-shine {
    left: 100%;
}

.auth-features {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.auth-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-features .feature-item:last-child {
    margin-bottom: 0;
}

.auth-footer {
    text-align: center;
}

.auth-divider {
    position: relative;
    margin: 2rem 0 1.5rem;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.auth-link-text {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.auth-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dashboard-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.dashboard-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.03;
    pointer-events: none;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dashboard-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-dashboard-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 12px 24px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.btn-dashboard-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-dashboard-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-dashboard-secondary:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    color: var(--text-primary);
}

.dropdown-menu-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.dropdown-menu-modern .dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.dropdown-menu-modern .dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.modern-stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.modern-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Interactive Stats Cards */
.interactive-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.interactive-card:active {
    transform: translateY(-5px) scale(1.01);
}

/* Stat Card Links */
.stat-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.stat-card-link:hover,
.stat-card-link:focus,
.stat-card-link:active {
    text-decoration: none !important;
    color: inherit !important;
    transform: translateY(-3px);
}

.stat-card-link .modern-stat-card {
    margin: 0;
    pointer-events: none;
}

.stat-card-link:hover .modern-stat-card {
    transform: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.stat-card-link * {
    pointer-events: none;
}

/* Enhanced Stat Card Content */
.stat-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-details {
    text-align: left;
    flex: 1;
}

/* Stat Actions */
.stat-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.modern-stat-card:hover .stat-actions {
    opacity: 1;
}

.stat-action-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.stat-action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.stat-info-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Stat Numbers */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333 !important;
    margin-bottom: 0.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.stat-label {
    font-size: 1rem;
    color: #333 !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Enhanced Trend Indicators */
.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-trend i {
    font-size: 1rem;
}

/* Counter Animation */
.counter {
    transition: all 0.6s ease-out;
}

/* Metric-specific hover effects */
.interactive-card[data-metric="campaigns"]:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.interactive-card[data-metric="cards"]:hover {
    border-color: var(--success-color);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

.interactive-card[data-metric="clicks"]:hover {
    border-color: var(--warning-color);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.interactive-card[data-metric="conversions"]:hover {
    border-color: var(--info-color);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.interactive-card[data-metric="rate"]:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.interactive-card[data-metric="revenue"]:hover {
    border-color: #f97316;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

.stat-card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.stat-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: var(--border-radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-stat-card:hover .stat-glow {
    opacity: 0.3;
}

/* Background gradient classes for stat icons */
.bg-gradient-primary { background: var(--primary-gradient); }
.bg-gradient-success { background: var(--success-gradient); }
.bg-gradient-warning { background: var(--warning-gradient); }
.bg-gradient-info { background: var(--info-gradient); }
.bg-gradient-purple { background: var(--purple-gradient); }
.bg-gradient-orange { background: var(--orange-gradient); }

.stat-glow.primary { background: var(--primary-gradient); }
.stat-glow.success { background: var(--success-gradient); }
.stat-glow.warning { background: var(--warning-gradient); }
.stat-glow.info { background: var(--info-gradient); }
.stat-glow.purple { background: var(--purple-gradient); }
.stat-glow.orange { background: var(--orange-gradient); }

.stat-details {
    flex: 1;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* Cards and Content */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: rgba(248, 250, 252, 0.5);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

/* Modern Referral Card Preview Styles */
.preview-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.referral-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.referral-card-modern:hover {
    transform: translateY(-5px);
}

.referral-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(234, 102, 164, 0.1) 100%);
    opacity: 0.6;
    border-radius: 20px;
}

.referral-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.business-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.business-avatar-glow {
    position: relative;
}

.business-avatar-modern {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.business-details {
    flex: 1;
}

.business-name-preview {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.business-tag {
    font-size: 0.8rem;
    color: #666;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-top: 0.2rem;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #22c55e;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.offer-section-modern {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.offer-badge-container {
    margin-bottom: 1rem;
}

.offer-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--warning-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.offer-title-preview {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 280px;
    margin: 0 auto;
}

.qr-section-modern {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.qr-code-container {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.scan-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.share-section-modern {
    position: relative;
    z-index: 2;
}

.share-buttons-preview {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.share-btn-preview {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-btn-preview.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn-preview.copy {
    background: var(--info-gradient);
}

.share-btn-preview.email {
    background: var(--warning-gradient);
}

.share-btn-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating Animation Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.floating-circle, .floating-triangle, .floating-square {
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-circle {
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #764ba2;
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.floating-square {
    width: 15px;
    height: 15px;
    background: var(--warning-gradient);
    border-radius: 3px;
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-5px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.table thead th {
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
}

.table tbody td {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
}

.bg-success {
    background: var(--success-gradient) !important;
}

.bg-warning {
    background: var(--warning-gradient) !important;
}

.bg-info {
    background: var(--info-gradient) !important;
}

.bg-primary {
    background: var(--primary-gradient) !important;
}

.bg-gradient-purple {
    background: var(--purple-gradient) !important;
}

.bg-gradient-orange {
    background: var(--orange-gradient) !important;
}

.bg-gradient-success {
    background: var(--success-gradient) !important;
}

.bg-gradient-warning {
    background: var(--warning-gradient) !important;
}

.bg-gradient-info {
    background: var(--info-gradient) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .quick-actions {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-stat-card {
        padding: 1.5rem;
    }
    
    .stat-card-content {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .brand-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .dashboard-header {
        padding: 1rem;
    }
    
    .welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-dashboard-primary,
    .btn-dashboard-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.slide-up {
    animation: slideUp 0.3s ease;
}

/* Utility Classes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-soft {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.border-gradient {
    border: 1px solid;
    border-image: var(--primary-gradient) 1;
}

/* Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* Client Landing Pages Styles */

/* Claim Offer Page */
.claim-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.claim-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.claim-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: claimGradientShift 15s ease-in-out infinite;
    opacity: 0.95;
}

@keyframes claimGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.claim-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 2%, transparent 2%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 2%, transparent 2%),
                      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 2%, transparent 2%);
    background-size: 60px 60px;
    animation: claimPatternMove 40s linear infinite;
}

@keyframes claimPatternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.claim-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.claim-card-inner {
    padding: 3rem;
}

.claim-header {
    text-align: center;
    margin-bottom: 3rem;
}

.claim-icon-wrapper {
    margin-bottom: 2rem;
}

.claim-icon {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-pulse {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: iconPulseEffect 2s ease-in-out infinite;
}

@keyframes iconPulseEffect {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.claim-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.claim-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Success Page */
.success-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.success-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.success-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    background-size: 200% 200%;
    animation: successGradientShift 12s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes successGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.success-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2%, transparent 2%),
                      radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 2%, transparent 2%);
    background-size: 50px 50px;
    animation: successPatternMove 25s linear infinite;
}

@keyframes successPatternMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.success-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.success-card-inner {
    padding: 3rem;
    text-align: center;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-checkmark {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    background: rgba(26, 32, 44, 0.8);
    border: 3px solid rgba(26, 32, 44, 0.9);
    box-shadow: 0 8px 32px rgba(26, 32, 44, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: successCheckmarkBounce 1s ease-out;
}

@keyframes successCheckmarkBounce {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.checkmark-pulse {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: checkmarkPulseEffect 2s ease-in-out infinite;
}

@keyframes checkmarkPulseEffect {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.4; }
}

/* Referral Card Page */
.referral-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.referral-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.referral-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 70%, #f5576c 100%);
    background-size: 300% 300%;
    animation: referralGradientShift 20s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes referralGradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.referral-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08) 2%, transparent 2%),
                      radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 2%, transparent 2%),
                      radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.03) 2%, transparent 2%);
    background-size: 70px 70px;
    animation: referralPatternMove 35s linear infinite;
}

@keyframes referralPatternMove {
    0% { background-position: 0 0; }
    100% { background-position: 70px 70px; }
}

.referral-card-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.referral-card-inner {
    padding: 3rem;
    text-align: center;
    position: relative;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 30px;
    height: 30px;
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Form Enhancements */
.modern-form-group {
    margin-bottom: 2rem;
}

.modern-form-label {
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modern-form-control {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    color: white;
    font-size: 1.1rem;
    padding: 15px 20px;
    transition: var(--transition-normal);
}

.modern-form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.modern-form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    color: white;
}

/* Modern Buttons */
.btn-modern-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white !important;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    color: white !important;
}

.btn-modern-primary:focus,
.btn-modern-primary:active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-modern-secondary {
    background: rgba(26, 32, 44, 0.8);
    border: 2px solid rgba(26, 32, 44, 0.9);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.btn-modern-secondary:hover {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(26, 32, 44, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 32, 44, 0.4);
}

/* Text Styles for Client Pages - Enhanced Readability */
.client-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.client-subtitle {
    font-size: 1.3rem;
    color: #2d3748 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-weight: 600;
}

.client-text {
    color: #2d3748 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    font-weight: 500;
}

.client-highlight {
    background: rgba(26, 32, 44, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: #1a202c !important;
    border: 1px solid rgba(26, 32, 44, 0.2);
}

/* Success page icon styling for visibility */
.success-checkmark i {
    color: white !important;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.step-icon i {
    color: white !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.trust-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design for Client Pages */
@media (max-width: 768px) {
    .claim-card-inner,
    .success-card-inner,
    .referral-card-inner {
        padding: 2rem 1.5rem;
    }
    
    .claim-title,
    .client-title {
        font-size: 2rem;
    }
    
    .claim-subtitle,
    .client-subtitle {
        font-size: 1.1rem;
    }
    
    .claim-icon,
    .success-checkmark {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
    
    .btn-modern-primary {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 576px) {
    .claim-card-inner,
    .success-card-inner,
    .referral-card-inner {
        padding: 1.5rem 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .trust-item i {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .share-btn {
        padding: 15px 10px;
        min-height: 70px;
        font-size: 0.8rem;
    }
}

/* Additional Client Page Components */

/* Referrer Avatar */
.referrer-avatar {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-circle {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.avatar-initial {
    position: relative;
    z-index: 2;
}

.avatar-glow-effect {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Offer Showcase */
.offer-showcase {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.offer-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.business-info {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Primary CTA */
.primary-cta {
    text-align: center;
    margin-bottom: 3rem;
}

.primary-cta .btn-modern-primary {
    font-size: 1.3rem;
    padding: 18px 50px;
    border-radius: var(--border-radius-lg);
}

/* Share Section */
.share-section {
    margin-bottom: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.share-label {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.share-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 12px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: visible;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-btn:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.share-btn i {
    font-size: 1.6rem;
    opacity: 0.9;
}

.share-btn span {
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.share-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.share-btn.sms:hover {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
}

.share-btn.email:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.share-btn.copy:hover {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.4);
}

/* Stats Display */
.stats-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(15px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Wallet Section */
.wallet-section {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.wallet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wallet-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Form Agreement and Submit Sections */
.form-agreement {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
}

.form-submit {
    text-align: center;
    margin-top: 2.5rem;
}

.form-submit .btn-modern-primary {
    min-width: 280px;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 800;
    position: relative;
}

.form-submit .btn-modern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: inherit;
    transition: all 0.3s ease;
}

.form-submit .btn-modern-primary:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

/* Ensure button text is always visible */
.btn-modern-primary * {
    position: relative;
    z-index: 2;
    color: white !important;
}

.form-check-input {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 20px;
    height: 20px;
}

.form-check-input:checked {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.form-check-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Success Page Specific Styles */
.offer-summary {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
}

.next-steps {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 32, 44, 0.8);
    border: 2px solid rgba(26, 32, 44, 0.9);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.thank-referrer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
}

.thank-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* JavaScript Functions */
.copy-feedback {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    z-index: 1000;
    animation: slideUpFade 3s ease-in-out;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    10%, 90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* Home Page Hero Referral Card Preview */
.hero-image {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Home Page Compact Card Container */
.home-card-container {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
}

/* Home Page Card Preview - Compact Design */
.social-referral-card.home-preview {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(240, 248, 255, 0.9) 25%, 
        rgba(248, 250, 255, 0.9) 75%, 
        rgba(118, 75, 162, 0.15) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatCardEnhanced 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes floatCardEnhanced {
    0%, 100% { 
        transform: translateY(0px); 
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.12),
            0 8px 32px rgba(0, 0, 0, 0.08),
            0 0 0 rgba(102, 126, 234, 0);
    }
    50% { 
        transform: translateY(-12px); 
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.15),
            0 15px 45px rgba(0, 0, 0, 0.12),
            0 0 25px rgba(102, 126, 234, 0.15);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.social-referral-card.home-preview:hover {
    transform: translateY(-8px) scale(1.02);
    animation-play-state: paused;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.18),
        0 15px 45px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Home Page Card Sections - Match Referral Card Design */
.social-referral-card.home-preview .main-offer-section {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.12), 
        rgba(118, 75, 162, 0.12)) !important;
    border: 1px solid rgba(102, 126, 234, 0.15) !important;
    border-radius: 20px !important;
    padding: 1.5rem 1rem !important;
    margin: 1rem 0 !important;
}

.social-referral-card.home-preview .personal-section {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08), 
        rgba(248, 250, 252, 0.7)) !important;
    border: 1px solid rgba(102, 126, 234, 0.15) !important;
    border-radius: 16px !important;
    padding: 0.75rem 1rem !important;
    margin: 1rem 0 !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.08) !important;
}

/* Home Page Card Text Color Overrides */
.social-referral-card.home-preview .referrer-name,
.social-referral-card.home-preview .invite-text,
.social-referral-card.home-preview .business-name,
.social-referral-card.home-preview .business-category,
.social-referral-card.home-preview .personal-message {
    color: #2d3748 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.social-referral-card.home-preview .offer-percentage {
    background: linear-gradient(135deg, #667eea, #764ba2, #667eea) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: gradientShift 4s ease-in-out infinite !important;
    font-weight: 900 !important;
    font-size: 2.8rem !important;
    text-shadow: none !important;
    margin: 0.75rem 0 !important;
    padding: 0.5rem 0 !important;
    line-height: 1.2 !important;
}

/* Home Page Card Button Styling */
.social-referral-card.home-preview .btn-claim-offer {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    margin: 0.75rem 0 !important;
}

.social-referral-card.home-preview .btn-view-details {
    background: rgba(102, 126, 234, 0.1) !important;
    border: 2px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 14px !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 600 !important;
    color: #667eea !important;
    margin-top: 0.5rem !important;
}

/* Campaign Preview Card Styling */
.social-referral-card.campaign-preview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.social-referral-card.campaign-preview:hover {
    transform: translateY(-5px);
}

.referral-card-preview:hover {
    transform: translateY(-5px);
}

.card-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(234, 102, 164, 0.1) 100%);
    border-radius: 24px;
    opacity: 0.8;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced gap for better spacing */
    height: 100%;
    padding-top: 4rem; /* Increased padding to prevent overlap with reward badge */
}

/* Business Info Styles */
.business-info {
    text-align: center;
    margin-bottom: 0.75rem; /* Reduced margin */
}

.business-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.business-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Offer Section Styles */
.offer-section {
    text-align: center;
    margin-bottom: 1rem; /* Reduced margin */
    padding: 1.25rem; /* Reduced padding */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Referrer Section Styles */
.referrer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.75rem; /* Reduced margin */
}

.referrer-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-glow {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: avatarGlow 3s ease-in-out infinite;
}

.avatar-inner {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.referrer-text {
    flex: 1;
}

.referrer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.referrer-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Reward Badge Styles */
.reward-badge {
    position: absolute;
    top: 1rem; /* Moved down to prevent overlap */
    right: 1rem; /* Standard right position */
    background: rgba(34, 197, 94, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0.75rem; /* Compact size */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5; /* Lower z-index to stay behind content if needed */
    max-width: 100px; /* Limit width to prevent overflow */
}

.reward-amount {
    font-size: 1.1rem; /* Slightly smaller to fit better */
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
    line-height: 1.1; /* Tighter line height */
}

.reward-text {
    font-size: 0.7rem; /* Smaller text */
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.3px; /* Reduced letter spacing */
    line-height: 1.1; /* Tighter line height */
}

/* Action Button Styles */
.card-action {
    margin-top: auto; /* Push to bottom */
    text-align: center;
    padding-top: 1rem;
}

.share-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.share-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 15px;
    height: 15px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    width: 12px;
    height: 12px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-mockup {
        max-width: 350px;
        padding: 1rem;
    }
    
    .referral-card-preview {
        padding: 1rem 1.25rem 1.5rem 1.25rem; /* Proper mobile spacing */
        min-height: 580px; /* Adequate mobile height */
    }
    
    .card-content {
        padding-top: 3.5rem; /* Adequate mobile padding to prevent overlap */
        gap: 0.75rem; /* Tighter spacing on mobile */
    }
    
    .business-name {
        font-size: 1.6rem;
    }
    
    .offer-title {
        font-size: 1.3rem;
    }
    
    .reward-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.6rem; /* Smaller mobile reward badge */
    }
    
    .reward-amount {
        font-size: 1rem; /* Smaller mobile text */
    }
    
    .reward-text {
        font-size: 0.7rem;
    }
}

    }
}

/* Print Styles */
@media print {
    .navbar,
    .auth-background,
    .dashboard-background,
    .claim-background,
    .success-background,
    .referral-background,
    .btn-shine,
    .icon-glow,
    .stat-glow,
    .floating-element {
        display: none !important;
    }
    
    .auth-card,
    .dashboard-header,
    .modern-stat-card,
    .card,
    .claim-card,
    .success-card,
    .referral-card-modern {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        color: #333 !important;
    }
    
    .claim-title,
    .client-title,
    .client-subtitle,
    .client-text {
        color: #333 !important;
        text-shadow: none !important;
    }
}

/* Social Media Optimized Compact Referral Card */
.compact-referral-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.social-card-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.social-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #f5576c 75%,
        #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Container Wrapper */
.card-container-wrapper {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.social-referral-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 1.5rem;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.social-referral-card:hover {
    transform: translateY(-5px);
}

/* Card Header */
.card-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.business-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.business-details {
    display: flex;
    flex-direction: column;
}

.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.business-category {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.referrer-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.referrer-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.referrer-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.referrer-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
}

.invite-text {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

/* Main Offer Section - Enhanced spacing */
.main-offer-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2.5rem 1rem;
}

.offer-percentage {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 2rem 0;
    padding: 1.5rem 0;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

/* Removed offer-details and offer-urgency styles - these elements are no longer displayed */

.offer-separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

/* Personal Section */
.personal-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}

.personal-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.personal-message {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.3;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-claim-offer {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-claim-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-details {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1a1a;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-view-details:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* ShoutCard Branding */
.shoutcard-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #4facfe;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Compact Share Options */
.share-options-section {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    margin-bottom: 1rem;
}

.share-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons-compact {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.share-btn-compact {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-btn-compact:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-btn-compact.whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.share-btn-compact.whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    color: white;
}

.share-btn-compact.sms {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.share-btn-compact.sms:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.share-btn-compact.email {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.share-btn-compact.email:hover {
    background: #c82333;
    border-color: #c82333;
    color: white;
}

.share-btn-compact.copy {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.share-btn-compact.copy:hover {
    background: #5a6268;
    border-color: #5a6268;
    color: white;
}

/* Compact Stats */
.stats-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.stat-compact {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-weight: 700;
    color: white;
}

.stat-label {
    font-weight: 500;
    opacity: 0.8;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Copy Feedback */
.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    .compact-referral-section {
        padding: 1rem 0;
    }
    
    .social-referral-card {
        padding: 1.25rem;
        margin: 0 1rem;
    }
    
    .card-header-section {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .referrer-profile {
        align-self: flex-end;
    }
    
    .offer-percentage {
        font-size: 3rem;
    }
    
    .share-buttons-compact {
        gap: 0.5rem;
    }
    
    .share-btn-compact {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stats-compact {
        gap: 0.75rem;
    }
}

@media (max-width: 400px) {
    .business-name {
        font-size: 1.1rem;
    }
    
    .offer-percentage {
        font-size: 2.5rem;
    }
    
    .personal-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* FOOTER - Clean Design */
.simple-footer {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 30%, #8e44ad 60%, #4a5568 100%) !important;
    border-top: none !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: -80px !important;
    padding-top: 80px !important;
    position: relative !important;
}

.simple-footer .container {
    padding-top: 3rem !important;
    padding-bottom: 1.5rem !important;
}

/* Ensure CTA section blends seamlessly */
.cta-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.simple-footer .footer-brand {
    display: flex !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
}

.simple-footer .footer-brand i {
    color: #63b3ed !important;
    font-size: 1.3rem !important;
}

.simple-footer .footer-text {
    color: #a0aec0 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    margin-bottom: 0.75rem !important;
}

.simple-footer .social-icons {
    display: flex !important;
    gap: 0.75rem !important;
}

.simple-footer .social-icon {
    width: 35px !important;
    height: 35px !important;
    background: rgba(99, 179, 237, 0.1) !important;
    border: 1px solid rgba(99, 179, 237, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #63b3ed !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
}

.simple-footer .social-icon:hover {
    background: #63b3ed !important;
    border-color: #63b3ed !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

.simple-footer .btn-simple-cta {
    background: linear-gradient(135deg, #4299e1, #3182ce) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.simple-footer .btn-simple-cta:hover {
    background: linear-gradient(135deg, #3182ce, #2c5282) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3) !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

.cta-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}