/* Updated version - 2025-09-09-19:30 - Turkified Conversion Funnel - Cache bust v41 */

/* Index Header Styles - Added for new navbar */
.main-header {
    position: relative;
}

/* Navigation Bar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo .diji {
    color: #dc2626;
}

.nav-logo .pharma {
    color: #3b82f6;
}

.pill-icon-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-icon-nav .pill {
    width: 25px;
    height: 12px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.pill-icon-nav .pill-half {
    width: 50%;
    height: 100%;
}

.pill-icon-nav .pill-half.red {
    background: #dc2626;
}

.pill-icon-nav .pill-half.blue {
    background: #3b82f6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #64748b;
    transition: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Header Styles - Same as other profiles */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.8em;
    font-weight: bold;
}

.logo-text .diji {
    color: #dc2626;
}

.logo-text .pharma {
    color: #60a5fa;
}

.pill-small {
    width: 30px;
    height: 12px;
    border-radius: 6px;
    display: flex;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pill-half-small {
    flex: 1;
    height: 100%;
}

.pill-half-small.red {
    background: #dc2626;
    border-radius: 6px 0 0 6px;
}

.pill-half-small.blue {
    background: #3b82f6;
    border-radius: 0 6px 6px 0;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc2626;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    aspect-ratio: 1 / 1;
    min-width: 40px;
    min-height: 40px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: #334155;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #334155;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f1f5f9;
}

.user-dropdown hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 5px 0;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.15);
}

.section-header h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.section-header h1 i {
    color: #fbbf24;
    font-size: 0.9em;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
}

/* Department Info - Marketing specific */
.department-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.department-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f59e0b;
    color: #374151;
}

.department-badge span {
    color: #374151;
    font-weight: 500;
}

.department-badge i {
    color: #f59e0b;
    font-size: 1.2em;
}

.status-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-badge.active {
    background: #fef3c7;
    color: #d97706;
}

/* Stats Grid - Marketing theme with orange */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:nth-child(1) { border-left-color: #f59e0b; }
.stat-card:nth-child(2) { border-left-color: #3b82f6; }
.stat-card:nth-child(3) { border-left-color: #10b981; }
.stat-card:nth-child(4) { border-left-color: #8b5cf6; }

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
}

.stat-card:nth-child(1) .stat-icon { background: #f59e0b; }
.stat-card:nth-child(2) .stat-icon { background: #3b82f6; }
.stat-card:nth-child(3) .stat-icon { background: #10b981; }
.stat-card:nth-child(4) .stat-icon { background: #8b5cf6; }

.stat-content h3 {
    font-size: 2.2em;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-content p {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.85em;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
}

.stat-change.positive {
    background: #dcfce7;
    color: #16a34a;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: #1e293b;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-btn {
    background: none;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-btn:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.view-all-link {
    color: #f59e0b;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
}

.view-all-link:hover {
    color: #d97706;
}

/* Campaign List */
.campaign-list {
    padding: 0 25px 25px;
}

.campaign-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.campaign-item:last-child {
    border-bottom: none;
}

.campaign-status {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
}

.campaign-item.running .campaign-status { background: #f59e0b; }
.campaign-item.planning .campaign-status { background: #3b82f6; }
.campaign-item.completed .campaign-status { background: #10b981; }

.campaign-content {
    flex: 1;
}

.campaign-content h4 {
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.campaign-content p {
    color: #64748b;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.campaign-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.campaign-progress span {
    font-size: 0.8em;
    color: #64748b;
}

.campaign-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.campaign-meta .budget {
    font-weight: 600;
    color: #1e293b;
}

.campaign-meta .deadline {
    font-size: 0.85em;
    color: #64748b;
}

/* Activity List */
.activity-list {
    padding: 0 25px 25px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9em;
}

.activity-icon.campaign { background: #f59e0b; }
.activity-icon.analytics { background: #3b82f6; }
.activity-icon.meeting { background: #10b981; }

.activity-content p {
    margin-bottom: 5px;
    color: #334155;
}

.activity-content small {
    color: #64748b;
    font-size: 0.85em;
}

/* Quick Actions */
.quick-actions {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #64748b;
    font-size: 0.9em;
}

.action-btn i {
    font-size: 1.3em;
}

.action-btn.primary {
    border-color: #f59e0b;
    background: #f59e0b;
    color: white;
}

.action-btn.primary:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
}

.action-btn.secondary:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    transform: translateY(-2px);
}

/* Chart Container */
.chart-container {
    padding: 0 25px 25px;
    height: 300px;
}

/* Campaign Management Header & Tabs */
.campaign-tabs {
    display: flex;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    overflow: hidden;
}

/* Campaigns Section */
.campaigns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-filter {
    display: flex;
    gap: 15px;
}

.search-input {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    width: 250px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #f59e0b;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #f59e0b;
}

.create-campaign-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.create-campaign-btn:hover {
    background: #d97706;
}

/* Campaigns Grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.campaign-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.campaign-card.running { border-left-color: #f59e0b; }
.campaign-card.planning { border-left-color: #3b82f6; }
.campaign-card.completed { border-left-color: #10b981; }

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.campaign-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.campaign-title h3 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.campaign-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.campaign-tag.running {
    background: #fef3c7;
    color: #d97706;
}

.campaign-tag.planning {
    background: #dbeafe;
    color: #2563eb;
}

.campaign-tag.completed {
    background: #dcfce7;
    color: #16a34a;
}

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

.btn-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.campaign-body {
    padding: 25px;
}

.campaign-body p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.campaign-stats .stat {
    text-align: center;
}

.campaign-stats .label {
    display: block;
    font-size: 0.8em;
    color: #64748b;
    margin-bottom: 5px;
}

.campaign-stats .value {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95em;
}

.campaign-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
    font-weight: 500;
    font-size: 0.9em;
}

/* Analytics Section */
.analytics-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.period-select,
.metric-select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

.period-select:focus,
.metric-select:focus {
    outline: none;
    border-color: #f59e0b;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.analytics-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Profile Section - Similar to other profiles but with marketing theme */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-avatar-section {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2em;
}

.profile-avatar-section h3 {
    margin-bottom: 5px;
}

.profile-role {
    opacity: 0.9;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat .value {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.stat .label {
    font-size: 0.8em;
    opacity: 0.8;
}

.profile-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 20px 24px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #f59e0b;
    transform: translateY(-1px);
}

.tab-btn.active {
    color: #f59e0b;
    background: white;
    border-bottom: 3px solid #f59e0b;
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.profile-form {
    max-width: 800px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input[readonly],
.form-group select[disabled] {
    background: #f9fafb;
    color: #6b7280;
}

.save-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Reports Section */
.reports-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.generate-report-btn {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.generate-report-btn:hover {
    background: #d97706;
}

.report-filters select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.report-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.report-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
}

.report-content {
    flex: 1;
}

.report-content h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.report-content p {
    color: #64748b;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.report-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #64748b;
}

.report-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Notification */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main {
        order: 1;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .user-actions {
        order: 2;
        margin: 10px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
    
    .campaigns-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-filter {
        flex-direction: column;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-tabs {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 10px;
    }
    
    .section-header h1 {
        font-size: 1.8em;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .campaign-card {
        margin: 0 5px;
    }
    
    .user-btn span {
        display: none;
    }
    
    .nav-link span {
        display: none;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* New Dashboard Components - Marketing Profile Enhancements */

/* Education Sponsorships */
.sponsorship-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.sponsorship-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sponsorship-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sponsorship-item.active {
    border-left: 4px solid #10b981;
}

.sponsorship-item.preparing {
    border-left: 4px solid #f59e0b;
    opacity: 0.8;
}

.sponsorship-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    flex-shrink: 0;
}

.sponsorship-item.active .sponsorship-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.sponsorship-item.preparing .sponsorship-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.sponsorship-content {
    flex: 1;
}

.sponsorship-content h4 {
    font-size: 1.1em;
    color: #1e293b;
    margin-bottom: 5px;
}

.sponsorship-content p {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.sponsorship-metrics {
    display: flex;
    gap: 15px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    color: #64748b;
}

.metric i {
    color: #f59e0b;
}

.sponsorship-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.status-badge.preparing {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

/* Banner Advertisements */
.banner-ads {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-preview {
    flex-shrink: 0;
}

.banner-thumbnail {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2em;
}

.banner-details {
    flex: 1;
}

.banner-details h4 {
    font-size: 1.1em;
    color: #1e293b;
    margin-bottom: 8px;
}

.banner-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
}

.banner-stats span {
    font-size: 0.8em;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.banner-stats i {
    color: #3b82f6;
}

.banner-duration {
    font-size: 0.8em;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.banner-duration i {
    color: #f59e0b;
}

.banner-performance {
    flex-shrink: 0;
}

.performance-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

.performance-badge.high {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.performance-badge.medium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.performance-badge.low {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

/* Spending and ROI Summary */
.spending-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spending-period {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.spending-period:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.period-header h4 {
    color: #1e293b;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.period-header h4 i {
    color: #f59e0b;
}

.date-info {
    font-size: 0.85em;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
}

.spending-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-label {
    font-size: 0.8em;
    color: #64748b;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.3em;
    font-weight: 700;
}

.metric-value.spending {
    color: #dc2626;
}

.metric-value.roi.positive {
    color: #059669;
}

.metric-value.profit {
    color: #1e293b;
}

.roi-comparison {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comparison-label {
    font-size: 0.8em;
    color: #64748b;
    margin-bottom: 5px;
}

.comparison-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9em;
    font-weight: 600;
}

.comparison-change.positive {
    color: #059669;
}

.comparison-change.negative {
    color: #dc2626;
}

/* Enhanced Activity List */
.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    flex-shrink: 0;
}

.activity-icon.approved {
    background: linear-gradient(135deg, #10b981, #059669);
}

.activity-icon.sponsorship {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.activity-icon.banner {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.activity-icon.budget {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.activity-icon.analytics {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.activity-icon.meeting {
    background: linear-gradient(135deg, #64748b, #475569);
}

.activity-content {
    flex: 1;
}

.activity-content p {
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.activity-content small {
    color: #64748b;
    font-size: 0.8em;
}

.activity-status {
    flex-shrink: 0;
}

.status-badge.approved {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.status-badge.active {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.status-badge.high {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.status-badge.completed {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #374151;
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .sponsorship-item,
    .banner-item,
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .sponsorship-metrics,
    .banner-stats {
        justify-content: center;
    }
    
    .spending-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .roi-comparison {
        flex-direction: column;
        gap: 10px;
    }
    
    .period-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Advanced Targeting System Styles */
.targeting-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
}

.panel-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.targeting-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #fbbf24;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

/* Geographic Targeting Styles */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
    padding: 24px;
}

.city-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.city-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.city-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.city-info small {
    color: #64748b;
    font-size: 13px;
}

.city-toggle {
    position: relative;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-switch {
    background: #3b82f6;
}

input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(20px);
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.districts-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.city-card.expanded .districts-dropdown {
    max-height: 300px;
}

.district-list {
    padding: 16px 20px;
    max-height: 200px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.district-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.district-item:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.district-item input[type="checkbox"] {
    margin-right: 6px;
    margin-bottom: 2px;
}

.district-item span {
    font-weight: 500;
    color: #1e293b;
}

.district-item small {
    color: #64748b;
    font-size: 11px;
}

.district-actions {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-small.select-all {
    background: #3b82f6;
    color: white;
}

.btn-small.select-all:hover {
    background: #2563eb;
}

.btn-small.clear-all {
    background: #e2e8f0;
    color: #64748b;
}

.btn-small.clear-all:hover {
    background: #cbd5e1;
}

.more-cities {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
}

.btn-secondary.expand-cities {
    background: #f1f5f9;
    color: #475569;
    border: 2px dashed #cbd5e1;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-secondary.expand-cities:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

/* Pharmacy Type Targeting Styles */
.pharmacy-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 24px;
}

.pharmacy-type-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.pharmacy-type-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.pharmacy-type-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.type-checkbox {
    position: absolute;
    top: 16px;
    right: 16px;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

input[type="checkbox"]:checked + .checkbox-custom {
    background: #3b82f6;
    border-color: #3b82f6;
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}

.type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.type-icon.hospital {
    background: #fecaca;
    color: #dc2626;
}

.type-icon.street {
    background: #fed7aa;
    color: #ea580c;
}

.type-icon.neighborhood {
    background: #bbf7d0;
    color: #16a34a;
}

.type-icon.mall {
    background: #c7d2fe;
    color: #4f46e5;
}

.type-icon.university {
    background: #fde68a;
    color: #d97706;
}

.type-icon.industrial {
    background: #d1d5db;
    color: #374151;
}

.type-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.type-content p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.type-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

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

.type-stats .stat i {
    width: 14px;
    color: #3b82f6;
}

.type-count {
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    text-align: center;
}

.type-count strong {
    color: #1e293b;
    font-size: 14px;
}

/* Sample Size Analytics Styles */
.sample-analytics {
    padding: 24px;
}

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

.sample-header h4 {
    font-size: 18px;
    color: #1e293b;
    margin: 0;
}

.selected-count {
    background: #3b82f6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sample-slider-container {
    margin-bottom: 32px;
}

.sample-slider {
    position: relative;
    margin: 20px 0;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 4px;
    transition: width 0.2s ease;
}

.slider-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.analytics-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-value {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 6px;
}

.card-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.card-change {
    font-size: 11px;
    margin-top: 4px;
}

.change-positive {
    color: #16a34a;
}

.change-neutral {
    color: #64748b;
}

.demographics-insights {
    background: #fafbfb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.demographics-insights h5 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.insight-tag {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: #475569;
}

.targeting-summary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.targeting-summary h4 {
    margin-bottom: 16px;
    font-size: 18px;
}

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

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

.summary-stat .number {
    font-size: 20px;
    font-weight: bold;
    color: #fbbf24;
}

.summary-stat .label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

/* Responsive adjustments for targeting system */
@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .pharmacy-types-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .analytics-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .targeting-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* Campaign Management Styles */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    padding: 24px;
}

.campaign-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.campaign-card.active {
    border-color: #10b981;
    background: linear-gradient(to bottom, #ecfdf5 0%, white 100px);
}

.campaign-card.planned {
    border-color: #f59e0b;
    background: linear-gradient(to bottom, #fffbeb 0%, white 100px);
}

.campaign-card.completed {
    border-color: #6b7280;
    background: linear-gradient(to bottom, #f9fafb 0%, white 100px);
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    position: relative;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.planned {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.completed {
    background: #f3f4f6;
    color: #374151;
}

.campaign-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.campaign-actions .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f9fafb;
}

.dropdown-menu a.danger {
    color: #dc2626;
}

.dropdown-menu a.danger:hover {
    background: #fef2f2;
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 4px 0;
}

.campaign-content {
    padding: 0 24px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.campaign-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.campaign-icon.marketing {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.campaign-icon.education {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.campaign-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.campaign-info p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
}

.campaign-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.meta-item i {
    font-size: 11px;
    color: #9ca3af;
}

.campaign-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.metric-value.success {
    color: #059669;
}

.campaign-progress {
    padding: 16px 24px;
    background: #fafbfc;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.progress-info span:first-child {
    font-weight: 500;
    color: #374151;
}

.progress-info span:last-child {
    color: #6b7280;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-fill.education {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

/* Campaign Planning Styles */
.campaign-planning {
    padding: 20px 24px;
}

.planning-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.step.completed {
    background: #ecfdf5;
    color: #065f46;
}

.step i {
    width: 16px;
    text-align: center;
}

.step span {
    font-size: 13px;
    font-weight: 500;
}

.launch-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

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

.btn-launch {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-launch:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Campaign Results Styles */
.campaign-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.result {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.result-value.success {
    color: #059669;
}

.campaign-completion {
    padding: 20px 24px;
    text-align: center;
}

.completion-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.completion-badge i {
    font-size: 14px;
}

/* Quick Actions Styles */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.action-group {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-group h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
}

.action-group h5 i {
    color: #3b82f6;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.quick-btn:last-child {
    margin-bottom: 0;
}

.quick-btn i {
    color: #6b7280;
    font-size: 12px;
}

/* Responsive adjustments for campaign cards */
@media (max-width: 768px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .campaign-card {
        margin-bottom: 16px;
    }
    
    .campaign-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .campaign-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .launch-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Analytics & Reporting Styles */
.analytics-dashboard {
    padding: 24px;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 0 4px;
}

.analytics-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.analytics-header i {
    color: #3b82f6;
    font-size: 20px;
}

.date-range-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-select {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-select:hover {
    border-color: #3b82f6;
}

.date-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Real-time Metrics */
.realtime-metrics {
    margin-bottom: 40px;
}

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

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

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

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

.metric-card.conversion::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

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

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.metric-card.views .metric-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

.metric-card.interactions .metric-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.metric-card.conversion .metric-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.metric-card.participation .metric-icon {
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    color: #7c3aed;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1;
}

.metric-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin: 0 0 12px 0;
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.metric-change.positive {
    color: #059669;
}

.metric-change.negative {
    color: #dc2626;
}

.metric-change i {
    font-size: 11px;
}

.realtime-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.interaction-breakdown,
.conversion-details,
.participation-breakdown {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Campaign Performance Comparison */
.campaign-performance {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    margin-bottom: 32px;
}

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

.performance-header h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.performance-filters {
    display: flex;
    gap: 8px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 4px;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: white;
    color: #1f2937;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.campaigns-table {
    overflow-x: auto;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.performance-table th {
    text-align: left;
    padding: 16px 12px;
    background: #f9fafb;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
}

.performance-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.campaign-row:hover {
    background: #f9fafb;
}

.campaign-info strong {
    display: block;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.campaign-info small {
    color: #6b7280;
    font-size: 12px;
}

.campaign-type {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-type.marketing {
    background: #fef3c7;
    color: #92400e;
}

.campaign-type.education {
    background: #dbeafe;
    color: #1e40af;
}

.metric {
    font-weight: 600;
    color: #374151;
}

.metric.positive {
    color: #059669;
}

.status-indicator {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator.running {
    background: #dcfce7;
    color: #166534;
}

.status-indicator.planning {
    background: #fef3c7;
    color: #92400e;
}

.status-indicator.completed {
    background: #f3f4f6;
    color: #374151;
}

/* Analytics Charts */
.analytics-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 48px;
    margin-bottom: 32px;
}

.chart-container {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: visible;
    margin: 0 8px;
}

/* Special styling for funnel chart container */
.funnel-container {
    padding: 24px 120px 24px 24px !important;
    min-width: 600px;
    overflow: hidden;
}

.chart-container h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.chart-container canvas {
    max-height: 300px;
}

/* Funnel Chart */
.funnel-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
    min-height: 280px;
}

.funnel-stage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.stage-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.stage-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-bar:hover::before {
    opacity: 1;
}

.stage-bar:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.funnel-stage:nth-child(1) .stage-bar {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    width: 100%;
    margin-left: 0;
}

.funnel-stage:nth-child(2) .stage-bar {
    background: linear-gradient(90deg, #10b981, #059669);
    width: 75%;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.funnel-stage:nth-child(2) .stage-bar:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.funnel-stage:nth-child(3) .stage-bar {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    width: 50%;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.funnel-stage:nth-child(3) .stage-bar:hover {
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.funnel-stage:nth-child(4) .stage-bar {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    width: 35%;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.funnel-stage:nth-child(4) .stage-bar:hover {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.stage-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
}

.stage-value {
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Add conversion rate indicators */
.funnel-stage::after {
    content: attr(data-conversion);
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(107, 114, 128, 0.15);
    color: #374151;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(209, 213, 219, 0.4);
    min-width: 50px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.funnel-stage:nth-child(1)::after {
    content: '100%';
}

.funnel-stage:nth-child(2)::after {
    content: '14.7%';
}

.funnel-stage:nth-child(3)::after {
    content: '5.0%';
}

.funnel-stage:nth-child(4)::after {
    content: '1.4%';
}

/* ROI Comparison */
.roi-comparison {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.roi-comparison h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.roi-periods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.period-card {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.period-card:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.period-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.period-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-value {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
}

.period-value.positive {
    color: #059669;
}

.period-change {
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive Design for Analytics */
@media (max-width: 768px) {
    .analytics-dashboard {
        padding: 16px;
    }
    
    .analytics-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .performance-filters {
        width: 100%;
        justify-content: center;
    }
    
    .campaigns-table {
        font-size: 13px;
    }
    
    .performance-table th,
    .performance-table td {
        padding: 8px 6px;
    }
    
    .roi-periods {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Responsive Funnel Chart */
    .funnel-chart {
        min-height: 240px;
        gap: 8px;
    }
    
    .stage-bar {
        padding: 12px 16px;
        min-height: 40px;
    }
    
    .stage-label {
        font-size: 13px;
    }
    
    .stage-value {
        font-size: 16px;
    }
    
    .funnel-stage::after {
        right: -50px;
        font-size: 11px;
        padding: 4px 8px;
        min-width: 35px;
    }
    
    .funnel-container {
        padding: 16px 80px 16px 16px !important;
        min-width: 420px !important;
    }
    
    .analytics-charts {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .chart-container {
        margin: 0 4px;
    }
}

/* Conversion Rate Analysis Styles */
.conversion-analysis {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    margin-top: 32px;
}

.conversion-analysis h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.conversion-analysis h3::before {
    content: '📊';
    font-size: 18px;
}

.conversion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.conversion-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.conversion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

.conversion-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.conversion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.conversion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.conversion-header h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.conversion-rate {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #86efac;
}

.conversion-card:nth-child(2) .conversion-rate {
    color: #d97706;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24;
}

.conversion-details {
    margin-bottom: 16px;
}

.conversion-details p {
    margin: 8px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.conversion-details strong {
    color: #1f2937;
    font-weight: 700;
}

.conversion-breakdown {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #f3f4f6;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.breakdown-item:not(:last-child) {
    border-bottom: 1px solid #f9fafb;
    margin-bottom: 6px;
    padding-bottom: 6px;
}

.breakdown-item .label {
    color: #6b7280;
    font-weight: 500;
}

.breakdown-item .value {
    color: #1f2937;
    font-weight: 600;
    background: #f9fafb;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Responsive Design for Conversion Analysis */
@media (max-width: 768px) {
    .conversion-analysis {
        margin-top: 24px;
        padding: 16px;
    }
    
    .conversion-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .conversion-card {
        padding: 16px;
    }
    
    .conversion-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .conversion-rate {
        font-size: 20px;
        align-self: flex-end;
    }
    
    .breakdown-item {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    
    .breakdown-item .value {
        align-self: flex-end;
    }
}

/* Pricing Section */
.pricing-dashboard {
    padding: 0;
}

.pricing-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.pricing-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pricing-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.pricing-calculator {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-calculator h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-control {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    margin: 10px 0;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.slider-value {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    margin-left: 10px;
}

.premium-options-calc {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.premium-options-calc h4 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.option-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.option-checkbox:hover {
    background: #f1f5f9;
}

.option-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #f59e0b;
}

.option-checkbox span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.cost-calculator {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.cost-item:not(.cost-total) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-total {
    font-size: 18px;
    font-weight: 700;
    padding: 15px 0 5px;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
    margin-top: 10px;
}

.cost-total span:last-child {
    color: #fbbf24;
}

.package-comparison {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.package-comparison h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.comparison-table {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pricing-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 16px 12px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.pricing-table th:first-child {
    border-radius: 10px 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 10px 0 0;
}

.pricing-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
}

.pricing-table tbody tr:hover {
    background: #fefce8;
}

.pricing-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.pricing-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

/* Responsive adjustments for pricing */
@media (max-width: 768px) {
    .pricing-header h2 {
        font-size: 22px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        font-size: 12px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }
}

/* Campaign Creation Wizard */
.campaign-wizard {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wizard-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.wizard-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.wizard-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.wizard-steps {
    display: flex;
    padding: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 15px;
    position: relative;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active {
    background: white;
    color: #6366f1;
    font-weight: 600;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #6366f1;
    color: white;
}

.wizard-content {
    padding: 40px 30px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

.wizard-step h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-description {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.campaign-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.campaign-type-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.campaign-type-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.campaign-type-card.selected {
    border-color: #6366f1;
    background: #f8faff;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.campaign-type-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.type-icon i {
    font-size: 28px;
    color: white;
}

.type-content h4 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.type-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.type-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-content ul li {
    color: #4b5563;
    font-size: 13px;
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}

.type-content ul li:before {
    content: '•';
    color: #6366f1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Step 2: Advanced Targeting Section */
.advanced-targeting {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.targeting-panel {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
}

.panel-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.targeting-stats {
    display: flex;
    gap: 20px;
}

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

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Geographic Selector */
.geographic-selector {
    padding: 25px;
}

.geographic-selector h5 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.city-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.city-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.city-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.city-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.city-info h6 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.city-info small {
    color: #6b7280;
    font-size: 13px;
}

.city-toggle {
    display: flex;
    align-items: center;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .toggle-switch {
    background: #3b82f6;
}

input[type="checkbox"]:checked + .toggle-switch:after {
    left: 22px;
}

input[type="checkbox"] {
    display: none;
}

.city-districts {
    border-top: 1px solid #e5e7eb;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.city-card.expanded .city-districts {
    max-height: 300px;
}

.district-list {
    padding: 16px 20px;
    max-height: 200px;
    overflow-y: auto;
}

.district-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.district-item:hover {
    background: #f3f4f6;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.district-item input[type="checkbox"] {
    display: block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    accent-color: #3b82f6;
}

.district-item span {
    flex: 1;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.district-item small {
    color: #6b7280;
    font-size: 12px;
}

.district-actions {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    background: #fafbfc;
}

.btn-small {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-small.select-all {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.btn-small.select-all:hover {
    background: #bfdbfe;
}

.btn-small.clear-all {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.btn-small.clear-all:hover {
    background: #fecaca;
}

.more-cities {
    text-align: center;
    margin-top: 20px;
}

.expand-cities {
    background: #f8fafc;
    color: #6b7280;
    border: 2px dashed #d1d5db;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.expand-cities:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

/* Pharmacy Types Grid */
.pharmacy-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 24px;
}

.pharmacy-type-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.pharmacy-type-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.pharmacy-type-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.type-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
}

.type-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.checkbox-custom {
    display: none;
}

.type-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 22px;
    color: white;
}

.type-icon.hospital {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.type-icon.street {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.type-icon.neighborhood {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.type-icon.mall {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.type-content h5 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.type-content p {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.type-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.type-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 12px;
}

.type-stats .stat i {
    color: #6b7280;
    width: 14px;
}

.type-count {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
}

.type-count strong {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.type-icon.university {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.type-icon.industrial {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

/* Advanced Sample Size Selection */
.sample-size-advanced {
    padding: 25px;
}

.sample-selector {
    margin-bottom: 30px;
}

.slider-container {
    margin-bottom: 25px;
}

.slider-container label {
    display: block;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.advanced-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.advanced-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    border: 2px solid white;
}

.advanced-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.slider-track {
    position: relative;
    margin-top: 15px;
}

.slider-progress {
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
    width: 10%;
    transition: width 0.3s ease;
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.marker {
    font-size: 12px;
    color: #6b7280;
    position: relative;
}

.marker::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 4px;
    background: #d1d5db;
}

.sample-input-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.sample-number-input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    background: white;
    transition: all 0.3s ease;
}

.sample-number-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.percentage-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.percentage-field label {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 8px;
}

.percentage-display {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    background: #eff6ff;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
}

/* Reach Analytics */
.reach-analytics {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.reach-analytics h5 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.analytics-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.analytics-content h6 {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.analytics-content p {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

.analytics-value {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 4px;
}

/* Wizard Navigation Buttons */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 25px 30px;
    border-top: 2px solid #f1f5f9;
    gap: 20px;
}

.wizard-navigation .btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.wizard-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wizard-navigation .btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b5ff0 0%, #8450f5 100%);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled:hover,
.btn-secondary:disabled:hover {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

/* Wizard navigation responsive */
@media (max-width: 640px) {
    .wizard-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .wizard-navigation .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Step 3: Pricing Options */
.pricing-options {
    margin-top: 30px;
}

.pricing-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.package-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.package-card.selected {
    border-color: #6366f1;
    background: #f8faff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.package-card.popular {
    border-color: #f59e0b;
    position: relative;
}

.package-card.popular:hover,
.package-card.popular.selected {
    border-color: #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-header {
    margin-bottom: 20px;
}

.package-header h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.package-price .price {
    font-size: 32px;
    font-weight: 700;
    color: #6366f1;
}

.package-card.popular .package-price .price {
    color: #f59e0b;
}

.package-price .period {
    font-size: 14px;
    color: #6b7280;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 8px 0;
    color: #4b5563;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.premium-options {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.premium-options h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.premium-option {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.premium-option:hover {
    border-color: #6366f1;
    background: #f8faff;
}

.premium-option.selected {
    border-color: #6366f1;
    background: #f8faff;
}

.premium-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6366f1;
}

.premium-content h5 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.premium-content p {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 8px 0;
}

.premium-price {
    color: #6366f1;
    font-weight: 600;
    font-size: 14px;
}

/* Step 4: Content & Approval */
.content-preview {
    margin-top: 30px;
}

.campaign-summary {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.campaign-summary h4 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.summary-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.summary-item label {
    display: block;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

.content-upload {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.content-upload h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.upload-area:hover {
    border-color: #6366f1;
    background: #f8faff;
}

.upload-area.dragover {
    border-color: #6366f1;
    background: #f8faff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 15px;
}

.upload-area:hover .upload-icon {
    color: #6366f1;
}

.upload-text {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 10px;
}

.upload-hint {
    color: #9ca3af;
    font-size: 14px;
}

.approval-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.approval-section h4 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.approval-section p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.terms-agreement {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.terms-agreement label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.terms-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
}

.submit-campaign {
    background: white;
    color: #059669;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-campaign:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.submit-campaign:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Campaign Actions */
.campaign-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.campaign-actions .btn {
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 160px;
    justify-content: center;
}

.campaign-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.campaign-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.campaign-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.campaign-actions .btn-primary {
    background: white;
    color: #059669;
    border-color: white;
}

.campaign-actions .btn-primary:hover {
    background: #f0fdf4;
    color: #047857;
}

/* Responsive adjustments for wizard */
@media (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
    }
    
    .step {
        padding: 15px;
        text-align: center;
    }
    
    .campaign-types {
        grid-template-columns: 1fr;
    }
    
    .pricing-packages {
        grid-template-columns: 1fr;
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-content {
        padding: 25px 20px;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Banner Management Styles */
.banner-management {
    padding: 0;
}

.banner-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.create-banner-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.create-banner-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Banner Statistics */
.banner-stats {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card.active {
    border-color: #10b981;
}

.stat-card.views {
    border-color: #3b82f6;
}

.stat-card.clicks {
    border-color: #f59e0b;
}

.stat-card.ctr {
    border-color: #8b5cf6;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-icon.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.views {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.stat-icon.clicks {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon.ctr {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.stat-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
}

.stat-change.positive {
    background: #d1fae5;
    color: #065f46;
}

.stat-change.neutral {
    background: #fef3c7;
    color: #92400e;
}

.stat-change.negative {
    background: #fee2e2;
    color: #dc2626;
}

/* Banner Section */
.banners-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.banners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.banners-header h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.banner-filters select {
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.banner-filters select:focus {
    outline: none;
    border-color: #7c3aed;
}

/* Banner Grid */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.banner-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.banner-card.active {
    border-color: #10b981;
}

.banner-card.pending {
    border-color: #f59e0b;
}

.banner-card.completed {
    border-color: #6b7280;
}

.banner-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.banner-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.banner-status.active {
    background: #10b981;
}

.banner-status.pending {
    background: #f59e0b;
}

.banner-status.completed {
    background: #6b7280;
}

.banner-info {
    padding: 20px;
}

.banner-info h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.banner-description {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.banner-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 13px;
}

.detail-item i {
    color: #9ca3af;
    width: 14px;
}

.banner-metrics {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.metric-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-status-info {
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 13px;
    margin-bottom: 8px;
}

.status-item i {
    color: #f59e0b;
    width: 16px;
}

.banner-actions {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

.banner-actions .btn-secondary {
    padding: 8px 16px;
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-actions .btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.banner-actions .btn-danger {
    padding: 8px 16px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-actions .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

/* Responsive adjustments for banners */
@media (max-width: 768px) {
    .banner-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banners-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Banner Creator Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content.banner-creator {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 30px;
    top: 30px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.banner-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #7c3aed;
    font-size: 18px;
}

/* Banner Areas */
.banner-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.banner-area-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.banner-area-option:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.banner-area-option.selected {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

.area-dimensions {
    margin-bottom: 15px;
}

.dimensions {
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
}

.banner-area-option.selected .dimensions {
    color: white;
}

.location {
    display: block;
    color: #6b7280;
    font-size: 14px;
    margin-top: 5px;
}

.banner-area-option.selected .location {
    color: rgba(255, 255, 255, 0.8);
}

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

.area-reach {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.banner-area-option.selected .area-reach {
    color: rgba(255, 255, 255, 0.8);
}

.area-price {
    font-weight: 600;
    font-size: 16px;
    color: #059669;
}

.banner-area-option.selected .area-price {
    color: white;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
    position: relative;
}

.upload-area:hover {
    border-color: #7c3aed;
    background: #f8faff;
}

.upload-placeholder i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.upload-placeholder p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 10px;
}

.upload-note {
    color: #9ca3af;
    font-size: 14px !important;
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.image-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #dc2626;
}

/* Dimension Guidelines */
.dimension-guidelines {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.dimension-guidelines h4 {
    color: #0369a1;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guidelines-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 14px;
}

.guidelines-list li:last-child {
    margin-bottom: 0;
}

.guidelines-list i {
    color: #10b981;
    font-size: 12px;
}

/* Content Fields */
.content-fields {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.char-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    color: #9ca3af;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
}

.form-help {
    color: #6b7280;
    font-size: 12px;
    margin-top: 5px;
}

/* Duration Options */
.duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.duration-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.duration-option input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.duration-content {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.duration-option:hover .duration-content {
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.duration-option input:checked + .duration-content {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

.duration-period {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 8px;
}

.duration-option input:checked + .duration-content .duration-period {
    color: white;
}

.duration-price {
    font-weight: 700;
    font-size: 18px;
    color: #059669;
}

.duration-option input:checked + .duration-content .duration-price {
    color: white;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f59e0b;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.duration-option.popular .duration-content {
    border-color: #f59e0b;
}

/* Cost Summary Banner */
.cost-summary-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
}

.cost-summary-banner h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cost-breakdown-banner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 5px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-outline {
    background: transparent;
    color: #7c3aed;
    border-color: #7c3aed;
}

.btn-outline:hover {
    background: #7c3aed;
    color: white;
}

/* Responsive Design for Banner Creator */
@media (max-width: 768px) {
    .modal-content.banner-creator {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .banner-form {
        padding: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .banner-areas {
        grid-template-columns: 1fr;
    }
    
    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Education Sponsorship Styles */
.education-sponsorship {
    padding: 0;
}

.education-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.education-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.education-header p {
    margin: 0 0 25px 0;
    font-size: 16px;
    opacity: 0.9;
}

.education-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.education-stats {
    margin-bottom: 40px;
}

/* Education Catalog */
.education-catalog {
    margin-bottom: 40px;
}

.education-catalog .education-info h4 {
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

/* Force styling for all education card titles */
.education-card .education-info h4,
.education-grid .education-card .education-info h4,
div[data-category] .education-info h4 {
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    display: block !important;
}

/* Override any inherited styles */
#education-tab h4,
#education-tab .education-info h4 {
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

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

.catalog-header h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-header h3 i {
    color: #10b981;
    font-size: 20px;
}

.catalog-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    min-width: 120px;
}

.filter-select:focus {
    outline: none;
    border-color: #10b981;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.education-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.education-thumbnail,
.education-grid .education-thumbnail,
.education-card .education-thumbnail,
div[data-category] .education-thumbnail {
    position: relative !important;
    height: 180px !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
    background: #f3f4f6 !important;
}

.education-thumbnail img,
.education-grid .education-thumbnail img,
.education-card .education-thumbnail img,
div[data-category] .education-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.education-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.sponsored-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.education-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.education-category {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.education-info h4 {
    color: #1f2937 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

.education-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.education-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.education-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
}

.education-stats .stat-item i {
    color: #10b981;
    font-size: 12px;
}

/* Sponsorship Pricing */
.sponsorship-pricing {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.pricing-options {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.price-option {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-option:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.price-option.popular {
    border-color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    position: relative;
}

.price-option.popular::before {
    content: "Popüler";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.price-duration {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.price-amount {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.price-option.popular .price-amount {
    color: white;
}

.price-discount {
    display: block;
    font-size: 10px;
    color: #10b981;
    margin-top: 2px;
    font-weight: 600;
}

.price-option.popular .price-discount {
    color: rgba(255, 255, 255, 0.8);
}

.current-sponsor {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.current-sponsor i {
    color: #10b981;
}

/* Education Actions */
.education-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.education-actions .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 2px solid transparent;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.education-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.education-actions .btn-secondary {
    background: #f8fafc;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    min-width: 100px;
}

.education-actions .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.education-actions .btn-outline {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    min-width: 110px;
}

.education-actions .btn-outline:hover {
    background: #10b981;
    color: white;
}

.btn-disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Active Sponsorships */
.active-sponsorships {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
}

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

.sponsorships-header h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sponsorship-filters {
    display: flex;
    gap: 15px;
}

.sponsorship-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sponsorship-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sponsorship-item:hover {
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
}

.sponsorship-item.active {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.sponsorship-item.pending {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.sponsorship-info {
    flex: 1;
}

.sponsorship-education {
    margin-bottom: 15px;
}

.sponsorship-education h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.sponsorship-education .education-category {
    font-size: 12px;
}

.sponsorship-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.sponsorship-details .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.sponsorship-details .detail-item i {
    color: #10b981;
    font-size: 13px;
}

.sponsorship-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #10b981;
    color: white;
}

.status-badge.pending {
    background: #f59e0b;
    color: white;
}

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

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.btn-icon:hover {
    border-color: #10b981;
    color: #10b981;
    background: #f0fdf4;
}

/* Contact Platform Modal Button */
.btn-secondary i.fa-phone {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .catalog-filters {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .education-actions {
        flex-direction: column;
    }
    
    .education-actions .btn-primary,
    .education-actions .btn-secondary,
    .education-actions .btn-outline {
        min-width: auto;
        width: 100%;
    }
    
    .pricing-options {
        flex-direction: column;
    }
    
    .price-option {
        min-width: auto;
    }
    
    .sponsorship-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .sponsorship-status {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    .sponsorship-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== CAMPAIGNS MANAGEMENT STYLES ===== */
.campaigns-management {
    padding: 0;
}

.campaigns-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.campaigns-header h2 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
}

.campaigns-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 16px;
}

.create-campaign-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.create-campaign-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.campaigns-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 30px;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    padding: 0 30px;
}

.campaign-announcement {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.campaign-announcement:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.campaign-announcement.active {
    border-color: #10b981;
}

.campaign-announcement.paused {
    border-color: #f59e0b;
}

.campaign-announcement.draft {
    border-color: #6b7280;
}

.campaign-header {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.campaign-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.campaign-badge.paused {
    background: #fef3c7;
    color: #d97706;
}

.campaign-badge.draft {
    background: #f3f4f6;
    color: #6b7280;
}

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

.campaign-content {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.campaign-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.campaign-icon.vitamin {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.campaign-icon.allergy {
    background: linear-gradient(135deg, #059669, #10b981);
}

.campaign-icon.supplement {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.campaign-icon.skincare {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.campaign-info {
    flex: 1;
}

.campaign-info h4 {
    color: #1f2937;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.campaign-info p {
    color: #6b7280;
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
}

.campaign-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 12px;
}

.meta-item i {
    color: #9ca3af;
    font-size: 12px;
}

.campaign-participation {
    padding: 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participation-stats {
    display: flex;
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.participate-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.participate-btn:hover:not(.disabled) {
    background: #4338ca;
    transform: translateY(-1px);
}

.participate-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Campaign Creator Modal */
.campaign-creator {
    max-width: 800px !important;
    max-height: 90vh;
    overflow-y: auto;
}

.campaign-form .form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.campaign-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.campaign-form h4 {
    color: #1f2937;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.campaign-form h4 i {
    color: #4f46e5;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0 !important;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-group .form-help {
    margin-top: 6px;
    margin-left: 32px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaigns-header {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }
    
    .campaigns-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .campaign-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .campaign-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .campaign-participation {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .participation-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .campaigns-stats {
        grid-template-columns: 1fr;
    }
    
    .participation-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        padding: 10px 15px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }
    
    .stat-number, .stat-label {
        display: inline;
        margin: 0;
    }
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0 0 0;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.footer-logo .diji {
    color: #dc2626;
    font-size: 2rem;
    font-weight: 800;
}
.footer-logo .pharma {
    color: #3b82f6;
    font-size: 2rem;
    font-weight: 800;
}
.pill-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pill-icon-footer .pill {
    width: 30px;
    height: 15px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
}
.pill-icon-footer .pill-half {
    width: 50%;
    height: 100%;
}
.pill-icon-footer .red {
    background: #dc2626;
}
.pill-icon-footer .blue {
    background: #3b82f6;
}
.footer-description {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #fbbf24;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e2e8f0;
}
.contact-item i {
    color: #fbbf24;
    width: 20px;
}
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}
.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}
.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
    color: #fbbf24;
}
/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
}

/* Fixed Profile Navigation Sidebar */
.profile-nav-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 200px;
}

.profile-nav-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.profile-nav-card h3 {
    color: #1e40af;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-nav-card h3 i {
    color: #3b82f6;
}

.profile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.profile-nav-item:hover {
    background: #3b82f6;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.profile-nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Responsive Design for Profile Navigation */
@media (max-width: 1200px) {
    .profile-nav-sidebar {
        left: 10px;
        width: 180px;
    }
    
    .profile-nav-card {
        padding: 15px;
    }
    
    .profile-nav-item {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .profile-nav-sidebar {
        display: none;
    }
    
    .main-content, .main {
        margin-left: 0 !important;
    }
}

/* Main content margin adjustment for profile nav */
.main-content, .main {
    margin-left: 240px;
}

@media (max-width: 1200px) {
    .main-content, .main {
        margin-left: 210px;
    }
}