/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Noto Sans Devanagari', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: #1a1a2e;
    color: #ccc;
    font-size: 13px;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: #4caf50;
}

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

.font-size-controls {
    display: flex;
    gap: 4px;
}

.font-size-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: background 0.3s;
}

.font-size-controls button:hover {
    background: rgba(255,255,255,0.25);
}

.language-switch {
    display: flex;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ccc;
    padding: 2px 10px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

.lang-btn.active {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}

.skip-link {
    color: #aaa;
    font-size: 12px;
}

.skip-link:hover {
    color: #fff;
}

/* ===== Header ===== */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emblem {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #016906, #028a0a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 3px 10px rgba(1,105,6,0.3);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #016906;
    line-height: 1.2;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.logo-text .hindi-text {
    font-size: 13px;
    color: #888;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #015205, #017508);
    box-shadow: 0 3px 12px rgba(1,105,6,0.3);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    box-shadow: 0 3px 12px rgba(21,101,192,0.3);
}

.btn-outline {
    background: transparent;
    color: #016906;
    border: 2px solid #016906;
}

.btn-outline:hover {
    background: #016906;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #016906;
    font-weight: 600;
}

.btn-light:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid #016906;
    color: #016906;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    text-decoration: none;
}

.btn-outline-sm:hover {
    background: #016906;
    color: #fff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navigation ===== */
.main-nav {
    background: linear-gradient(135deg, #016906 0%, #028a0a 100%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.15);
}

.nav-menu > li > a i.fa-chevron-down {
    font-size: 10px;
    margin-left: 2px;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: #e8f5e9;
    color: #016906;
    padding-left: 24px;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 420px;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 700px;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.4);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== Marquee ===== */
.marquee-bar {
    display: flex;
    align-items: center;
    background: #fff3cd;
    border-bottom: 2px solid #ffc107;
}

.marquee-label {
    background: #d32f2f;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.marquee-content {
    flex: 1;
    overflow: hidden;
    padding: 10px;
    color: #856404;
    font-weight: 500;
    font-size: 14px;
}

/* ===== Verify Section ===== */
.verify-section {
    padding: 30px 0;
    background: #fff;
}

.verify-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.verify-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    border-top: 4px solid #016906;
}

.verify-box h3 {
    font-size: 18px;
    color: #016906;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.verify-form .form-group {
    flex: 1;
    min-width: 180px;
}

.verify-form input,
.verify-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.verify-form input:focus,
.verify-form select:focus {
    border-color: #016906;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1,105,6,0.1);
}

/* ===== Services Section ===== */
.services-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #016906, #028a0a);
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-category {
    margin-bottom: 40px;
}

.service-category h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-category h3 i {
    color: #016906;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #016906, #028a0a);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #016906;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.service-link:hover {
    gap: 10px;
    color: #014a04;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d3b0d 0%, #1a5c1a 50%, #2e7d32 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.stat-card {
    text-align: center;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 36px;
    color: #4caf50;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
}

/* ===== About Section ===== */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.about-feature i {
    color: #016906;
    font-size: 16px;
}

.digital-india-img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

/* ===== Process Section ===== */
.process-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(1,105,6,0.3);
}

.process-icon {
    font-size: 36px;
    color: #016906;
    margin: 10px 0 15px;
}

.process-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.process-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 60px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #333;
}

.faq-question:hover {
    background: #e8f5e9;
}

.faq-question i {
    color: #016906;
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-item.active .faq-question {
    background: #016906;
    color: #fff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 16px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== Downloads Section ===== */
.downloads-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.download-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.download-card i {
    font-size: 40px;
    color: #d32f2f;
    margin-bottom: 12px;
}

.download-card h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 60px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: #016906;
}

.contact-card i {
    font-size: 28px;
    color: #016906;
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #eee;
}

.contact-form-wrapper h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #016906;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1,105,6,0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.main-footer {
    background: #1a1a2e;
    color: #ccc;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #016906;
    display: inline-block;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #aaa;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #4caf50;
    padding-left: 5px;
}

.footer-col ul li a i {
    color: #016906;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #016906;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #12121f;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    font-size: 13px;
    color: #777;
    margin-bottom: 3px;
}

.nic-credit {
    font-size: 12px;
    color: #555;
}

/* ===== Chatbot Widget ===== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 90px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.chatbot-label {
    background: #016906;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.chatbot-toggle.open ~ .chatbot-label,
.chatbot-label.hidden {
    display: none;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #016906, #028a0a);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(1,105,6,0.4);
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(1,105,6,0.5);
}

.chatbot-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chatbot-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-toggle-icon .chatbot-logo-img {
    width: 48px;
    height: 48px;
}

.voice-call-avatar .chatbot-logo-img {
    width: 80px;
    height: 80px;
}

.chatbot-toggle.open .chatbot-toggle-icon {
    transform: rotate(90deg);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #d32f2f;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: badgePulse 2s infinite;
}

.chatbot-badge.hidden {
    display: none;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.chatbot-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chatbot-header-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.chatbot-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chatbot-header-actions {
    display: flex;
    gap: 6px;
}

.chatbot-header-actions button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header-actions button:hover {
    background: rgba(255,255,255,0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f0f2f5;
}

.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.chat-message {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgFade 0.3s ease;
}

@keyframes msgFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.chat-message.bot .chat-msg-avatar {
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
}

.chat-message.user .chat-msg-avatar {
    background: #e0e0e0;
    color: #555;
}

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.bot .chat-msg-bubble {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.chat-message.user .chat-msg-bubble {
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg-time {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    display: block;
}

.chat-message.user .chat-msg-time {
    text-align: right;
    color: rgba(255,255,255,0.7);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #aaa;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

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

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chatbot-quick-replies {
    padding: 8px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f0f2f5;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
}

.chatbot-quick-replies.hidden {
    max-height: 0;
    padding: 0 14px;
    opacity: 0;
    border-top: none;
}

.quick-menu-btn {
    background: none;
    border: none;
    color: #016906;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}

.quick-menu-btn:hover {
    background: #e8f5e9;
}

.quick-menu-btn.active {
    color: #fff;
    background: #016906;
}

.chatbot-quick-replies button {
    background: #fff;
    border: 1px solid #016906;
    color: #016906;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.chatbot-quick-replies button:hover {
    background: #016906;
    color: #fff;
}

.chatbot-input {
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.chatbot-input form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input input:focus {
    border-color: #016906;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #016906, #028a0a);
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(1,105,6,0.3);
}

/* ===== Voice Mic Button in Chat Input ===== */
.voice-mic-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    color: #555;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-mic-btn:hover {
    background: #e0e0e0;
    color: #016906;
}

.voice-mic-btn.recording {
    background: #d32f2f;
    color: #fff;
    animation: micPulse 1s infinite;
}

@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(211,47,47,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(211,47,47,0); }
}

/* ===== Voice Call Overlay ===== */
.voice-call-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0a1628 0%, #1a2a4a 40%, #0d3320 100%);
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.voice-call-overlay.active {
    display: flex;
}

.voice-call-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.voice-call-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #016906, #028a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    position: relative;
}

.voice-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 80, 0.4);
    animation: voiceRipple 2s infinite ease-out;
    pointer-events: none;
    display: none;
}

.voice-call-overlay.calling .voice-ripple {
    display: block;
}

.voice-ripple.delay-1 { animation-delay: 0.5s; }
.voice-ripple.delay-2 { animation-delay: 1s; }

@keyframes voiceRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.voice-call-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.voice-state-label {
    font-size: 13px;
    color: #aaa;
    min-height: 20px;
}

.voice-state-label.listening { color: #4caf50; }
.voice-state-label.processing { color: #ff9800; }
.voice-state-label.speaking { color: #42a5f5; }

.voice-timer {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 3px;
    font-family: 'Roboto Mono', monospace;
    color: rgba(255,255,255,0.8);
}

/* Voice Visualizer */
.voice-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s;
}

.voice-call-overlay.calling .voice-visualizer {
    opacity: 1;
}

.viz-bar {
    width: 4px;
    height: 8px;
    background: #4caf50;
    border-radius: 2px;
    transition: height 0.1s;
}

.voice-call-overlay.calling .viz-bar {
    animation: vizBounce 1.2s infinite ease-in-out;
}

.viz-bar:nth-child(1) { animation-delay: 0s; }
.viz-bar:nth-child(2) { animation-delay: 0.1s; }
.viz-bar:nth-child(3) { animation-delay: 0.2s; }
.viz-bar:nth-child(4) { animation-delay: 0.3s; }
.viz-bar:nth-child(5) { animation-delay: 0.4s; }
.viz-bar:nth-child(6) { animation-delay: 0.3s; }
.viz-bar:nth-child(7) { animation-delay: 0.2s; }
.viz-bar:nth-child(8) { animation-delay: 0.1s; }
.viz-bar:nth-child(9) { animation-delay: 0s; }

@keyframes vizBounce {
    0%, 100% { height: 8px; background: #4caf50; }
    25% { height: 28px; background: #66bb6a; }
    50% { height: 16px; background: #81c784; }
    75% { height: 34px; background: #4caf50; }
}

.voice-call-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.voice-action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.start-call-btn {
    background: #4caf50;
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.start-call-btn:hover:not(:disabled) {
    background: #43a047;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}

.start-call-btn.active {
    display: none;
}

.end-call-btn {
    background: #d32f2f;
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.end-call-btn:hover:not(:disabled) {
    background: #c62828;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(211,47,47,0.4);
}

.mute-btn {
    background: rgba(255,255,255,0.15);
}

.mute-btn:hover { background: rgba(255,255,255,0.25); }

.mute-btn.muted {
    background: #d32f2f;
}

.speaker-btn {
    background: rgba(255,255,255,0.15);
}

.speaker-btn:hover { background: rgba(255,255,255,0.25); }

.speaker-btn.off {
    background: rgba(255,255,255,0.08);
    color: #888;
}

.voice-back-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-back-btn:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* Voice message indicator in chat */
.chat-msg-bubble .voice-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.chat-msg-bubble .voice-indicator i {
    color: #4caf50;
}

.chat-message.user .chat-msg-bubble .voice-indicator {
    color: rgba(255,255,255,0.7);
}

.chat-message.user .chat-msg-bubble .voice-indicator i {
    color: rgba(255,255,255,0.8);
}

/* TTS play button on bot messages */
.tts-play-btn {
    background: none;
    border: none;
    color: #016906;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    margin-left: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tts-play-btn:hover {
    background: #e8f5e9;
}

.tts-play-btn.playing {
    color: #d32f2f;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(1,105,6,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1,105,6,0.4);
}

/* ===== Modals ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

.modal-content.modal-lg {
    max-width: 700px;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: linear-gradient(135deg, #016906, #028a0a);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 45px;
}

.password-field button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
}

.captcha-group .captcha-box {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.captcha-display {
    flex: 1;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
    color: #333;
    font-style: italic;
    user-select: none;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 20px
    );
}

.captcha-refresh {
    background: #016906;
    border: none;
    color: #fff;
    width: 44px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.captcha-refresh:hover {
    background: #015205;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-link {
    color: #016906;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.modal-footer-text {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-footer-text a {
    color: #016906;
    font-weight: 600;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }

    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
    }

    .nav-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #015205;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
    }

    .dropdown-menu li a {
        color: #fff;
        border-bottom-color: rgba(255,255,255,0.1);
        padding-left: 35px;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.1);
    }

    .hero-carousel {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 26px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .verify-section .container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 260px;
    }

    .slide-content h2 {
        font-size: 22px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .downloads-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .verify-form {
        flex-direction: column;
    }

    .verify-form .form-group {
        min-width: 100%;
    }

    .chatbot-window {
        width: 300px;
        height: 450px;
        right: -20px;
    }

    .chatbot-widget {
        right: 25px;
        bottom: 20px;
    }

    .chatbot-toggle {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}

/* ===== Debug Mode ===== */
#debugToggleBtn.active {
    background: #ff5722;
    color: #fff;
    border-radius: 4px;
}

.debug-panel {
    display: none;
    background: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    border-top: 2px solid #ff5722;
    max-height: 200px;
    overflow: hidden;
    flex-direction: column;
}

.debug-panel.active {
    display: flex;
}

.debug-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #16213e;
    font-weight: bold;
    color: #ff5722;
    font-size: 11px;
    flex-shrink: 0;
}

.debug-panel-actions {
    display: flex;
    gap: 6px;
}

.debug-panel-actions button {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #aaa;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.debug-panel-actions button:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.debug-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 6px 10px;
    background: #0f3460;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.debug-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.debug-stat-label {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

.debug-stat-value {
    font-size: 11px;
    color: #4caf50;
    font-weight: bold;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.debug-vad {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
    background: #0d1b2a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.debug-vad label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #aaa;
}

.debug-vad input[type="range"] {
    width: 60px;
    height: 12px;
    cursor: pointer;
    accent-color: #ff5722;
}

.debug-vad span {
    color: #4caf50;
    font-size: 10px;
    min-width: 36px;
}

.vad-rms-live {
    margin-left: auto;
    color: #ff9800 !important;
    font-weight: bold;
}

.debug-log {
    flex: 1;
    overflow-y: auto;
    padding: 6px 10px;
    min-height: 60px;
}

.debug-log::-webkit-scrollbar {
    width: 4px;
}

.debug-log::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

.debug-entry {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.4;
}

.debug-entry .dbg-time {
    color: #666;
    margin-right: 6px;
}

.debug-entry .dbg-tag {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: bold;
    margin-right: 4px;
    text-transform: uppercase;
}

.dbg-tag.user { background: #1565c0; color: #fff; }
.dbg-tag.bot { background: #2e7d32; color: #fff; }
.dbg-tag.stt { background: #6a1b9a; color: #fff; }
.dbg-tag.tts { background: #e65100; color: #fff; }
.dbg-tag.api { background: #00838f; color: #fff; }
.dbg-tag.voice { background: #ad1457; color: #fff; }
.dbg-tag.error { background: #c62828; color: #fff; }
.dbg-tag.info { background: #555; color: #fff; }

.debug-entry .dbg-latency {
    color: #ff9800;
    margin-left: 4px;
    font-size: 10px;
}

.debug-entry .dbg-match {
    color: #4caf50;
    margin-left: 4px;
    font-size: 10px;
}

/* Debug badges on bot messages */
.chat-msg-debug {
    display: none;
    font-size: 9px;
    font-family: 'Courier New', monospace;
    margin-top: 2px;
    gap: 4px;
    flex-wrap: wrap;
}

.debug-mode-on .chat-msg-debug {
    display: flex;
}

.debug-badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 500;
}

.debug-badge.latency { background: #fff3e0; color: #e65100; }
.debug-badge.match { background: #e8f5e9; color: #2e7d32; }
.debug-badge.endpoint { background: #e3f2fd; color: #1565c0; }
.debug-badge.chars { background: #f3e5f5; color: #6a1b9a; }
}
