.status.new {
    color: green;
}

.status.reviewed {
    color: blue;
}

.status.action {
    color: red;
}


.search-boxsesr {
    position: relative;
}

.search-boxsesr input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 7px;
    font-weight: 500;
    font-size: 12px;
    border: none;
    background: #ffffff;
    outline: none;
}

.search-boxsesr .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-39%);
    color: #888;
}

.search-btn-container button {
    height: 100%;
    padding: 7px 10px;
    border: none;
    background: #3b5ed7;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
}


.user-results-management {
    display: none !important;
    background: transparent !important;
    padding: 15px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
}

.marketing_content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;

    .items_designe {
        overflow: auto;
        width: 100%;
        white-space: nowrap;
        border: 1px solid #0000001A;
    }
}

.userse-management {
    padding: 0px !important;
    margin-bottom: 0px !important;
    border: none !important;
    background-color: transparent !important;
}

.latest-marketing {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #0000001A;
    border-radius: 10px;
}

/* BADGE */
.latest-marketing .badge {
    display: inline-block;
    background-color: #305CDE;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    font-weight: 500;
    border-radius: 3px;
    margin-bottom: 6px;
}

/* TITLE */
.latest-marketing h3 {
    font-size: 18px;
    margin: 5px 0;
    color: #000000;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* META TEXT */
.latest-marketing .meta {
    display: block;
    color: #6C6F80;
    font-size: 13px;
    font-weight: 500;
}

/* DESCRIPTION */
.latest-marketing p {
    color: #6C6F80;
    font-size: 13px;
    font-weight: 500;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TAGS */
.latest-marketing .tags span {
    display: inline-block;
    background-color: #305CDE;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 3px 16px;
    border-radius: 5px;
    margin-right: 8px;
}

/* BUTTONS */
.latest-marketing .marketing_actions {
    display: flex;
    gap: 1-px;
    flex-wrap: wrap;
}

.latest-marketing .marketing_actions button {
    flex: 1;
    padding: 12px;
    border: none;
    margin-top: 10px !important;
    margin-left: 0px !important;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/* COLORS */
.latest-marketing .view {
    background-color: #305CDE;
}

.latest-marketing .save {
    background-color: #0B7335;
}

.latest-marketing .action {
    background-color: #CD3E3E;
}

/* HOVER EFFECT */
.latest-marketing .marketing_actions button:hover {
    opacity: 0.9;
}

.social_green {
    background-color: #0B7335 !important;
}






/* aaaaaaaaaaaaaaaaa  */



.action_center_title .cardsed {
    background: #fff;
    padding: 20px;
    border: 1px solid #0000001A;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action_center_title .badgesede {
    display: inline-block !important;
    font-size: 13px;
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 10px;
    width: 119px;
    text-align: center;

}

.action_center_title .badgesede.red {
    background: #CD3E3E;
}

.action_center_title .badgesede.yellow {
    background: #FFC311;
}

.action_center_title .badgesede.green {
    background: #0B7335;
}

.action_center_title .cardsed h3 {
    margin: 8px 0px;
    font-size: 18px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000000;
}

.action_center_title .cardsed p {
    font-size: 13px;
    color: #6C6F80;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.action_center_title .actions {
    display: flex;
    gap: 10px;
}

.action_center_title .btn {
    flex: 1;
    padding: 10px 8px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.action_center_title .btn.primary {
    background-color: #305CDE !important;
    color: #fff !important;
}

.action_center_title .btn.outline {
    background: #fff !important;
    border: 1px solid #ccc !important;
}

.action_center_title .btn.danger {
    background: #CD3E3E !important;
    color: #fff !important;
}

.action_center_title .btn.dark {
    background: #6c757d !important;
    color: #fff !important;
}

.items_designe {
    background: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #3b82f6;
    overflow: auto;
    width: 100%;
    white-space: nowrap;
    border: 1px solid #0000001A;
}

.items_designe .left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.items_designe .icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.items_designe .icon.blue {
    background-color: #305CDE;
}

.items_designe .icon.purple {
    background-color: #B31E94;
}

.items_designe .icon.green {
    background-color: #0B7335;
}

.items_designe .text h4 {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    margin-bottom: 4px;
}

.items_designe .text p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    color: #666;
}

.items_designe .right {
    text-align: right;
}

.items_designe .time {
    display: block;
    font-size: 12px;
    color: #000000;
    font-weight: 500;
}

.items_designe .btn {
    background-color: #305CDE !important;
    color: #fff !important;
    border-radius: 4px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 4px;
    cursor: pointer;
}

.items_designe .btn:hover {
    background: #2563eb;
}

.bg-yellow {
    background-color: #E2DB71;
}



.items_designe_true {
    border: 1px solid #0000001A;
    border-radius: 6px;
    overflow: auto;
    width: 100%;
    white-space: nowrap;
}


.items_designe_true .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.items_designe_true .icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.items_designe_true .icon.blue {
    background: #3b82f6;
}




.items_designe_true .right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.items_designe_true .time {
    font-size: 12px;
    color: #444;
}

.items_designe_true .menu {
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.items_designe_true .menu:hover {
    color: #000;
}



.startup_raises_funding .cardsting {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e0e0e0;
}

.startup_raises_funding .title {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    margin-bottom: 6px;



}

.filter-date_button {
    width: 280px;
}

.filter-date_button button {
    padding: 12px 15px;
    border: none;
    background: #3b5ed7;
    width: 100%;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
}

.startup_raises_funding .meta {
    font-size: 13px;
    color: #6C6F80;
    font-weight: 500;
    margin-bottom: 10px;
}

.startup_raises_funding .desc {
    font-size: 13px;
    font-weight: 500;
    color: #6C6F80;
    margin-bottom: 12px;
}

.startup_raises_funding .tags {
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
}

.startup_raises_funding .tag {
    display: inline-block;
    background-color: #305CDE;
    color: #fff;
    padding: 4px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 13px;
}

.startup_raises_funding .actions {
    display: flex;
    gap: 10px;
}

.startup_raises_funding .btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: #fff !important;
}

.startup_raises_funding .view {
    background: #305CDE !important;
}

.startup_raises_funding .remove {
    background: #CD3E3E !important;
}

.top_results_title h2 {
    font-weight: 500;
    font-size: 16px;
    color: #262833;
    padding: 0px 0px 0px 13px;
}

.chart-cardhyehdi {
    background: white;
    padding: 15px 30px 30px 30px;
    border-radius: 10px;
    border: 1px solid #0000001A;
    width: 100%;
}

/* Top Legend Section */
.chart-cardhyehdi .legend-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.chart-cardhyehdi .legend-box {
    width: 100px;
    height: 21px;
    background-color: #d1d5db;
    border: 2px solid #3b82f6;
}

.chart-cardhyehdi .legend-text {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
}

/* Chart Area */
.chart-cardhyehdi .chart-layout {
    display: flex;
    position: relative;
}

/* Y-Axis Styling */
.chart-cardhyehdi .y-axis {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding-right: 15px;
    height: 300px;
    /* Graph height */
    color: #333;
    font-size: 14px;
}

.chart-cardhyehdi .main-graph {
    flex-grow: 1;
    position: relative;
    border: 1px solid #e5e7eb;
    height: 300px;
}

/* Grid Background */
.chart-cardhyehdi .grid-lines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.chart-cardhyehdi .grid-row {
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
}

.chart-cardhyehdi .grid-row:last-child {
    border-bottom: none;
}

.chart-cardhyehdi .grid-col {
    flex: 1;
    border-right: 1px solid #e5e7eb;
}

.chart-cardhyehdi .grid-col:last-child {
    border-right: none;
}

/* SVG Line & Dots */
.chart-cardhyehdi .chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: visible;
}

/* X-Axis Styling */
.chart-cardhyehdi .x-axis {
    display: flex;
    justify-content: space-between;
    margin-left: 40px;
    /* Align with graph start */
    margin-top: 15px;
    color: var(--text-color);
    font-size: 14px;
}

.chart-cardhyehdi .x-axis span {
    width: 14%;
    /* Dividing 100% by 7 days */
    text-align: center;
}





:root {
    /* YAHAN SE COLORS CHANGE KARO */
    --color-social: #305CDE;
    /* Blue */
    --color-news: #CD3E3E;
    /* Red */
    --color-video: #FFC311;
    /* Yellow */
    --border-black: #000000;
}


.chart-cardsdes {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Legend Style (Top Boxes) */
.chart-cardsdes .legend-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.chart-cardsdes .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
}

.chart-cardsdes .legend-item span {
    color: black;
    font-weight: 500;
    font-size: 13px;
}

.chart-cardsdes .color-box {
    width: 50px;
    height: 21px;
    border: 1px solid var(--color-social);
    /* Blue border jaisa image mein hai */
}

/* Donut Chart Style */
.chart-cardsdes .donut-chart {
    width: 290px;
    height: 290px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid var(--border-black);
    position: relative;

    /* YE HAI MAIN COLORS KA JADU */
    /* Social (Blue) 0-60%, News (Red) 60-80%, Video (Yellow) 80-100% */
    background: conic-gradient(var(--color-social) 0% 60%,
            var(--color-news) 60% 80%,
            var(--color-video) 80% 100%);

    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-cardsdes {
    height: 95%;
}


.chart-cardhyehdi {
    height: 95%;
}


/* Bich ka safed gola (The Hole) */
.chart-cardsdes .donut-hole {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    border: 1px solid var(--border-black);
}



@media (max-width: 768px) {
    .chart-cardsdes {
        padding: 20px;
    }

    .chart-cardsdes .legend-container {
        justify-content: center;
    }


    .filter-date_button {
        width: 100%;
    }




}

@media (max-width: 480px) {
    .chart-cardsdes .legend-item {
        width: 100%;
    }

    .chart-cardhyehdi {
        width: initial;
    }

    .chart-cardsdes {
        width: initial;
    }
}








:root {
    --bg: #f4f3ef;
    --surface: #ffffff;
    --surface2: #f0efe9;
    --border: #0000001A;
    --text: #000000;
    --text-muted: #000000;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #D9D9D9;
    --accent-border: #bfcfff;
    --pink: #f43f5e;
    --green: #0B7335;
    --yellow: #B31E94;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --radius: 14px;
    --sidebar-w: 220px;
    --panel-w: 220px;
    --nav-h: 70px;
}

/* ══ TOP NAV ══ */
.topnav {
    height: 52px;

    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.topnav-brand {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.3px;
    white-space: nowrap;
    color: #262833;
}

.topnav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    /* gap: 6px; */
}

.btn-ghost {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-ghost:hover {
    background: var(--surface2);
}

.btn-icon {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 15px;
    flex-shrink: 0;
    transition: background 0.15s;
}

.btn-icon:hover {
    background: var(--surface2);
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
border-radius: 5px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    flex-shrink: 0;
    color: var(--text);
}

.panel-toggle {
    display: none;
    background: none;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    color: var(--text-muted);
}


.sharch_monitor_dashboard_22 {
    padding: 0px !important;
}

/* ══ SHELL ══ */
.shell {
    /* position:fixed; */
    /* top:var(--nav-h); bottom:0; left:0; right:0; */
    display: flex;
    overflow: hidden;
    height: 83vh;
}

/* ══ SIDEBAR ══ */
.sidebarss {
    width: var(--sidebar-w);
    /* background:var(--surface); */
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.sidebar-top {
    padding: 14px 0px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: 8px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.12s;
}

.sidebar-btn:hover {
    background: var(--surface2);
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0px;
}

.sidebar-label {
    padding: 6px 12px 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: capitalize;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-history {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.history-item {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.history-item:hover {
    background: var(--accent-soft);
    color: #2563eb;
}

.history-item.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 500;
}

/* ══ MAIN ══ */
.mainaa {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;

}

.chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

/* ══ HERO ══ */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background-color: #fff;
    border: 1px solid #0000001A;
    border-radius: 10px;
    text-align: center;
    animation: fadeUp 0.45s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    border: 1px solid var(--accent-border);
}

.hero h1 {
    font-size: 40px;
    color: #000000;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}



.hero p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    max-width: 480px;
}

.tagsed {
    padding: 6px 14px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    background-color: #D8D8D8;
    cursor: pointer;
    transition: all 0.15s;
    color: #000000;
    white-space: nowrap;
    user-select: none;
}

.tagsed:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.tagsed.active {
    border-color: var(--accent);
    background-color: var(--accent);
    color: #fff;
}

.urgent-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.urgent-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5)
    }
}

/* ══ INPUT BAR ══ */
.input-bar {
    padding: 12px 20px 16px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 7px 7px 7px 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--surface);
}

.input-wrap input {
    flex: 1;
    border: none;
    background: none;
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    min-width: 0;
}

.input-wrap input::placeholder {
    color: var(--text-muted);
}



#heroSection .btn-send {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
    max-width: 388px;
    width: 90%;
    flex-shrink: 0;
}

.btn-send {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;

    flex-shrink: 0;
}

.btn-send:hover {
    background: var(--accent-hover);
}

.btn-send:active {
    transform: scale(0.97);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ══ CHAT MESSAGES ══ */
.msg-user {
    align-self: flex-end;
    max-width: 72%;
    background: var(--accent);
    color: #fff;
    border-radius: 14px 14px 0px 14px;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    animation: fadeUp 0.22s ease;
    word-break: break-word;
}

.msg-ai {
    align-self: flex-start;
    max-width: 88%;
    animation: fadeUp 0.22s ease;
    min-width: 0;
    width: 100%;
}

.msg-ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ai-avatar {
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}

.ai-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* typing */
.typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: fit-content;
}

.typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: bounce 1.2s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s
}

.typing span:nth-child(3) {
    animation-delay: 0.4s
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0)
    }

    30% {
        transform: translateY(-6px)
    }
}

/* ══ RESULT CARDS ══ */
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    width: 100%;
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}

.result-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.result-action-btn {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.12s;
}

.result-action-btn:hover {
    background: var(--surface2);
    color: var(--text);
}

.result-card-body {
    padding: 14px;
}

.result-title {
    font-family: 'Syne', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-content {
    background: var(--surface2);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--text);
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    position: relative;
    word-break: break-word;
    overflow-x: auto;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.12s;
}

.copy-btn:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-border);
}

.example-section {
    margin-top: 12px;
}

.example-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ══ RIGHT PANEL ══ */
.right-panel {
    width: var(--panel-w);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    transition: transform 0.25s ease;
}

.panel-section {
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--border);
}

.panel-section-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}



.notif-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: background 0.12s;
    background-color: #0000001A;


}



.mins_mesting {
    display: flex;
    font-weight: 500;
    font-size: 14px;
    gap: 8px;
    color: var(--text);
    align-items: center;
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.notif-dot.green {
    background: var(--green);
    animation: blink 2s infinite;
}

.notif-dot.yellow {
    background: var(--yellow);
    animation: blink 2s infinite;
}

.notif-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
}

.notif-time {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

.panel-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.btn-panel {
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-family: 'Syne', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
}

.btn-panel.primary {
    background: var(--accent);
    color: var(--surface);
}

.btn-panel.primary:hover {
    background: var(--accent-hover);
}

.btn-panel.secondary {
    background: var(--accent) !important;
    color: var(--surface);
    border: 1px solid var(--border);
}

.btn-panel.secondary:hover {
    background: #e8e6de;
}

.monitor-stats {
    padding: 0px 14px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    font-weight: 600;
    color: var(--text);
}

.stat-value.green {
    color: var(--green);
}

.stat-value.accent {
    color: var(--accent);
}

/* ══ OVERLAY ══ */
.overlay {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    /* background:rgba(0,0,0,0.35); z-index:50; */
}

.overlay.show {
    display: block;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.hidden {
    display: none !important;
}

.sidebar_label_padding_lr {
    padding: 0px 10px;
    height: 333px;
    overflow-y: auto;
}



.sidebar-historyrrr {
    transition: all 0.3s ease;
}

.sidebar-historyrrr.hidden {
    display: none;
}

/* ══════════════════════
     RESPONSIVE
  ══════════════════════ */

/* TABLET ≤ 900px — collapse right panel */
@media (max-width:900px) {
    :root {
        --panel-w: 250px;
    }

    .right-panel {
        position: fixed;
        top: var(--nav-h);
        right: 0;
        bottom: 0;
        z-index: 60;
        transform: translateX(100%);
        background: var(--surface);
    }

    .right-panel.open {
        transform: translateX(0);
    }

    .panel-toggle {
        display: flex;
    }

    .btn-ghost {
        display: none;
    }
}

/* MOBILE ≤ 640px — collapse sidebar too */
@media (max-width:640px) {
    :root {
        --sidebar-w: 270px;
    }

    .topnav {
        padding: 0 12px;
    }

    .topnav-brand {
        font-size: 14px;
    }

    .sidebarss {
        position: fixed;
        top: 70px;
        left: 0;
        bottom: 0;
        z-index: 60;
        transform: translateX(-100%);
        background-color: #fff;

    }

    .sidebarss.open {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .chat-area {
        padding: 16px 12px;
        gap: 16px;
    }

    .input-bar {
        padding: 10px 12px 14px;
    }

    .btn-send {
        padding: 8px 12px;
        font-size: 11.5px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 13px;
    }

    .msg-user {
        max-width: 90%;
        font-size: 13px;
    }

    .msg-ai {
        max-width: 100%;
    }

    .result-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 27px;
    }
}

/* VERY SMALL ≤ 380px */
@media (max-width:380px) {
    .hero h1 {
        font-size: 19px;
    }

    .tagsed {
        padding: 5px 10px;
        font-size: 11px;
    }

    .btn-send {
        padding: 7px 10px;
        font-size: 11px;
    }
}