/* Custom styles for AI Voice Agent Dashboard */



body {
    background-color: #f9f9f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}



.reactangle-holder {
    max-width: 740px; /* Tune this between 700px–760px for desired width */
    margin: 0 auto;
    padding: 0 1rem; /* Optional side padding for breathing room */
}

.navbar-brand {
    font-weight: bold;
}

/* Navbar links sliding underline effect */
.navbar-nav {
    position: relative;
    --underline-left: 0px;
    --underline-width: 0px;
}

.navbar-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--underline-left);
    width: var(--underline-width);
    height: 3px;
    background-color: #a5b9c9;
    transition: all 0.4s ease;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 0.5rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:active,
.navbar-nav .nav-link:focus {
    color: #a5b9c9 !important;
}

.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle:active,
.navbar-nav .dropdown-toggle:focus {
    color: #a5b9c9 !important;
}

/* Chinese text styling */
.chinese-note {
    font-family: 'Noto Sans' !important;
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}

/* Navbar brand positioning */
.tester {
    margin-left: -20px !important;
}

/* Material Symbols and navbar icon alignment */
.material-symbols-outlined {
    vertical-align: middle;
    font-size: 20px !important;
    line-height: 1 !important;
}

.navbar-nav .nav-link {
    display: flex !important;
    align-items: center !important;
}

h3{
    color: #264e86; 
    font-family: 'Tenor Sans', sans-serif;
    transition: color 0.3s ease;
}

h3:hover {
    color: #a5b9c9;
}


.card {
    border: none;
    border-radius: 10px;
}

.card:not(.menu-card):not(.try-it-now-card) {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.card:not(.menu-card):not(.try-it-now-card):not(.features-section):hover {
    /* Removed transform animation */
}

.features-section.card {
    box-shadow: none !important;
}

/* Disable hover effects for verification and login cards */
.container-fluid .card {
    box-shadow: none !important;
    transition: none !important;
}

.container-fluid .card:hover {
    transform: none !important;
}

.card-header {
    background-color: #FFFF;
    border-bottom: 2px solid #FFFF;
    border-radius: 10px 10px 0 0 !important;
}

.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.table-hover tbody tr:hover {
    background-color: rgba(44,62,137,0.05);
}

.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    /* Removed transform to eliminate jiggle effect */
}

.btn-outline-primary:hover {
    background-color: #264e86;
    border-color: #264e86;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Message bubbles */
.message-bubble {
    animation: fadeIn 0.3s ease-in-out;
}

.user-message {
    margin-left: 2rem;
}

.assistant-message {
    margin-right: 2rem;
}

.message-content {
    border-left: 4px solid #264e86;
    background-color: #f8f9fa !important;
    word-wrap: break-word;
}

.user-message .message-content {
    border-left-color: #28a745;
}

.avatar {
    font-size: 0.875rem;
}

/* Status indicators with consistent color palette */
.badge.bg-success {
    background-color: #6b916b !important;
    color: white !important;
}

.badge.bg-primary {
    background-color: #e6b422 !important;
    color: white !important;
}

.badge.bg-danger {
    background-color: #d94e41 !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #f9f9f6 !important;
    color: #444444 !important;
    border: 1px solid #a5b9c9 !important;
}

.badge.bg-info {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

.badge.bg-secondary {
    background-color: #444444 !important;
    color: white !important;
}

/* Dashboard cards with white backgrounds and borders */
.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-warning {
    background-color: white !important;
    color: #444444 !important;
    border: 2px solid #a5b9c9 !important;
    border-radius: 12px !important;
}

.card.bg-primary {
    background-color: white !important;
    color: #444444 !important;
    border: 2px solid #a5b9c9 !important;
}

.card.bg-success {
    background-color: white !important;
    color: #444444 !important;
    border: 2px solid #a5b9c9 !important;
}

.card.bg-info {
    background-color: white !important;
    color: #444444 !important;
    border: 2px solid #a5b9c9 !important;
}

.card.bg-warning {
    background-color: white !important;
    color: #444444 !important;
    border: 2px solid #a5b9c9 !important;
}

.card.bg-primary .card-body,
.card.bg-success .card-body,
.card.bg-info .card-body,
.card.bg-warning .card-body {
    padding: 1.5rem;
}

/* Search and filter inputs */
.input-group {
    border-radius: 6px;
}

.form-select,
.form-control {
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background-color: white;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group-text {
    background-color: white;
    border: 1px solid #e9ecef;
}

.form-select:focus,
.form-control:focus {
    border-color: #264e86;
    box-shadow: 0 0 0 0.2rem rgba(44,62,137,0.25);
}

/* Pagination */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: 1px solid #f8f9fa;
}

.pagination .page-item.active .page-link {
    background-color: #264e86;
    border-color: #264e86;
    color: white;
}

.pagination .page-link:hover {
    background-color: #c8d6e1;
    border-color: #c8d6e1;
    color: #444444;
}

.pagination .page-link:focus {
    background-color: #c8d6e1;
    border-color: #c8d6e1;
    color: #444444;
    box-shadow: none;
}

/* Override any default Bootstrap button focus/active states */
.btn:focus,
.btn.focus,
.btn:active,
.btn.active {
    background-color: #c8d6e1 !important;
    border-color: #c8d6e1 !important;
    color: #444444 !important;
    box-shadow: none !important;
}

/* Specific override for primary buttons to maintain dark blue */
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
    color: white !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .user-message,
    .assistant-message {
        margin-left: 0;
        margin-right: 0;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Mobile-specific improvements */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero section mobile adjustments */
    .text-center h1 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }

    .text-center p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Feature cards mobile */
    .features-section .row {
        justify-content: center !important;
    }

    .features-section .col-md-4 {
        max-width: 300px !important;
        margin: 0 auto 1rem auto !important;
    }

    .feature-card {
        margin-bottom: 0rem !important;
    }

    .feature-card .card-body {
        padding: 1.5rem !important;
        text-align: center !important;
    }

    .feature-card .card-body h5,
    .feature-card .card-body p {
        text-align: center !important;
    }

    /* Try It Now section mobile */
    #try-it-section {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
        padding-top: 0rem !important;
    }

    /* Reduce container padding on mobile */
    .container[style*="padding-top: 2rem"] {
        padding-top: 0.5rem !important;
    }

    #try-it-section h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }

    /* Try It Now section mobile layout adjustments */
    #try-it-section .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #try-it-section .row {
        margin: 0 !important;
    }

    /* Phone boxes mobile */
    #try-it-section .row.g-3.mb-5 {
        gap: 1rem !important;
    }

    /* Menu section mobile */
    #menu-section {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    #menu-section h3 {
        font-size: 2rem !important;
    }

    .menu-item-card {
        
        margin-bottom: 1rem !important;
    }

    /* Card sizing for mobile */
    .card-body.p-5 {
        padding: 2rem !important;
    }

    /* Form adjustments for mobile */
    .form-control-lg {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
    }

    /* Button adjustments for mobile */
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Navbar mobile - force single line layout */
    .navbar {
        height: auto !important;
        padding: 0.3rem 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .navbar .container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Left side brand container */
    .tester {
        flex-shrink: 1 !important;
        margin-left: 0 !important;
        max-width: 60% !important;
    }

    .navbar-brand {
        flex-shrink: 1 !important;
    }

    .navbar-brand img {
        height: 35px !important;
        max-width: 35px !important;
    }

    /* Chinese text mobile sizing */
    .chinese-note {
        font-size: 0.8rem !important;
        padding-left: 6px !important;
    }

    /* Force navbar items to stay horizontal */
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
        min-width: 0 !important;
        max-width: 35% !important;
    }

    .navbar-nav .nav-link {
        padding: 0.15rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobile icon-only styling */
    .navbar-nav .nav-link .d-md-none {
        font-size: 1.2rem !important;
    }

    /* Fix dropdown positioning on mobile */
    .navbar .dropdown-menu {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        min-width: 200px !important;
        margin-top: 0.5rem !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    .navbar .dropdown-menu-end {
        right: 0 !important;
        left: auto !important;
    }

    /* Ensure visually consistent icon sizes on mobile */
    .navbar-nav .nav-link .fas.d-md-none {
        font-size: 1rem !important;
        width: 1rem !important;
        height: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .navbar-nav .nav-link .material-symbols-outlined.d-md-none {
        font-size: 1.2rem !important;
        width: 1.2rem !important;
        height: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobile padding adjustments */
    .col-lg-8 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* Hero section padding */
    .text-center[style*="padding: 8rem 0"] {
        padding-top: 2rem!important;
        padding-left: 0rem!important;
        padding-right: 0rem!important;
        padding-bottom: 4rem!important;

    }

    /* Login and Memory page mobile fixes */
    .d-flex[style*="min-height: calc(100vh - 120px)"] {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .w-100[style*="max-width: 600px"],
    .w-100[style*="max-width: 500px"] {
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }

    /* Card min-height mobile */
    .card-body[style*="min-height: 500px"] {
        min-height: auto !important;
        padding: 1.5rem !important;
    }

    /* Mobile font sizes for headings */
    h1[style*="font-size: 2.2rem"] {
        font-size: 1.8rem !important;
    }

    h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    /* Mobile margins */
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    /* Request Early Access section mobile */
    .text-center[style*="margin-top: 8rem"] {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    /* Try It Now section mobile center alignment */
    #try-it-section .mb-4,
    #try-it-section .mb-4 h2,
    #try-it-section .mb-4 p {
        text-align: center !important;
    }

    /* Try saying and Features sections mobile center alignment */
    .col-md-6.pe-md-4,
    .col-md-6.ps-md-4 {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 2rem !important;
        margin-top: 4rem !important;
    }

    .col-md-6.pe-md-4 h5,
    .col-md-6.ps-md-4 h5 {
        text-align: center !important;
    }

    .col-md-6.pe-md-4 div,
    .col-md-6.ps-md-4 div {
        text-align: center !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Code styling */
code {
    background-color: #f8f9fa;
    color: #444444;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* Custom scrollbar for conversation */
.conversation-container::-webkit-scrollbar {
    width: 6px;
}

.conversation-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.conversation-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.conversation-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Empty state styling */
.text-center i.fa-3x,
.text-center i.fa-4x {
    opacity: 0.3;
}

/* Status specific styling */
.status-completed {
    border-left: 4px solid #6b916b;
}

.status-in-progress {
    border-left: 4px solid #e6b422;
}

.status-failed {
    border-left: 4px solid #d94e41;
}

/* Status badge colors */
.badge.badge-completed,
.badge[class*="completed"],
.badge:contains("completed"),
span:contains("completed") {
    background-color: #6b916b !important;
    color: white !important;
}

.badge.badge-in-progress,
.badge[class*="progress"],
.badge:contains("in-progress"),
span:contains("in-progress") {
    background-color: #e6b422 !important;
    color: #444444 !important;
}

.badge.badge-failed,
.badge[class*="failed"],
.badge:contains("failed"),
span:contains("failed") {
    background-color: #d94e41 !important;
    color: white !important;
}

/* More specific status badge targeting */
.table .badge {
    font-weight: 600 !important;
}

.table span[style*="background"] {
    border-radius: 4px !important;
    padding: 4px 8px !important;
}

/* Menu Section Background */
#menu-section {
    background-color: #ffff !important;
}

/* Menu Styling - Orange/Blue Theme */
.menu-tab {
    border: none !important;
    background: none !important;
    color: #6c757d !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent !important;
}

.menu-tab:hover {
    color: #264e86 !important;
    background: none !important;
}

.menu-tab.active {
    color: #264e86 !important;
    background: none !important;
    border-bottom: 3px solid #a5b9c9 !important;
    font-weight: 600;
}

.nav-tabs {
    border-bottom: 1px solid #f8f9fa;
}

.menu-item-card {
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    height: 100%;
    transition: background-color 0.3s ease;
    cursor: pointer;
}


.menu-item-card:hover {
    background-color: #a5b9c9;
}

.menu-item-name {
    color: #264e86;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.menu-item-description {
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.menu-item-price {
    color: #264e86;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    margin-left: 15px;
}

.menu-item-info {
    flex: 1;
}

/* Tab content styling */
.tab-content {
    min-height: 800px;
}

.tab-pane {
    padding-top: 20px;
}

/* Feature cards styling */
.feature-card {
    background-color: #264e86;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(38, 78, 134, 0.3);
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(38, 78, 134, 0.7);
}

.feature-card:active {
    /* Removed transform animation */
    transition: all 0.1s ease;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Features Section */
.features-section {
    background-color: transparent;
    border-radius: 16px;
}

/* Try It Now section image full height */
#try-it-section .row {
    align-items: stretch;
}

#try-it-section .col-lg-4 {
    display: flex;
}

#try-it-section .col-lg-4 img {
    height: 100%;
    object-fit: cover;
    flex: 1;
}

/* Hero CTA Button */
.hero-cta-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-cta-btn .cta-text {
    color: #264e86;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero-cta-btn:hover {
    background-color: white !important;
    border: 2px solid #264e86;
    /* Removed transform animation */
    box-shadow: 0 8px 25px rgba(250, 132, 59, 0.2);
}

.hero-cta-btn:hover .cta-text {
    color: #264e86;
}

.hero-cta-btn:active {
    /* Removed transform animation */
    transition: all 0.1s ease;
}

h2{
    font-weight: 300; 
}

/* Admin Dashboard Color Overrides */
.navbar.bg-primary {
    background-color: #264e86 !important;
}

.table-dark {
    background-color: transparent !important;
    color: white !important;
}

/* Add rounding to table header */
.table-dark th:first-child {
    border-top-left-radius: 12px !important;
}

.table-dark th:last-child {
    border-top-right-radius: 12px !important;
}

.table-dark th {
    background-color: #264e86 !important;
    color: white !important;
    border-color: #a5b9c9 !important;
}

/* Memory viewer styling */
.memory-item {
    background-color: #f9f9f6 !important;
    border: 1px solid #a5b9c9 !important;
    border-radius: 8px !important;
}

.memory-item:hover {
    background-color: #d4e4dd !important;
}

/* Test chat interface */
.chat-container {
    background-color: white !important;
}

.user-message {
    background-color: #264e86 !important;
    color: white !important;
}

.user-message .message-content {
    background-color: #264e86 !important;
    color: white !important;
}

.assistant-message {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

.assistant-message .message-content {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

/* Button consistency */
.btn-primary {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
}

.btn-primary:hover {
    background-color: #a5b9c9 !important;
    border-color: #a5b9c9 !important;
    color: #444444 !important;
}

.btn-secondary {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
}

.btn-secondary:hover {
    background-color: #a5b9c9 !important;
    border-color: #a5b9c9 !important;
    color: #444444 !important;
}

.btn-success {
    background-color: #d4e4dd !important;
    border-color: #d4e4dd !important;
    color: #444444 !important;
}

.btn-success:hover {
    background-color: #a5b9c9 !important;
    border-color: #a5b9c9 !important;
    color: #444444 !important;
}

h1{
    font-family: 'Tenor Sans'; color: #444444; 
    margin-top: 2rem; 
}

/* Admin page header alignment */
.d-flex.justify-content-between.align-items-center h1 {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

.d-flex.justify-content-between.align-items-center .btn {
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
}

/* Test Chat Interface Specific Styling */
/* Change light green buttons to dark blue */
.btn-success {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

/* Change bright light blue to dark blue */
.bg-info, .badge.bg-info {
    background-color: #264e86 !important;
    color: white !important;
}

/* Change light gray text to #444444 */
.text-muted, .text-secondary, .text-success{
    color: #444444 !important;
}

/* Chat interface specific overrides */
.chat-container {
    font-family: 'Inter', sans-serif !important;
}

/* Override any remaining light colors */
.bg-light {
    background-color: #f9f9f6 !important;
}

/* Card headers */
.card-header {
    background-color: #f9f9f6 !important;
    color: #444444 !important;
}

/* Chat message specific overrides */
.message-bubble.user-message {
    background-color: transparent !important;
}

.message-bubble.assistant-message {
    background-color: transparent !important;
}

.message-bubble .message-content {
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin: 8px 0 !important;
}

.message-bubble.user-message .message-content {
    background-color: #264e86 !important;
    color: white !important;
    border-left: none !important;
}

.message-bubble.assistant-message .message-content {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
    border-left: none !important;
}

/* Remove any existing message background colors */
.message-bubble {
    background: none !important;
}

/* Chat conversation area */
#conversation {
    background-color: white !important;
}

/* Avatar and message bubble colors - more specific targeting */
.message-bubble .avatar {
    color: #444444 !important;
}

.message-bubble.user-message .avatar {
    background-color: #264e86 !important;
    color: white !important;
}

.message-bubble.assistant-message .avatar {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

/* Override any Bootstrap or existing avatar styling */
.avatar.bg-primary {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

.avatar.bg-success {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

/* Avatar text styling */
.avatar, .avatar span, .avatar div {
    color: #444444 !important;
    font-weight: 600 !important;
}

/* Text labels next to avatars */
.message-bubble .d-flex .ms-2,
.message-bubble .d-flex span,
.message-bubble .fw-bold,
.message-bubble small,
.message-bubble .text-muted {
    color: #444444 !important;
}

/* Specific targeting for "You" and "Assistant" labels */
.user-message .fw-bold,
.user-message small,
.assistant-message .fw-bold, 
.assistant-message small {
    color: #444444 !important;
}

/* Ensure proper message content styling */
.user-message .card-body,
.user-message .message-content {
    background-color: #264e86 !important;
    color: white !important;
}

.assistant-message .card-body,
.assistant-message .message-content {
    background-color: #a5b9c9 !important;
    color: #444444 !important;
}

.text-primary{
    color: #444444 !important;
}

/* Call history table styling */
.table .text-primary,
.table a.text-primary {
    color: #444444 !important;
}

/* Center align all table content */
.table td {
    text-align: center !important;
}

/* Call SID styling */
.table td:first-child,
.table td:first-child a,
.table td:first-child .text-primary {
    color: #444444 !important;
}

/* Ensure consistent font sizes for FROM and TO number columns */
.table td:nth-child(2),
.table td:nth-child(3) {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}

/* Make sure the text-primary elements in FROM/TO columns match */
.table td:nth-child(2) .text-primary,
.table td:nth-child(3) .text-primary {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}

/* Action buttons in table */
.btn-outline-primary {
    color: #444444 !important;
    border-color: #444444 !important;
}

.btn-outline-primary:hover {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
    color: white !important;
}

/* Pagination links */
.pagination .page-link {
    color: #444444 !important;
}

.pagination .page-item.active .page-link {
    background-color: #264e86 !important;
    border-color: #264e86 !important;
    color: white !important;
}

/* Direct status badge targeting for call history */
.table td .badge,
.table span.badge,
td span {
    border-radius: 4px !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

/* Override any existing status colors */
.table td span:contains("completed"),
.table .badge:contains("completed"),
span[style*="background"]:contains("completed") {
    background-color: #28a745 !important;
    color: white !important;
}

.table td span:contains("in-progress"),
.table .badge:contains("in-progress"),
span[style*="background"]:contains("in-progress") {
    background-color: #ffc107 !important;
    color: #444444 !important;
}

/* Force override using attribute selectors */
span[style*="background-color"][class*="badge"] {
    background-color: inherit !important;
}

/* Target the specific badge structure */
.badge-secondary {
    background-color: #444444 !important;
}

.table .badge-primary {
    background-color: #ccb535 !important;
}



/* Last resort: target all status badges in tables */
.table td:nth-last-child(3) span,
.table td:nth-last-child(3) .badge {
    border-radius: 4px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
}

/* Checkbox check color */
.form-check-input:checked {
  background-color: #264e86;
  border-color: #264e86;
}

/* Slider thumb for WebKit (Chrome, Edge, Safari) */
input[type=range]::-webkit-slider-thumb {
  background: #264e86;
}

/* Slider thumb for Firefox */
input[type=range]::-moz-range-thumb {
  background: #264e86;
}

