:root {
    --sidebar-width: 280px;
    --main-bg-color: #f8f9fa;
    --primary-color: #6610f2;
    --text-color: #212529;
    --light-text-color: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: white;
    border-right: 1px solid var(--border-color);
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
}

.content-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Home page gradient background */
.home-container {
    background: linear-gradient(135deg, #f9f9fd 0%, #e7d5f3 100%);
    padding: 2rem 3rem;
    border-radius: 15px;
    min-height: calc(100vh - 100px);
    width: 100%;
}

/* Introduction page gradient background */
.introduction-container {
    background: linear-gradient(135deg,#f9f9fd 0%, #e7d5f3 100%);
    padding: 2rem 3rem;
    border-radius: 15px;
    min-height: calc(100vh - 100px);
    width: 100%;
}

/* How it works page background */
.howitworks-container {
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 15px;
    min-height: calc(100vh - 100px);
    width: 100%;
}

/* Search box styling */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-shortcut {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--light-text-color);
}

/* Navigation styling */
.nav-section {
    margin-bottom: 15px;
}

.nav-heading {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}

.nav-heading:hover {
    color: var(--primary-color);
}

.nav-link {
    color: var(--light-text-color);
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-arrow {
    transition: transform 0.3s ease;
}

/* Badge styling */
.badge-new {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25em 0.6em;
    border-radius: 10px;
}

/* Category card styling */
.category-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    margin-bottom: 15px;
}

/* Timeline styling for How It Works page */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    border-radius: 30px;
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.timeline-content {
    padding-top: 5px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .app-container {
        flex-direction: column;
    }
}

.dark-mode-toggle {
    cursor: pointer;
    font-size: 1.2rem;
}

.collapse.show + .nav-arrow {
    transform: rotate(180deg);
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #007bff;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #343a40;
}

h1, h2, .lead {
    text-align: center;
}

.d-flex.align-items-center.mb-2 {
    justify-content: center;
}

.d-flex.gap-3.mb-5 {
    justify-content: center;
} 