/* CAPTURE Application Styles */
/* Extracted from inline styles for CSP compliance */

/* Chat typing animation */
@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #6c757d;
}

.typing-indicator-card {
    max-width: 220px;
    border-radius: 14px;
    background-color: #f8f9fa;
}

/* Chat header developer signals separator */
.text-muted-50 {
    color: rgba(108, 117, 125, 0.5);
}

/* Message action buttons */
.message-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.message-actions .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

/* Attribution badges */
.attribution-badge {
    display: inline-block;
    background-color: #f0f2f5;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 8px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.attribution-badge a {
    color: #0d6efd;
    text-decoration: none;
}

.attribution-badge a:hover {
    text-decoration: underline;
}

.attribution-source {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    margin-left: 4px;
}

/* Developer mode: hide by default, show when .dev-mode is on body */
.dev-mode-hidden {
    display: none !important;
}

body.dev-mode .dev-mode-hidden {
    display: block !important;
}

/* Hide info panels in non-zoomed columns */
.search-column.hide-info-panel .card.border-0.mb-3 {
    display: none !important;
}

:root {
    --lexical-theme-dark-color: rgb(5, 57, 246);
    --lexical-theme-light-color: rgb(113, 168, 245);
    --semantic-theme-dark-color: #104552;
    --semantic-theme-light-color: #32a7c4;
    --retrieval-theme-dark-color: #791f32;
    --retrieval-theme-light-color: #F7A53B;
}

/* Chat UI Styles */
.chat-card-body {
    display: flex;
    flex-direction: column;
    height: 70vh;
}

.chat-thread-container {
    min-height: 300px;
}

.chat-message-input {
    resize: none;
}

.chat-message-icon {
    font-size: 1.5rem;
}

/* Compact badge for chat conversation info (replaces inline styles) */
#chatConversationInfo {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

/* Meeting Insights UI Styles */
.meetings-list-container {
    max-height: 500px;
    overflow-y: auto;
}

.meeting-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.meeting-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.meeting-insights-results {
    max-height: 550px;
    overflow-y: auto;
}

.insight-content {
    line-height: 1.6;
}

.insight-content ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.insight-content h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Lexical Theme */
.lexical-header {
    background: linear-gradient(135deg, var(--lexical-theme-dark-color), var(--lexical-theme-light-color));
    box-shadow: 0 2px 4px rgba(75, 85, 99, 0.18);
    color: #ffffff !important;
}

.lexical-color {
    color: var(--lexical-theme-dark-color) !important;
}

/* Semantic Theme */
.semantic-color {
    color: var(--semantic-theme-dark-color) !important;
}

.semantic-header {
    background: linear-gradient(135deg, var(--semantic-theme-dark-color), var(--semantic-theme-light-color));
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.18);
    color: #ffffff !important;
}

/* Retrieval Theme */
.retrieval-color {
    color: var(--retrieval-theme-dark-color) !important;
}

.retrieval-header {
    background: linear-gradient(135deg, var(--retrieval-theme-dark-color), var(--retrieval-theme-light-color));
    box-shadow: 0 2px 4px rgba(192, 97, 25, 0.18);
    color: #ffffff !important;
}

.bi-arrows-expand-vertical.expanded {
    color: #9333EA !important;
    background: #f3f0ff;
    border-radius: 4px;
    box-shadow: 0 0 6px 1px rgba(107, 70, 193, 0.12);
    transition: background 0.2s, color 0.2s;
}

.navbar-custom {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #A855F7 100%);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.25);
    padding: 0.25rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    cursor: pointer;
}

/* Active Navigation State */
.dropdown-item.active {
    background-color: #9333EA !important;
    color: #ffffff !important;
    font-weight: 600;
}

.dropdown-item.active i {
    color: #ffffff !important;
}

/* Active state for parent dropdown toggle */
.secondary-navbar .nav-link.dropdown-toggle.active {
    background-color: rgba(147, 51, 234, 0.2) !important;
    color: #9333EA !important;
    font-weight: 700;
    border-bottom: 2px solid #9333EA;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    margin: 0 0.1rem;
    padding: 0.3rem 0.5rem !important;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Responsive navbar improvements */
@media (max-width: 991.98px) {
    .navbar-custom .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.1rem 0;
    }
}

@media (max-width: 767.98px) {
    .navbar-custom .navbar-brand {
        font-size: 1.0rem;
    }

    .navbar-custom .nav-link {
        font-size: 0.9rem;
    }
}

.navbar-custom .nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.navbar-custom .nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* Fancy Rainbow Gradient AI Chat Button */
.rainbow-ai-btn {
    background: linear-gradient(90deg, #ff6b6b, #f7b32b, #53d8fb, #a259f7, #ff6b6b);
    background-size: 200% 200%;
    color: #fff !important;
    border: none;
    border-radius: 24px !important;
    box-shadow: 0 0 16px 2px rgba(162, 89, 247, 0.25), 0 2px 8px rgba(255, 255, 255, 0.15);
    font-weight: 700;
    transition: background-position 0.5s, box-shadow 0.3s;
    /* animation: rainbow-move 3s linear infinite; */
    position: relative;
}

.rainbow-ai-btn:hover,
.rainbow-ai-btn.active {
    background-position: right center;
    box-shadow: 0 0 24px 4px rgba(162, 89, 247, 0.35), 0 4px 16px rgba(255, 255, 255, 0.25);
    color: #fff !important;
}

@keyframes rainbow-move {
    0% {
        background-position: left center;
    }

    100% {
        background-position: right center;
    }
}

.header-dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    z-index: 10003 !important;
}

.dropdown-header {
    color: #6B46C1;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    margin-bottom: 0.5rem;
}

.header-dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 0.1rem 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.header-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(147, 51, 234, 0.05));
    color: #6B46C1;
    transform: translateX(4px);
}

.header-dropdown-item .badge {
    margin-left: auto;
}

/* Secondary Navigation Bar Styling */
.secondary-navbar {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(147, 51, 234, 0.05));
    border-bottom: 1px solid rgba(107, 70, 193, 0.15);
    padding: 0.15rem 0;
}

.secondary-navbar .nav-link {
    color: #6B46C1 !important;
    font-size: 0.8rem;
    padding: 0.25rem 0.4rem;
    border-radius: 5px;
    transition: all 0.2s ease;
    margin-right: 0.6rem;
    font-weight: 500;
}

.secondary-navbar .nav-link:hover {
    background: rgba(107, 70, 193, 0.1);
    color: #553C9A !important;
    transform: translateY(-1px);
}

.secondary-navbar .nav-link.active {
    background: rgba(107, 70, 193, 0.15);
    color: #553C9A !important;
    font-weight: 600;
}

.secondary-navbar .badge {
    font-size: 0.6rem;
    margin-left: 0.25rem;
}

/* Responsive secondary navbar */
@media (max-width: 1199.98px) {
    .secondary-navbar .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .secondary-navbar .navbar-nav {
        flex-wrap: wrap;
    }

    .secondary-navbar .nav-link {
        font-size: 0.75rem;
        padding: 0.2rem 0.3rem;
        margin-right: 0.4rem;
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 767.98px) {
    .secondary-navbar .nav-link {
        font-size: 0.7rem;
        padding: 0.15rem 0.25rem;
        margin-right: 0.3rem;
    }

    .secondary-navbar .badge {
        font-size: 0.5rem;
    }
}

/* Ensure dropdown button groups have proper positioning */
.btn-group {
    position: relative;
    z-index: 1000;
}

/* Ensure search results header has proper overflow and positioning */
#searchResults .card-header {
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.main-content {
    min-height: calc(100vh - 100px);
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 51, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(107, 70, 193, 0.2);
    border-color: rgba(147, 51, 234, 0.3);
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #A855F7, #8B5CF6);
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.coming-soon-badge-sm {
    font-size: 0.55rem !important;
    font-weight: 600 !important;
    padding: 0.1rem 0.3rem !important;
    border-radius: 0.75rem !important;
    line-height: 1 !important;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6B46C1, #9333EA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

/* Copilot-specific styling */
.copilot-gradient {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #A855F7 100%);
}

.copilot-text-gradient {
    background: linear-gradient(45deg, #6B46C1, #9333EA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copilot-glow {
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.3);
}

/* Copilot Logo - Reusable class for consistent sizing */
.copilot-logo {
    height: 1.4em;
    margin-right: 0.25em;
    vertical-align: -0.15em;
}

.copilot-logo-sm {
    width: 1em;
    height: 1em;
    margin-right: 0.2em;
    vertical-align: -0.1em;
}

.copilot-logo-lg {
    height: 1.6em;
    margin-right: 0.3em;
    vertical-align: -0.2em;
}

/* Enhanced cards for Copilot theme */
.card {
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.btn-primary {
    background: linear-gradient(135deg, #6B46C1, #9333EA);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #553C9A, #7C3AED);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.3);
}

/* Copilot animated background */
body {
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Alert styling for Copilot theme */
.alert-info {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(147, 51, 234, 0.05));
    border: 1px solid rgba(107, 70, 193, 0.2);
    color: #6B46C1;
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ================================
   RESIZABLE SEARCH COLUMNS CSS
   ================================ */
.search-results-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    min-height: 500px;
    background: #f8f9fa;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-column {
    background: white;
    border: 1px solid #dee2e6;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.search-column:first-child {
    border-left: none;
}

.search-column:last-child {
    border-right: none;
}

.search-column-header {
    flex-shrink: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.search-results-content {
    flex: 1;
    overflow-y: auto;
}

/* Column resizer styles removed - using expand/collapse buttons instead */

/* Responsive column content */
.search-column.ultra-compact .search-result-item {
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
}

.search-column.ultra-compact .search-result-item h6 {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.search-column.ultra-compact .search-result-item small {
    font-size: 0.6rem;
}

.search-column.compact .search-result-item {
    margin-bottom: 0.75rem;
}

.search-column.compact .search-result-item h6 {
    font-size: 0.85rem;
}

.search-column.detailed .search-result-item {
    margin-bottom: 1rem;
    padding: 0;
}

/* Column preset animations */
.search-results-container.transitioning {
    transition: grid-template-columns 0.3s ease-in-out;
}

/* Loading states for each column */
.search-column .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Column badges */
.search-column-header .badge {
    font-size: 0.65rem;
}

/* Advanced Options Collapsible Styling */
.btn-link {
    color: #6c757d !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.btn-link:hover {
    color: #495057 !important;
    text-decoration: none !important;
}

.btn-link:focus {
    box-shadow: none !important;
}

/* Chevron rotation animation for both buttons */
.bi-chevron-down {
    transition: transform 0.3s ease;
}

button[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Advanced options toggle button styling */
.btn-outline-secondary .bi-chevron-down {
    transition: transform 0.3s ease;
}

.adv-theme-card {
    border: 1px solid #7c3aed;
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(124, 51, 237, 0.04);
}

.btn-sm-compact {
    padding: 0.15rem 0.4rem !important;
    font-size: 0.7rem !important;
    line-height: 1 !important;
    border-radius: 6px !important;
    min-width: 0 !important;
}

/* Override Bootstrap's default data: URL for navbar toggler icon to comply with CSP */
.navbar-toggler-icon {
    background-image: url('/images/navbar-toggler.svg') !important;
}

/* ============================================
   UTILITY CLASSES FOR CSP COMPLIANCE
   Replace inline style.display with CSS classes
   ============================================ */

/* Display utilities (Bootstrap already has d-none, d-block, but adding for clarity) */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Visibility toggle utilities */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.visible-inline {
    display: inline !important;
}

.visible-inline-block {
    display: inline-block !important;
}

.visible-flex {
    display: flex !important;
}

/* Cursor utilities */
.cursor-col-resize {
    cursor: col-resize !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

/* User select utilities */
.user-select-none {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Opacity utilities */
.opacity-100 {
    opacity: 1 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

/* Pointer events utilities */
.pointer-events-auto {
    pointer-events: auto !important;
}

.pointer-events-none {
    pointer-events: none !important;
}

/* Disabled state utility */
.disabled-state {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.enabled-state {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Cursor utilities */
.cursor-col-resize {
    cursor: col-resize !important;
}

.cursor-default {
    cursor: default !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

/* Modal backdrop utility */
.modal-backdrop-dark {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* ============================================
   LAYOUT & SPACING UTILITIES
   ============================================ */

/* Navbar utilities */
.navbar-padding-compact {
    padding: 0.25rem 0 !important;
}

.navbar-brand-no-padding {
    padding: 0px !important;
}

/* Line height utilities */
.line-height-tight {
    line-height: 1.1 !important;
}

/* Font size utilities */
.font-size-120 {
    font-size: 1.2em !important;
}

.font-size-075rem {
    font-size: 0.75rem !important;
}

.font-size-070rem {
    font-size: 0.7rem !important;
}

.font-size-080em {
    font-size: 0.8em !important;
}

.font-size-080rem {
    font-size: 0.8rem !important;
}

.font-size-085rem {
    font-size: 0.85rem !important;
}

.font-size-095em {
    font-size: 0.95em !important;
}

.font-size-2rem {
    font-size: 2rem !important;
}

.font-size-3rem {
    font-size: 3rem !important;
}

.font-size-4rem {
    font-size: 4rem !important;
}

/* Font weight utilities */
.font-weight-400 {
    font-weight: 400 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.font-weight-700 {
    font-weight: 700 !important;
}

/* Height utilities */
.height-3em {
    height: 3em !important;
}

.height-4rem {
    height: 4rem !important;
}

.min-height-40px {
    min-height: 40px !important;
}

/* Margin utilities */
.margin-left-025em {
    margin-left: 0.25em !important;
}

.margin-left-04rem {
    margin-left: 0.4rem !important;
}

.margin-top-negative-10px {
    margin-top: -10px !important;
}

/* Vertical align utilities */
.vertical-align-middle {
    vertical-align: middle !important;
}

/* Text decoration utilities */
.text-decoration-underline {
    text-decoration: underline !important;
}

/* Color utilities */
.color-inherit {
    color: inherit !important;
}

.color-white-important {
    color: #ffffff !important;
}

.text-white-shadow {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.text-success-dark {
    color: #155724 !important;
}

.text-info-dark {
    color: #0c5460 !important;
}

/* List utilities */
.list-style-none {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Border utilities */
.border-2-primary {
    border: 2px solid #007bff !important;
}

/* Background utilities */
.bg-gradient-purple {
    background: linear-gradient(135deg, #6B46C1, #9333EA) !important;
    border: none !important;
}

.bg-gradient-rainbow {
    background: linear-gradient(90deg, #ff6b6b, #f7b32b, #53d8fb, #a259f7) !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 0 16px 2px rgba(162, 89, 247, 0.18) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb) !important;
}

/* Input/checkbox custom styles */
.checkbox-purple {
    background-color: #6B46C1 !important;
    border-color: #6B46C1 !important;
}

/* Overflow utilities */
.overflow-y-auto {
    overflow-y: auto !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

/* ===== Dynamic Content Styles ===== */
/* These classes are used in dynamically generated HTML via CAPTUREPolicies.setInnerHTML() */

/* Font size utilities for dynamic content */
.font-size-060rem { font-size: 0.6rem !important; }
.font-size-070rem { font-size: 0.7rem !important; }
.font-size-075rem { font-size: 0.75rem !important; }
.font-size-080rem { font-size: 0.8rem !important; }
.font-size-090rem { font-size: 0.9rem !important; }
.font-size-095em { font-size: 0.95em !important; }
.font-size-098rem { font-size: 0.98rem !important; }
.font-size-1rem { font-size: 1rem !important; }
.font-size-110rem { font-size: 1.1rem !important; }
.font-size-115rem { font-size: 1.15rem !important; }
.font-size-135rem { font-size: 1.35rem !important; }
.font-size-150rem { font-size: 1.5rem !important; }
.font-size-170rem { font-size: 1.7rem !important; }
.font-size-2rem { font-size: 2rem !important; }
.font-size-3rem { font-size: 3rem !important; }
.font-size-4rem { font-size: 4rem !important; }

/* Word wrapping & breaking */
.word-wrap-break-word {
    word-wrap: break-word !important;
}

.word-break-break-all {
    word-break: break-all !important;
}

/* Pre/code block utilities */
.pre-scrollable-sm {
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.75rem;
}

.pre-scrollable-md {
    max-height: 200px;
    overflow-y: auto;
}

.pre-scrollable-lg {
    max-height: 250px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.8rem;
    line-height: 1.2;
}

.pre-scrollable-xl {
    max-height: 300px;
    overflow-y: auto;
}

.pre-scrollable-xxl {
    max-height: 400px;
    overflow: auto;
    background: #f8f9fa;
    padding: 1em;
    border-radius: 8px;
    font-size: 0.95em;
}

.pre-wrap-sm {
    white-space: pre-wrap;
    font-size: 0.75rem;
}

/* Min-width utilities */
.min-width-24px { min-width: 24px !important; }
.min-width-35px { min-width: 35px !important; }

/* Height/width utilities for dynamic content */
.avatar-circle-lg {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

.icon-btn-wrapper {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flex & display utilities */
.inline-flex-center {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.min-width-0 {
    min-width: 0 !important;
}

/* Color utilities for JSON formatting */
.json-key-blue {
    color: blue !important;
}

.json-key-darkgreen {
    color: darkgreen !important;
}

.json-value-inline {
    display: inline-block;
    overflow-x: auto;
    white-space: pre;
    max-width: 80%;
    vertical-align: middle;
}

/* Badge/copy button utilities */
.badge-copyable {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
}

.badge-copyable-wide {
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    overflow-x: auto;
    white-space: pre;
    max-width: 80%;
}

/* Modal/card styling */
.card-purple-header {
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #6B46C1 0%, #9333EA 50%, #A855F7 100%);
    color: #fff;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.08);
}

.card-elevated {
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(53, 40, 120, 0.18);
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border: none;
}

.card-info-light {
    background: linear-gradient(90deg, #e0e7ff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.07);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-warning-light {
    border-radius: 12px;
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
    color: #6B46C1;
    box-shadow: 0 2px 8px rgba(255, 108, 108, 0.08);
}

.card-error-light {
    border-radius: 12px;
    background: linear-gradient(90deg, #ffe3e3 0%, #ffb3b3 100%);
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.08);
    margin-bottom: 1.2rem;
}

/* Button styles for dynamic content */
.btn-rainbow-gradient {
    background: linear-gradient(90deg, #ff6b6b, #f7b32b, #53d8fb, #a259f7, #ff6b6b);
    color: #fff;
    font-weight: 700;
    border-radius: 24px;
    border: none;
    font-size: 1.15rem;
    box-shadow: 0 2px 12px rgba(162, 89, 247, 0.18);
    letter-spacing: 0.5px;
    padding: 0.85rem 0;
}

.icon-btn-gradient-cyan {
    background: linear-gradient(135deg, #53d8fb 0%, #a259f7 100%);
}

/* Text utilities for dynamic content */
.text-purple-bold {
    font-weight: 600;
    color: #6B46C1 !important;
}

.text-dark-bold {
    font-weight: 700;
    color: #22223b !important;
}

.text-gray-subtle {
    color: #444 !important;
}

.text-gray-label {
    font-size: 0.8rem;
    color: #6c757d !important;
}

.text-gray-label-sm {
    font-size: 0.8rem;
    line-height: 1.2;
    color: #6c757d !important;
}

/* Monospace utilities */
.monospace-wrap {
    word-wrap: break-word;
    font-family: monospace;
}

.bg-light-monospace {
    font-size: 0.8rem;
    background-color: #f8f9fa;
}

/* Padding utilities */
.padding-top-2rem {
    padding-top: 2rem;
}

.padding-card-custom {
    padding: 2rem 2rem 1.5rem 2rem;
}

/* Margin utilities */
.margin-top-120rem {
    margin-top: 1.2rem;
}

.margin-right-6px {
    margin-right: 6px;
}

/* Max-width utilities */
.max-width-700px {
    max-width: 700px;
}

/* Complex heading styles */
.heading-primary-flex {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Logo sizing in dynamic content */
.copilot-logo-3em {
    height: 3em;
    vertical-align: middle;
}

/* Pre-wrap utility */
.pre-wrap {
    white-space: pre-wrap !important;
}

/* Margin top utility */
.margin-top-2px {
    margin-top: 2px !important;
}

/* Box shadow utilities */
.box-shadow-cyan {
    box-shadow: 0 2px 8px rgba(83,216,251,0.12) !important;
}

/* MCP Inspector Panel Styles */
.mcp-tool-details-container {
    min-height: 400px;
}

.mcp-history-list-container {
    max-height: 250px;
    overflow-y: auto;
}
