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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.community-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    cursor: pointer;
}

.dropdown-arrow {
    color: #6b7280;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    pointer-events: cursor;
}

.nav-item:hover {
    color: #1f2937;
}

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

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px 8px 36px;
    font-size: 14px;
    width: 240px;
    background-color: #f9fafb;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.search-input:focus {
    border-color: #3b82f6;
    background-color: white;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    z-index: 1;
}

.icon-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Container */
.main-container {
    display: flex;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

/* Thin Left Sidebar */
.thin-sidebar {
    width: 64px;
    background-color: white;
    border-right: 1px solid #e5e7eb;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    top: 64px;
    height: calc(100vh - 64px);
    z-index: 999;
}

.thin-sidebar-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.thin-sidebar-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.sparkle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sparkle-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    transform: scale(1.05);
}

/* Main Sidebar */
.sidebar {
    width: 280px;
    background-color: white;
    border-right: 1px solid #e5e7eb;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: fixed;
    left: 64px;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

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

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-item:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.sidebar-item.active {
    color: #6b7280;
}

.sidebar-item.selected {
    background-color: #1f2937;
    color: white;
}

.close-icon {
    color: #9ca3af;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.create-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.create-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.link-item:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.go-live-container {
    margin-top: auto;
    padding-top: 24px;
}

.go-live-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.go-live-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.powered-by {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 16px;
}

.gamify-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            width: 100vw;
            background: white;
            padding: 15px;
            border-bottom: 1px solid #e5e7eb;
            height: 60px;
        }

        .gamify-header h1 {
            font-size: 24px;
            font-weight: 600;
            color: #2c3e50;
            margin-left: 8vw;
        }


        .dashboard-container {
            max-width: 80vw;
            margin: 0 auto;
            padding: 20px;
margin-top: -650px;
        }

        /* Header Styles */
        .dashboard-header {
            background: transparent;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 24px 32px;
            margin-bottom: 24px;
        }

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

        .header-content h1 {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
        }

        .header-stats {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #666;
            font-size: 14px;
        }

        .status-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
        }

        .status-badge.draft {
            background: #e8f5e8;
            color: #2d7a2d;
        }

        .divider {
            color: #ddd;
        }

        .club-type {
            text-decoration: underline;
            color: #666;
        }

        .edit-button {
            background: #333;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .edit-button:hover {
            background: #444;
            transform: translateY(-1px);
        }

        /* Quick Stats */
        .quick-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }

        .stat-card {
            background: transparent;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: border-color 0.2s;
        }

        .stat-card:hover {
            border-color: #c0c0c0;
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .stat-icon.purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .stat-icon.blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .stat-icon.green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        .stat-icon.orange { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

        .stat-content h3 {
            font-size: 14px;
            color: #666;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .stat-number {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
        }

        /* Main Grid */
        .main-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 24px;
        }

        /* Dashboard Cards */
        .dashboard-card {
            background: transparent;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            overflow: hidden;
            transition: border-color 0.2s;
        }

        .dashboard-card:hover {
            border-color: #c0c0c0;
        }

        .dashboard-card.large {
            grid-column: span 2;
            height: 350px;
        }

        .dashboard-card.full-width {
            grid-column: 1 / -1;
        }

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

        .card-header h3 {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .card-content {
            padding: 24px;
        }

        /* Action Buttons */
        .action-btn {
            background: transparent;
            border: 1px solid #e0e0e0;
            color: #495057;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .action-btn:hover {
            border-color: #c0c0c0;
            background: #f8f9fa;
        }

        .action-btn.small {
            padding: 6px 12px;
            font-size: 12px;
        }

        .action-btn.secondary {
            background: #e8f4fd;
            border-color: #bee5eb;
            color: #0c5460;
        }

        /* Progress Bars */
        .progress-bar {
            width: 80%;
            height: 8px;
            background: #f0f0f0;
            border-radius: 4px;
            overflow: hidden;
            margin: 8px 0;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transition: width 0.3s ease;
        }

        .progress-fill.orange-fill {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        /* Member Analytics */
        .analytics-grid {
            margin-bottom: 24px;
        }

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

        .metric-label {
            font-size: 14px;
            color: #666;
            flex: 1;
        }

        .metric-value {
            font-weight: 600;
            color: #333;
            margin-left: 12px;
        }

        .at-risk-section {
            margin-top: 24px;
        }

        .at-risk-section h4 {
            font-size: 16px;
            color: #333;
            margin-bottom: 12px;
        }

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

        .member-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            margin-bottom: 10px;
        }

        .risk-badge {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
        }

        .risk-badge.high {
            background: #fee;
            color: #d63384;
        }

        .risk-badge.medium {
            background: #fff3cd;
            color: #b45309;
        }

        /* Performance Indicators */
        .performance-indicator {
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
        }

        .performance-indicator.green {
            background: #e8f5e8;
            color: #2d7a2d;
        }

        /* Event Stats */
        .event-stats {
            margin-bottom: 20px;
        }

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

        .event-label {
            font-size: 14px;
            color: #666;
        }

        .event-value {
            font-weight: 600;
            color: #333;
        }

        .event-value.positive {
            color: #28a745;
        }

        .stars {
            color: #ffc107;
            margin-right: 8px;
        }

        .improvement-suggestions h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
        }

        .improvement-suggestions ul {
            list-style: none;
            padding-left: 16px;
        }

        .improvement-suggestions li {
            font-size: 13px;
            color: #666;
            margin-bottom: 4px;
            position: relative;
        }

        .improvement-suggestions li::before {
            content: "•";
            color: #667eea;
            position: absolute;
            left: -12px;
        }

        /* Budget Chart & Approvals */
        .budget-overview {
            margin-bottom: 20px;
        }

        .pending-approvals h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 12px;
            margin-top: -170px;
        }

        .approval-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }

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

        .approval-desc {
            font-size: 13px;
            color: #666;
        }

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

        .approve-btn, .reject-btn {
            width: 28px;
            height: 28px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .approve-btn {
            background: #e8f5e8;
            color: #28a745;
        }

        .reject-btn {
            background: #fee;
            color: #dc3545;
        }

        /* Compliance Monitor */
        .compliance-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .compliance-status.warning {
            background: #fff3cd;
            color: #b45309;
        }

        .compliance-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .compliance-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 8px;
        }

        .compliance-item.urgent {
            background: #fee;
            border-left: 4px solid #dc3545;
        }

        .compliance-item.warning {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
        }

        .compliance-item.complete {
            background: #e8f5e8;
            border-left: 4px solid #28a745;
        }

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

        .compliance-title {
            font-weight: 500;
            font-size: 14px;
            color: #333;
        }

        .compliance-deadline {
            font-size: 12px;
            color: #666;
        }

        /* AI Event Optimizer */
        .ai-badge {
            padding: 4px 12px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .ai-suggestions {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .suggestion-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            border-left: 4px solid #667eea;
        }

        .suggestion-icon {
            font-size: 20px;
            margin-top: 2px;
        }

        .suggestion-content h4 {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .suggestion-content p {
            font-size: 13px;
            color: #666;
            margin: 0;
        }

        /* Member Feedback */
        .sentiment-analysis {
            margin-bottom: 20px;
        }

        .sentiment-analysis h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 12px;
        }

        .sentiment-score {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            border-radius: 8px;
        }

        .sentiment-score.positive {
            border: 1px solid #c3e6c3;
        }

        .sentiment-emoji {
            font-size: 20px;
        }

        .sentiment-value {
            font-weight: 600;
            color: #28a745;
        }

        .recent-feedback h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 12px;
        }

        .feedback-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }

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

        .feedback-text {
            font-size: 13px;
            color: #666;
            font-style: italic;
        }

        .feedback-sentiment {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
        }

        .feedback-sentiment.positive {
            background: #e8f5e8;
            color: #28a745;
        }

        .feedback-sentiment.neutral {
            background: #fff3cd;
            color: #b45309;
        }

        /* Smart Scheduling */
        .schedule-optimization h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 16px;
        }

        .time-slot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            margin-bottom: 8px;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            position: relative;
        }

        .time-slot.best {
            background: #e8f5e8;
            border-color: #28a745;
        }

        .time-slot.good {
            background: #e7f3ff;
            border-color: #0066cc;
        }

        .time-slot.fair {
            background: #fff3cd;
            border-color: #ffc107;
        }

        .time {
            font-weight: 600;
            color: #333;
        }

        .availability {
            font-size: 13px;
            color: #666;
        }

        .recommendation-badge {
            position: absolute;
            top: -8px;
            right: 8px;
            background: #28a745;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
        }

        /* Alumni Network */
        .network-stats {
            padding: 4px 12px;
            background: #e7f3ff;
            color: #0066cc;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

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

        .engagement-metric {
            text-align: center;
            padding: 16px 12px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
        }

        .engagement-metric .metric-label {
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
            display: block;
        }

        .engagement-metric .metric-value {
            font-size: 24px;
            font-weight: 700;
            color: #333;
        }

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

        /* Predictive Alerts */
        .automation-status {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #666;
            font-size: 13px;
        }

        .status-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .status-indicator.active {
            background: #28a745;
            animation: pulse 2s infinite;
        }

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

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

        .alert-section h4 {
            font-size: 16px;
            color: #333;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .alert-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 8px;
        }

        .alert-item.urgent {
            background: #fee;
            border-left: 4px solid #dc3545;
        }

        .alert-item.warning {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
        }

        .alert-item.info {
            background: #e7f3ff;
            border-left: 4px solid #0066cc;
        }

        .alert-item.caution {
            background: #ffeaa7;
            border-left: 4px solid #fdcb6e;
        }

        .alert-item.positive {
            background: #e8f5e8;
            border-left: 4px solid #28a745;
        }

        .alert-icon {
            font-size: 16px;
        }

        .alert-text {
            font-size: 13px;
            color: #666;
        }

        /* Integration Hub */
        .integrations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
        }

        .integration-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            transition: all 0.2s;
        }

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

        .integration-item.connected {
            border-color: #28a745;
        }

        .integration-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .integration-info {
            flex: 1;
        }

        .integration-info h4 {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .integration-status {
            font-size: 12px;
            color: #666;
        }

        .integration-metrics {
            text-align: right;
        }

        .integration-metrics .metric {
            font-size: 12px;
            color: #28a745;
            font-weight: 500;
        }

        .connect-btn {
            background: #667eea;
            color: white;
            border: none;
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }

        .connect-btn:hover {
            background: #5a6fd8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .dashboard-container {
                padding: 16px;
            }

            .header-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .quick-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .main-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-card.large,
            .dashboard-card.full-width {
                grid-column: span 1;
            }

            .alerts-grid {
                grid-template-columns: 1fr;
            }

            .alumni-engagement {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .quick-stats {
                grid-template-columns: 1fr;
            }

            .card-header {
                padding: 16px 20px;
            }

            .card-content {
                padding: 20px;
            }
        }


        .club-selector-container {
    position: relative;
    display: inline-block;
}

.club-dropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: black;
    font-size: 24px;
    font-weight: 700;
    padding: 12px 40px 12px 16px;
    min-width: 300px;
    cursor: pointer;
    margin-left: 6vw;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 6000;
}

.club-dropdown:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.club-dropdown:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.club-dropdown option {
    background: #2a2a2a;
    color: white;
    padding: 8px;
}

.dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
    opacity: 0.7;
}

.club-selector-container:hover .dropdown-icon {
    opacity: 1;
}

/* Budget Control Center - Enhanced CSS */
.budget-section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
}

.budget-section h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-section h3 svg {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

/* Checklist Styles */
.checklist-container {
  margin-top: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.checklist-item:hover {
  background: #f9fafb;
  border-radius: 6px;
}

.checklist-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

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

.checklist-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checklist-item span {
  flex: 1;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
}

.checklist-item span.completed {
  text-decoration: line-through;
  color: #9ca3af;
}

.checklist-item .delete-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  padding: 0 8px;
  transition: all 0.2s ease;
}

.checklist-item .delete-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}

#checklistItemInput {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

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

#addChecklistItem {
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

#addChecklistItem:hover {
  background-color: #2563eb;
}

#addChecklistItem:active {
  transform: scale(0.98);
}

/* Approvals Section */
.approval-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.approval-desc {
  font-size: 14px;
  color: #374151;
  flex: 1;
}

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

.approve-btn, .reject-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.approve-btn {
  background-color: #10b981;
  color: white;
}

.reject-btn {
  background-color: #ef4444;
  color: white;
}

.approve-btn:hover {
  background-color: #059669;
  transform: scale(1.05);
}

.reject-btn:hover {
  background-color: #dc2626;
  transform: scale(1.05);
}

/* New Request Button */
#newRequestBtn {
  background-color: #ffffff;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

#newRequestBtn:hover {
  background-color: #f0f7ff;
}

#newRequestBtn:active {
  transform: scale(0.98);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 20px;
  color: #9ca3af;
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .budget-section {
    padding: 16px;
  }
  
  .approval-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .approval-actions {
    align-self: flex-end;
  }
}

/* Animation for new items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checklist-item, .approval-item {
  animation: fadeIn 0.3s ease-out;
}

/* Tooltip for buttons */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 6px;
}

[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
  margin-bottom: 2px;
}