:root {
    --sidebar-width: 260px;
    --header-height: 60px;
    --primary-color: #0d6efd;
    --light-gray: #f8f9fa;
    --text-color: #212529;
    --sidebar-bg: #fff;
    --sidebar-link-color: #555;
    --sidebar-link-active-bg: #e9ecef;
    --sidebar-link-active-color: var(--primary-color);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    margin: 0;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar-container {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid #dee2e6;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
    z-index: 1030;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem;
    text-align: center;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.sidebar-navigation {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-navigation .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--sidebar-link-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-navigation .nav-link i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.sidebar-navigation .nav-link:hover {
    background-color: var(--sidebar-link-active-bg);
}

.sidebar-navigation .nav-link.active {
    background-color: var(--sidebar-link-active-bg);
    color: var(--sidebar-link-active-color);
    font-weight: 600;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Main Content Styles */
.content-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding-top: var(--header-height);
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.main-content {
    padding: 2rem;
}

/* Header Styles */
.header {
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 1020;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar-container {
        transform: translateX(-100%);
    }

    .sidebar-container.is-open {
        transform: translateX(0);
    }

    .content-wrapper, .header {
        margin-left: 0;
        width: 100%;
        left: 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .main-content {
        padding: 1rem;
    }
}

/* General UI Improvements */
.card {
    border: none;
    border-radius: .75rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.btn {
    border-radius: .5rem;
    font-weight: 500;
}

/* Deals Pipeline Specific Styles */
.pipeline-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
}
.deal-stage {
    min-width: 300px;
    max-width: 300px;
    margin-right: 20px;
    background-color: #f0f2f5;
    border-radius: 8px;
    padding: 15px;
}
.deal-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.deal-card:not(.gu-mirror) {
    cursor: grab;
}
.deal-card.gu-mirror {
    cursor: grabbing;
}

.footer-section {
    padding: 40px 0;
    background-color: #343a40;
    color: #fff;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}
