:root {
    --primary-color: #2563eb;
    --sidebar-bg: #1f2937;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #4CAF50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9fafb;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-section i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-section h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.icon-button:hover {
    background-color: #f3f4f6;
    color: var(--text-primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background-color: #f3f4f6;
}

.avatar {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Main Container */
.main-container {
    display: flex;
    height: calc(100vh - 4rem);
}

/* Sidebar Styles */
.sidebar {
    width: 16rem;
    background-color: var(--sidebar-bg);
    padding: 1rem;
    transition: width 0.3s ease;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar li.active {
    background-color: var(--primary-color);
}

.sidebar li i {
    font-size: 1.25rem;
    width: 1.5rem;
}

/* Main Content */
main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1rem;
    color: var(--text-secondary);
}

.card-content .metric {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content .description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.trend-up {
    color: var(--success-color);
}

.alert-medium {
    color: var(--warning-color);
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.chart-card h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

/* News Section */
.news-section {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.view-all {
    color: var(--primary-color);
    background: none;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 4rem;
    }

    .sidebar span {
        display: none;
    }

    .charts-container {
        grid-template-columns: 1fr;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-controls {
        width: 100%;
        justify-content: center;
    }
}

/* Opportunity Feed Styles */
.opportunity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-trend.positive {
    color: var(--success-color);
}

.stat-trend.negative {
    color: var(--danger-color);
}

.stat-trend.neutral {
    color: var(--text-secondary);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.opportunity-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opportunity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.opportunity-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.opportunity-card .card-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.score {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.score.high {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.score.medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metrics {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.metrics span {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend.up {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.trend.stable {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
}

.potential.high {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.potential.medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

/* Seminar Styles */
.seminar-timeline {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seminar-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.seminar-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.seminar-card .status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status.upcoming {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.status.registration-open {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
}

.status.planning {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.seminar-card .details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.seminar-card .details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.seminar-card h4 {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.speakers ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.speakers li {
    background-color: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Alert Styles */
.alert-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alert-stats .stat-card {
    border-left: 4px solid;
}

.stat-card.high {
    border-color: var(--danger-color);
}

.stat-card.medium {
    border-color: var(--warning-color);
}

.stat-card.low {
    border-color: var(--success-color);
}

.alerts-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alert-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
}

.alert-card.high {
    border-color: var(--danger-color);
}

.alert-card.medium {
    border-color: var(--warning-color);
}

.alert-card.low {
    border-color: var(--success-color);
}

.alert-card .severity {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.severity.high {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
}

.severity.medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.severity.low {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.alert-card .category {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.alert-card .description {
    margin-bottom: 1rem;
}

.alert-card .actions {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-card .actions ul {
    list-style: none;
    margin-top: 0.5rem;
}

.alert-card .actions li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-card .meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Chart Section */
.chart-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.primary-button:hover {
    background-color: #1e40af;
} 