/* _content/AmpleContactForm/Components/Layout/MainLayout.razor.rz.scp.css */
/* Main Layout */
.page[b-iafuecsymt] {
    position: relative;
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: var(--body-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

/* Main Content Area */
main[b-iafuecsymt] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-left: 280px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    background-color: var(--body-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Navigation Sidebar */
.nav-container[b-iafuecsymt] {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background-color: var(--sidebar-bg);
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-lg);
    border-radius: 0 24px 24px 0;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

    /* Collapsed Navigation */
    .nav-container.collapsed[b-iafuecsymt] {
        width: 80px;
    }

        .nav-container.collapsed .nav-item span[b-iafuecsymt] {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease;
        }

.page:has(.nav-container.collapsed) main[b-iafuecsymt] {
    margin-left: 80px;
}

/* Top Navigation Bar */
.top-row[b-iafuecsymt] {
    background-color: rgba(var(--content-bg-rgb), 0.8);
    border-bottom: 1px solid var(--border-color);
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Content Area */
.content[b-iafuecsymt] {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    background-color: var(--body-bg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    scroll-behavior: smooth;
}

    /* Enhanced Scrollbar */
    .content[b-iafuecsymt]::-webkit-scrollbar {
        width: 8px;
    }

    .content[b-iafuecsymt]::-webkit-scrollbar-track {
        background: transparent;
    }

    .content[b-iafuecsymt]::-webkit-scrollbar-thumb {
        background: var(--scroll-thumb);
        border-radius: 4px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

        .content[b-iafuecsymt]::-webkit-scrollbar-thumb:hover {
            background: var(--scroll-thumb-hover);
        }

/* Blazor Error UI */
#blazor-error-ui[b-iafuecsymt] {
    background-color: var(--content-bg);
    color: var(--text-primary);
    bottom: 0;
    box-shadow: var(--shadow-lg);
    display: none;
    left: 0;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
    animation: slideUp-b-iafuecsymt 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.theme-dark #blazor-error-ui[b-iafuecsymt] {
    background-color: rgba(var(--sidebar-bg-rgb), 0.95);
    box-shadow: var(--shadow-xl);
}

#blazor-error-ui .dismiss[b-iafuecsymt] {
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    #blazor-error-ui .dismiss:hover[b-iafuecsymt] {
        background-color: var(--hover-bg);
        color: var(--primary-color);
        transform: translateY(-50%) scale(1.05);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container[b-iafuecsymt] {
        transform: translateX(-100%);
        border-radius: 0;
        box-shadow: var(--shadow-xl);
    }

        .nav-container.show[b-iafuecsymt] {
            transform: translateX(0);
        }

    main[b-iafuecsymt] {
        margin-left: 0 !important;
    }

    .top-row[b-iafuecsymt] {
        padding: 0 1.5rem;
        height: 64px;
    }

    .content[b-iafuecsymt] {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes slideIn-b-iafuecsymt {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp-b-iafuecsymt {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn-b-iafuecsymt {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Content Animations */
.content > *[b-iafuecsymt] {
    animation: fadeIn-b-iafuecsymt 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Navigation Item Hover Effects */
.nav-item[b-iafuecsymt] {
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .nav-item:hover[b-iafuecsymt] {
        background-color: var(--hover-bg);
        transform: translateX(4px);
    }

    /* Active Navigation Styles */
    .nav-item.active[b-iafuecsymt] {
        background-color: var(--active-bg);
        border-right: 3px solid var(--primary-color);
    }
/* _content/AmpleContactForm/Components/Layout/NavMenu.razor.rz.scp.css */
.brand-container[b-tarh3zyg0j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    width: 100%;
    transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
    justify-content: center;
    padding-top: 5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.brand-logo[b-tarh3zyg0j] {
    height: 36px;
    min-width: 36px;
    object-fit: contain;
    transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
}

.navbar-brand[b-tarh3zyg0j] {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
    overflow: hidden;
    white-space: nowrap;
}

.brand-text[b-tarh3zyg0j] {
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-subtitle[b-tarh3zyg0j] {
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-scrollable[b-tarh3zyg0j] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.75rem;
}

.nav-section[b-tarh3zyg0j] {
    margin-bottom: 1.5rem;
    padding: 0;
}

.nav-item[b-tarh3zyg0j] {
    margin: 0.125rem 0;
    position: relative;
}

.nav-link[b-tarh3zyg0j] {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
    gap: 0.75rem;
    position: relative;
    font-weight: 500;
}

    .nav-link i[b-tarh3zyg0j] {
        font-size: 1.25rem;
        min-width: 1.5rem;
        text-align: center;
        transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
    }

.nav-text[b-tarh3zyg0j] {
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.14, 0.4, 0.09, 0.99);
    white-space: nowrap;
}

/* Scrollbar styling */
.nav-scrollable[b-tarh3zyg0j]::-webkit-scrollbar {
    width: 4px;
}

.nav-scrollable[b-tarh3zyg0j]::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 4px;
}

    .nav-scrollable[b-tarh3zyg0j]::-webkit-scrollbar-thumb:hover {
        background: var(--scroll-thumb-hover);
    }

.nav-scrollable[b-tarh3zyg0j]::-webkit-scrollbar-track {
    background: transparent;
}
