/* Modern Campaign View Styles */

/* Marketplace CSS Variables */
:root {
    /* Card backgrounds */
    --mp-card-bg: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    --mp-card-border: rgba(226, 232, 240, 0.6);
    --mp-card-shadow: 0 8px 25px rgba(0,0,0,0.08);
    --mp-card-hover-shadow: 0 12px 35px rgba(0,0,0,0.12);
    
    /* Text colors */
    --mp-text-primary: #1e293b;
    --mp-text-secondary: #64748b;
    --mp-text-muted: #94a3b8;
    
    /* Hero gradient */
    --mp-hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Stat card backgrounds */
    --mp-stat-card-bg: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    
    /* Button gradients */
    --mp-btn-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --mp-btn-primary-hover: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Dark mode variables */
[data-theme-style="dark"] {
    /* Card backgrounds */
    --mp-card-bg: linear-gradient(145deg, #1e293b 0%, #1a202c 100%);
    --mp-card-border: rgba(55, 65, 81, 0.6);
    --mp-card-shadow: 0 8px 25px rgba(0,0,0,0.25);
    --mp-card-hover-shadow: 0 12px 35px rgba(0,0,0,0.35);
    
    /* Text colors */
    --mp-text-primary: #f1f5f9;
    --mp-text-secondary: #cbd5e1;
    --mp-text-muted: #94a3b8;
    
    /* Hero gradient - slightly muted for dark mode */
    --mp-hero-bg: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    
    /* Stat card backgrounds */
    --mp-stat-card-bg: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    
    /* Button gradients - same as light mode */
    --mp-btn-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --mp-btn-primary-hover: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Sponsored Campaign Badge in View Page */
.status-badge.sponsored {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    animation: sponsoredPulse 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.status-badge.sponsored i {
    font-size: 1rem;
    color: #fff;
}

@keyframes sponsoredPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    }
}

/* Dark mode sponsored badge */
[data-theme-style="dark"] .status-badge.sponsored {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Clean Section Layout - No Card-in-Card */
.campaign-detail-section {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 3rem;
}

.section-header {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.section-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.section-title {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.brand-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateX(3px);
}

.content-title {
    color: #2d3748;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-title i {
    color: #667eea;
    font-size: 1.1rem;
}

.content-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Hashtags Container - Better Visibility */
.hashtags-container {
    background: var(--mp-card-bg);
    border: 2px solid var(--mp-card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hashtags-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 1rem 1rem 0 0;
}

.hashtags-text {
    color: var(--mp-text-primary) !important;
    background: var(--mp-stat-bg) !important;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--mp-card-border);
    display: inline-block;
    box-shadow: var(--mp-card-shadow);
}

/* Modern Campaign Hero Section */
.campaign-hero-modern {
    position: relative;
    background: var(--mp-hero-bg);
    padding: 6rem 0 4rem 0;
    overflow: hidden;
    margin-bottom: 3rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: patternFloat 15s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.campaign-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    margin-bottom: 3rem;
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    padding: 1.25rem 2.5rem;
    margin: 0;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-item-modern {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.75rem 1.25rem;
    border-radius: 1.25rem;
    font-size: 1rem;
}

.breadcrumb-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.breadcrumb-link i {
    font-size: 1.1rem;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0 0.5rem;
}

.breadcrumb-item-active span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem;
}

/* Campaign Header */
.campaign-header-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.campaign-status-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.status-badge i {
    font-size: 1.1rem;
}

.status-badge.verified {
    background: rgba(34, 197, 94, 0.25);
    color: #dcfce7;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    border-color: rgba(34, 197, 94, 0.3);
}

.status-badge.urgent {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    animation: statusPulse 2s infinite;
    border-color: rgba(239, 68, 68, 0.3);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.25);
    color: #fed7aa;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    border-color: rgba(245, 158, 11, 0.3);
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.campaign-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.campaign-brand-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 2.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.campaign-brand-info:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-avatar {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.brand-avatar:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.brand-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.brand-avatar-placeholder:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

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

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Enhanced Campaign Detail Cards */
.campaign-detail-card {
    background: var(--mp-card-bg);
    border-radius: 2rem;
    box-shadow: var(--mp-card-shadow);
    padding: 3rem;
    border: 1px solid var(--mp-card-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.campaign-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2rem 2rem 0 0;
}

.campaign-detail-card:hover {
    box-shadow: var(--mp-card-hover-shadow);
}

.campaign-detail-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.campaign-detail-card h4 i {
    color: #667eea;
    font-size: 1.4rem;
}

/* Brand Logo Enhanced */
.campaign-brand-logo-lg {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid #f1f5f9;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.campaign-brand-logo-lg:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Enhanced Modern Join Card */
.modern-join-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 2.5rem;
    padding: 0;
    overflow: hidden;
    box-shadow: 
        0 30px 70px rgba(102, 126, 234, 0.3),
        0 15px 40px rgba(240, 147, 251, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 2rem;
}

.modern-join-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: cardFloat 8s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.modern-join-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 40px 90px rgba(102, 126, 234, 0.35),
        0 20px 50px rgba(240, 147, 251, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.join-card-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.campaign-budget {
    margin-bottom: 1.5rem;
}

.budget-amount {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.budget-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-badge.urgent {
    background: rgba(255, 107, 107, 0.9);
    color: white;
    animation: pulse 2s infinite;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.urgency-badge.warning {
    background: rgba(255, 167, 38, 0.9);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
}

.urgency-badge.active {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Enhanced Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 1.5rem 1.5rem 0 0;
}

.metric-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.metric-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.metric-item:hover::after {
    left: 100%;
}

.metric-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.metric-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: iconRotate 10s linear infinite;
}

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

.metric-icon.earnings {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.metric-icon.community {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.metric-icon.time {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.metric-item:hover .metric-icon {
    transform: rotate(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.metric-item:hover .metric-value {
    color: #667eea;
    transform: translateY(-1px);
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.metric-item:hover .metric-label {
    color: #475569;
}

/* Enhanced Budget Progress */
.budget-progress {
    padding: 2.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-stats {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.progress-container {
    background: #e5e7eb;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    background: linear-gradient(90deg, #10b981, #059669, #047857);
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressGlow 1.5s infinite;
}

@keyframes progressGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.progress-percentage {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    font-weight: 600;
}

/* Enhanced Join Action */
.join-action {
    padding: 2.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.btn-join-campaign {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border: none;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow: 
        0 15px 40px rgba(16, 185, 129, 0.4),
        0 8px 25px rgba(4, 120, 87, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-join-campaign::before {
    content: '';
    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.5s;
}

.btn-join-campaign:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    transform: translateY(-4px);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.5),
        0 12px 35px rgba(4, 120, 87, 0.4);
}

.btn-join-campaign:hover::before {
    left: 100%;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-content i {
    font-size: 1.4rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.btn-join-campaign:hover .btn-arrow {
    transform: translateX(6px);
}

.join-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.1rem;
    color: #10b981;
}

/* Enhanced Timeline */
.campaign-timeline {
    position: relative;
    padding-left: 35px;
}

.campaign-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #10b981, #f59e0b);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-marker.bg-success {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.timeline-marker.bg-warning {
    background: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.timeline-content h6 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Platform Badges - Matching Index Style */
.platform-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-right: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    gap: 0.75rem;
}

.platform-badge:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.platform-badge .fab {
    font-size: 1.1rem;
}

.platform-badge .fa-tiktok { color: #000; }
.platform-badge .fa-instagram { color: #E4405F; }
.platform-badge .fa-youtube { color: #FF0000; }
.platform-badge .fa-twitter { color: #1DA1F2; }
.platform-badge .fa-facebook { color: #1877F2; }
.platform-badge .fa-snapchat { color: #FFFC00; }
.platform-badge .fa-linkedin { color: #0A66C2; }
.platform-badge .fa-globe { color: #6c757d; }

/* Content Guidelines Styling */
.bg-light {
    background: var(--mp-card-bg) !important;
    border: 1px solid var(--mp-card-border);
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    box-shadow: var(--mp-card-shadow);
}

.bg-light code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Enhanced Button Styles */
.btn {
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-primary {
    background: var(--mp-card-bg);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: var(--mp-card-shadow);
}

.btn-outline-primary:hover {
    background: var(--mp-btn-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .campaign-hero-modern {
        padding: 4rem 0 3rem 0;
        min-height: 50vh;
    }
    
    .campaign-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .breadcrumb-modern {
        padding: 1rem 2rem;
    }
}

@media (max-width: 991px) {
    .campaign-hero-modern {
        padding: 3rem 0 2rem 0;
        min-height: 40vh;
    }
    
    .campaign-brand-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
        max-width: 400px;
    }
    
    .brand-details {
        text-align: center;
    }
    
    .campaign-detail-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .campaign-brand-logo-lg {
        width: 70px;
        height: 70px;
    }
    
    .modern-join-card {
        position: relative !important;
        top: 0 !important;
    }
    
    .metrics-grid {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .metric-item {
        padding: 1.5rem;
    }
    
    .metric-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .campaign-hero-modern {
        padding: 2rem 0 1.5rem 0;
        min-height: 35vh;
    }
    
    .breadcrumb-modern {
        padding: 0.75rem 1.5rem;
        gap: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .breadcrumb-separator {
        display: none;
    }
    
    .breadcrumb-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .campaign-status-indicators {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-direction: column;
    }
    
    .status-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .campaign-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .campaign-brand-info {
        padding: 1.5rem;
        border-radius: 2rem;
        gap: 1rem;
    }
    
    .brand-avatar, .brand-avatar-placeholder {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        border-radius: 18px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .campaign-detail-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    
    .campaign-brand-logo-lg {
        width: 60px;
        height: 60px;
    }
    
    .modern-join-card {
        border-radius: 2rem;
    }
    
    .join-card-header {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .metric-item {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }
    
    .metric-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        border-radius: 16px;
    }
    
    .btn-join-campaign {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 1.25rem;
    }
    
    .timeline-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 576px) {
    .campaign-hero-modern {
        padding: 1.5rem 0;
        min-height: 30vh;
    }
    
    .breadcrumb-modern {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .campaign-status-indicators {
        gap: 0.75rem;
    }
    
    .status-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .campaign-brand-info {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .brand-avatar, .brand-avatar-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 15px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
    }
    
    .campaign-detail-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .join-card-header {
        padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    }
    
    .budget-amount {
        font-size: 2.5rem;
    }
    
    .metrics-grid {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .btn-join-campaign {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .platform-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-right: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* Animation and Enhancement Classes */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

/* Enhanced Focus States */
.btn-join-campaign:focus,
.breadcrumb-link:focus,
.platform-badge:focus,
.btn:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-modern {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) padding-box,
                linear-gradient(135deg, #667eea, #764ba2) border-box;
}

/* Compact Sidebar Styles */
.sidebar-sticky {
    position: sticky;
    top: 2rem;
    z-index: 10;
}

/* Join Action Card */
.join-action-card {
    background: transparent;
    border-radius: 1.5rem;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.join-action-card:hover {
    /* Removed hover effects - button handles all interactions */
}

.join-action-card .btn-join-campaign {
    width: 100%;
    background: var(--mp-btn-primary);
    border: none;
    border-radius: 1.5rem;
    padding: 1.25rem 2rem;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: var(--mp-card-shadow);
    border: 1px solid var(--mp-card-border);
    position: relative;
    overflow: hidden;
}

.join-action-card .btn-join-campaign::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.join-action-card .btn-join-campaign:hover {
    background: var(--mp-btn-primary-hover);
    box-shadow: var(--mp-card-hover-shadow);
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.4);
}

.join-action-card .btn-join-campaign:hover::before {
    left: 100%;
}

/* Button content styles for both single and multi-element buttons */
.join-action-card .btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.join-action-card .btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.join-action-card .btn-join-campaign:hover .btn-arrow {
    transform: translateX(6px);
}

/* Support for both button layouts */
.join-action-card .btn-join-campaign {
    justify-content: space-between;
}

/* When button has content and arrow divs, use space-between */
.join-action-card .btn-join-campaign:has(.btn-content) {
    justify-content: space-between;
}

/* When button is simple (icon + text), use center */
.join-action-card .btn-join-campaign:not(:has(.btn-content)) {
    justify-content: center;
}

/* Compact Stats Grid */
.compact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.compact-stat-card {
    background: var(--mp-stat-card-bg);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--mp-card-shadow);
    border: 1px solid var(--mp-card-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.compact-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 1.25rem 1.25rem 0 0;
}

.compact-stat-card.budget-card::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.compact-stat-card.status-card::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.compact-stat-card.earnings-card::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.compact-stat-card.joined-card::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.compact-stat-card:hover {
    box-shadow: var(--mp-card-hover-shadow);
    border-color: rgba(102, 126, 234, 0.3);
}

.compact-stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.budget-card .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.status-card .stat-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.earnings-card .stat-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.joined-card .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* No hover effects for stat icons */

.compact-stat-card .stat-info {
    flex: 1;
    min-width: 0;
}

.compact-stat-card .stat-value {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 800;
    color: var(--mp-text-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    hyphens: auto;
}

.compact-stat-card .stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--mp-text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    opacity: 0.9;
}

/* Progress Card */
.progress-card {
    background: var(--mp-card-bg);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--mp-card-shadow);
    border: 1px solid var(--mp-card-border);
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 1.5rem 1.5rem 0 0;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.progress-info {
    flex: 1;
}

.progress-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-stats {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

/* Timeline Card */
.timeline-card {
    background: var(--mp-card-bg);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--mp-card-shadow);
    border: 1px solid var(--mp-card-border);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1.5rem 1.5rem 0 0;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-header i {
    color: #667eea;
    font-size: 1.1rem;
}

.timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.timeline-dot.start {
    background: #10b981;
}

.timeline-dot.end {
    background: #f59e0b;
}

.timeline-content-compact {
    flex: 1;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    margin-bottom: 0.25rem;
}

.timeline-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Benefits Card */
.benefits-card {
    background: var(--mp-card-bg);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--mp-card-shadow);
    border: 1px solid var(--mp-card-border);
    position: relative;
    overflow: hidden;
}

.benefits-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 1.5rem 1.5rem 0 0;
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefits-header i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-card .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.benefits-card .benefit-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    transform: translateX(3px);
}

.benefits-card .benefit-item i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Responsive Design for Compact Sidebar */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .compact-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .compact-stat-card {
        padding: 1.25rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .compact-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .compact-stat-card .stat-value {
        font-size: 1.2rem;
    }
    
    .compact-stat-card .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .compact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .compact-stat-card {
        padding: 1.25rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .compact-stat-card .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .compact-stat-card .stat-value {
        font-size: 1.3rem;
    }
    
    .compact-stat-card .stat-label {
        font-size: 0.8rem;
    }
    
    .join-action-card .btn-join-campaign {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .progress-card,
    .timeline-card,
    .benefits-card {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .compact-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .compact-stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .compact-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .compact-stat-card .stat-value {
        font-size: 1.2rem;
    }
    
    .compact-stat-card .stat-label {
        font-size: 0.75rem;
    }
    
    .join-action-card .btn-join-campaign {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .progress-card,
    .timeline-card,
    .benefits-card {
        padding: 1rem;
    }
    
    .timeline-item-compact {
        gap: 0.75rem;
    }
    
    .benefits-list {
        gap: 0.5rem;
    }
}

/* Campaign Budget Progress Styles - Consistent with joined_campaigns.php */
.campaign-budget-progress {
    margin-bottom: 1.25rem;
}

.budget-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mp-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.progress-details {
    font-size: 0.85rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.progress-percentage {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    flex-shrink: 0;
}

.budget-progress-container {
    width: 100%;
    height: 8px;
    background: var(--mp-card-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.budget-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--success-color) 50%, var(--warning-color) 75%, var(--danger-color) 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.budget-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive adjustments for budget progress */
@media (max-width: 768px) {
    .campaign-budget-progress {
        margin-bottom: 1rem;
    }
    
    .budget-progress-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .progress-details {
        text-align: left;
        order: 2;
        flex-basis: 100%;
    }
}

/* Dark mode support for budget progress */
[data-theme-style="dark"] .budget-progress-container {
    background: var(--mp-card-border);
}

[data-theme-style="dark"] .progress-label {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .progress-details {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .progress-percentage {
    color: var(--mp-text-primary);
}


/* Styles for joined campaign button */
.btn-view-joined {
    background: #10b981 !important;
    background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.btn-view-joined:hover {
    background: #059669 !important;
    background-image: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.btn-view-joined .btn-content i {
    font-size: 1.1rem;
}

/* Join request button states */
.btn-join-campaign.btn-pending {
    background: #f59e0b !important;
    background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-join-campaign.btn-request {
    background: #0ea5e9 !important;
    background-image: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: white !important;
}

.btn-join-campaign.btn-request:hover {
    background: #0284c7 !important;
    background-image: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

.btn-join-campaign.btn-rejected {
    background: #ef4444 !important;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dark mode support for new button states */
[data-theme-style="dark"] .btn-join-campaign.btn-pending {
    background: #f59e0b !important;
    background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

[data-theme-style="dark"] .btn-join-campaign.btn-request {
    background: #0ea5e9 !important;
    background-image: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

[data-theme-style="dark"] .btn-join-campaign.btn-request:hover {
    background: #0284c7 !important;
    background-image: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

[data-theme-style="dark"] .btn-join-campaign.btn-rejected {
    background: #ef4444 !important;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Country Restriction Button Styles */
.btn-join-campaign.btn-country-restricted {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid #f59e0b;
    color: white;
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-join-campaign.btn-country-restricted:hover {
    transform: none;
    box-shadow: none;
}

.btn-join-campaign.btn-country-restricted .btn-content i {
    color: #fff;
}

/* Country Restriction Message Card */
.country-restriction-card {
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.restriction-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #92400e;
}

.restriction-content {
    color: #92400e;
    font-size: 14px;
    line-height: 1.5;
}

/* Dark mode styles for country restriction */
[data-theme-style="dark"] .btn-join-campaign.btn-country-restricted {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
    border: 1px solid #d97706;
}

[data-theme-style="dark"] .country-restriction-card {
    background: linear-gradient(145deg, #451a03 0%, #78350f 100%);
    border: 1px solid #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* Trust Score Restriction Button Styles */
.btn-join-campaign.btn-trust-restricted {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid #ef4444;
    color: white;
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-join-campaign.btn-trust-restricted:hover {
    transform: none;
    box-shadow: none;
}

.btn-join-campaign.btn-trust-restricted .btn-content i {
    color: #fff;
}

/* Trust Score Restriction Message Card */
.trust-restriction-card {
    background: linear-gradient(145deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.trust-restriction-card .restriction-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 12px;
}

.trust-restriction-card .restriction-header i {
    margin-right: 8px;
}

.trust-restriction-card .restriction-content {
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.5;
}

.trust-restriction-card .restriction-help {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

/* Dark mode styles for trust score restriction */
[data-theme-style="dark"] .btn-join-campaign.btn-trust-restricted {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border: 1px solid #dc2626;
}

[data-theme-style="dark"] .trust-restriction-card {
    background: linear-gradient(145deg, #450a0a 0%, #7f1d1d 100%);
    border: 1px solid #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

[data-theme-style="dark"] .trust-restriction-card .restriction-header {
    color: #fecaca;
}

[data-theme-style="dark"] .trust-restriction-card .restriction-content {
    color: #fca5a5;
}

[data-theme-style="dark"] .restriction-header {
    color: #fed7aa;
}

[data-theme-style="dark"] .restriction-content {
    color: #fed7aa;
}