/* Typography */
@font-face {
    font-family: 'DMSans semibold';
    src: url(../fonts/DMSans-SemiBold.ttf);
}

@font-face {
    font-family: 'Inter regular';
    src: url(../fonts/Inter_24pt-Regular.ttf);
}

@font-face {
    font-family: 'Inter medium';
    src: url(../fonts/Inter_18pt-Medium.ttf);
}

@font-face {
    font-family: 'DMSans Bold';
    src: url(../fonts/DMSans-Bold.ttf);
}


/* Navbar Custom Styles */
.navbar-custom {
  border-bottom:1px solid #c0c0c3;
  padding: 0.5rem 1rem;
}

.navbar-brand img {
  height: 50px;
}

.brand-text {
  line-height: 1.2;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: #666;
}

.status-indicator {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #4ade80; /* green */
  border-radius: 50%;
  margin-right: 6px;
}


/* Centered Content */
.main-content {
  margin-top: 20px;
}

.main-title {
  font-family: 'DMSans semibold';
  color: #dc3545 !important;
  font-size: 42px;
}
.subtitle {
  font-family: 'Inter regular';
  color: #666666;
  margin-top: 8px;
  margin-bottom: 180px;
}

/* Suggestions Buttons */
.suggestions .btn,.logout-btn {
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  border: none;
  color: #2a2a2a;
  font-weight: 500;
  transition: all 0.2s ease;
}
.suggestions .btn:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
}

/* Query Box */
.query-box {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.query-box input {
  border-radius: 12px 0 0 12px;
  border: 1px solid #ddd;
  padding: 12px;
  width: 300px;
}

/* Gradient Button */

.query-box button,.logout-btn:hover {
  padding: 12px 25px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}
.query-box button:hover {
  background: linear-gradient(90deg, #15318b, #1d4ed8);
}
.suggestions .question{
  background: #c6d2f8;
}
#chatContainer {
    max-height: 70vh; 
    overflow-y: auto;

    /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
    scrollbar-width: thin; /* for Firefox */
    scrollbar-color: transparent transparent; /* Firefox */
}

#chatContainer::-webkit-scrollbar {
    width: 0px; /* Remove scrollbar space */
    background: transparent; /* Optional: just to be safe */
}

#chatContainer::-webkit-scrollbar-thumb {
    background: transparent; /* Invisible thumb */
}

/* Responsive */
@media (max-width: 576px) {
  .main-title {
    font-size: 1.5rem;
  }
  .query-box input {
    width: 200px;
  }
  .main-content{
    margin-top: 10px;
  }
  .fs-6,.fs-5,p{
    zoom:90%;
  }
  .brand-title{font-size: 15px !important;}
}



        .main-title{
            text-align:center;
            color:#fff;
            font-size:42px;
            font-weight:bold;
            margin-bottom:25px;
            text-transform:uppercase;
        }

        .filter-box{
            background:#fff;
            padding:20px;
            border-radius:10px;
            margin-bottom:25px;
            text-align:center;
        }

        .chart-wrapper{
            background:#fff;
            border-radius:10px;
            overflow:auto;
            padding:10px;
        }

        .chart-table{
            width:100%;
            min-width:1200px;
            border-collapse:collapse;
        }

        .chart-table th{
            background:#990000;
            color:#fff;
            border:2px solid #000;
            text-align:center;
            padding:12px;
            font-size:20px;
            white-space:nowrap;
        }

        .chart-table td{
            border:2px solid #000;
            text-align:center;
            padding:8px;
            font-size:20px;
            font-weight:bold;
            color:red;
            background:#f5f5f5;
        }

        .date-column{
            color:#000 !important;
            background:#fff !important;
            font-size:17px !important;
            min-width:130px;
        }

        .show-btn{
            background:#990000;
            color:#fff;
            border:none;
            padding:8px 20px;
            font-weight:bold;
        }

        .show-btn:hover{
            background:#7a0000;
        }

        a.market-link{
            color:red;
            text-decoration:none;
        }

        a.market-link:hover{
            text-decoration:underline;
        }

        .chart-title{
            color:#fff;
            text-align:center;
            font-size:40px;
            font-weight:bold;
            margin-bottom:20px;
            text-transform:uppercase;
        }

        .chart-wrapper{
            background:#fff;
            padding:15px;
            border-radius:10px;
            overflow:auto;
        }

        .chart-table{
            min-width:1200px;
            border-collapse:collapse;
        }

        .chart-table th{
            background:#990000;
            color:#fff;
            border:2px solid #000;
            text-align:center;
            padding:12px;
            font-size:20px;
            white-space:nowrap;
        }

        .chart-table td{
            border:2px solid #000;
            text-align:center;
            padding:10px;
            font-weight:bold;
            font-size:20px;
            color:red;
            background:#f3f3f3;
        }

        .chart-table .date-column{
            color:#000;
            font-size:18px;
            background:#fff;
            min-width:120px;
        }

        .top-filter{
            background:#fff;
            padding:15px;
            border-radius:10px;
            margin-bottom:20px;
        }

        .btn-show{
            background:#990000;
            color:#fff;
            border:none;
            padding:8px 20px;
            font-weight:bold;
        }

        .btn-show:hover{
            background:#7a0000;
        }


    .footer-fixed{
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
    min-height: 90px;
    display: flex;
    align-items: center;
}

.footer-fixed h6{
    letter-spacing: 1px;
    margin: 0;
}

.footer-fixed p{
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.latest-feeds-bar {
    width: 100%;
    overflow: hidden;
    background: #bb0b0b;
    padding: 10px 0;
    position: relative;
    z-index: 99;
}

.latest-feeds-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 50s linear infinite;
}

.latest-feeds-track span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 70px;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.card-gradient {
    background: linear-gradient(135deg, #bb0b0b 0%, #d91c1c 50%, #8b0000 100%);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.card-gradient:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(187, 11, 11, 0.35) !important;
}

.card-gradient h4,
.card-gradient .display-4,
.card-gradient .text-muted,
.card-gradient strong {
    color: #fff !important;
}

.card-gradient .btn-dark {
    background: #fff;
    color: #bb0b0b;
    border: none;
    font-weight: 600;
}

.card-gradient .btn-dark:hover {
    background: #f5f5f5;
    color: #8b0000;
}

.result-card{
    background: linear-gradient(
        180deg,
        #6f2a7d 0%,
        #4b3f9e 50%,
        #1656c8 100%
    );
    border:2px solid #333;
    border-radius:10px;
    text-align:center;
    padding:15px;
    color:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
}

.market-name{
    font-size:30px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:5px;
    font-family:Georgia, serif;
}

.market-time{
    font-size:18px;
    color:#e8dede;
    margin-bottom:5px;
}

.result-label{
    color:#ffd500;
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
}

.result-number{
    font-size:32px;
    font-weight:700;
    color:#00ff33;
    margin-bottom:15px;
}



.premium-banner{
    position:relative;
    overflow:hidden;
    padding:90px 0;
    background:
        radial-gradient(circle at top left,#d4145a 0%,transparent 35%),
        radial-gradient(circle at top right,#7b2ff7 0%,transparent 35%),
        linear-gradient(135deg,#0f172a,#111827,#1e293b);
    color:#fff;
}

.banner-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            rgba(255,255,255,.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 1px,
            transparent 1px
        );
    background-size:40px 40px;
}

.banner-content{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:auto;
    text-align:center;
}

.banner-badge{
    display:inline-block;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.15);
    padding:10px 20px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    backdrop-filter:blur(10px);
}

.banner-title{
    font-size:clamp(2rem,5vw,4rem);
    font-weight:800;
    margin:25px 0;
    line-height:1.1;
    text-transform:uppercase;
}

.banner-title span{
    color:#ffcc00;
}

.banner-description{
    font-size:1.1rem;
    line-height:1.8;
    color:#d7d7d7;
    max-width:750px;
    margin:auto;
}

.banner-stats{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:40px;
    flex-wrap:wrap;
}

.stat-box{
    min-width:180px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    padding:20px;
    border-radius:16px;
    backdrop-filter:blur(15px);
}

.stat-box h3{
    color:#ffd700;
    font-size:2rem;
    margin-bottom:5px;
    font-weight:700;
}

.stat-box span{
    color:#ddd;
}

.banner-buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn-primary-custom{
    background:linear-gradient(
        135deg,
        #bb0b0b,
        #ff3434
    );
    color:#fff;
    padding:14px 32px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-primary-custom:hover{
    transform:translateY(-3px);
    color:#fff;
}

.btn-outline-custom{
    border:2px solid rgba(255,255,255,.2);
    color:#fff;
    padding:14px 32px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

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

.market-banner{
    position:relative;
    overflow:hidden;
    padding:80px 0;
    background:
    radial-gradient(circle at top left,#bb0b0b 0%,transparent 35%),
    radial-gradient(circle at bottom right,#ff4d4d 0%,transparent 30%),
    linear-gradient(135deg,#111827,#0f172a,#1e293b);

    color:#fff;
}

.market-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size:35px 35px;
}

.market-banner-content{
    position:relative;
    z-index:2;
    text-align:center;
    max-width:900px;
    margin:auto;
}

.market-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.market-banner h1{
    margin-top:25px;
    font-size:clamp(2.5rem,5vw,4.5rem);
    font-weight:800;
    text-transform:uppercase;
}

.market-banner h1 span{
    color:#ffcc00;
}

.market-banner p{
    max-width:750px;
    margin:20px auto;
    font-size:18px;
    line-height:1.8;
    color:#d6d6d6;
}

.market-stats{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:40px;
}

.stat-item{
    min-width:180px;
    padding:22px;
    border-radius:18px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.1);
}

.stat-item h3{
    font-size:2rem;
    color:#ffd700;
    margin-bottom:5px;
    font-weight:700;
}

.stat-item span{
    color:#ddd;
}

.market-actions{
    margin-top:40px;
}

.btn-market-primary{
    display:inline-block;
    padding:14px 35px;
    background:linear-gradient(
        135deg,
        #bb0b0b,
        #ff4747
    );
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
    margin-right:10px;
}

.btn-market-primary:hover{
    color:#fff;
    transform:translateY(-2px);
}

.btn-market-outline{
    display:inline-block;
    padding:14px 35px;
    border:2px solid rgba(255,255,255,.2);
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
}

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

.info-strip{
    padding:50px 0;
}

.info-strip-box{
    background: linear-gradient(
        135deg,
        #bb0b0b,
        #8a0909
    );
    color:#fff;
    padding:40px;
    border-radius:5px;
    text-align:center;
    box-shadow:0 10px 30px rgba(187,11,11,.25);
}

.info-strip-box h2{
    font-size:32px;
    font-weight:700;
    margin-bottom:15px;
    text-transform:uppercase;
}

.info-strip-box p{
    max-width:800px;
    margin:auto;
    font-size:16px;
    line-height:1.8;
    color:#f5f5f5;
}

.home-info-section{
    padding:60px 0;
}

.home-info-box{
    background: linear-gradient(
        135deg,
        #bb0b0b 0%,
        #d11414 50%,
        #850909 100%
    );
    border-radius:5px;
    padding:50px 40px;
    text-align:center;
    color:#fff;
    box-shadow:0 15px 40px rgba(187,11,11,.25);
    position:relative;
    overflow:hidden;
}

.home-info-box::before{
    content:'';
    position:absolute;
    top:-50px;
    right:-50px;
    width:180px;
    height:180px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}

.home-info-box::after{
    content:'';
    position:absolute;
    bottom:-70px;
    left:-70px;
    width:220px;
    height:220px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
}

.home-info-box h2{
    position:relative;
    z-index:2;
    font-size:clamp(1.8rem,4vw,2.8rem);
    font-weight:700;
    margin-bottom:20px;
}

.home-info-box p{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:auto;
    font-size:17px;
    line-height:1.8;
    color:#f5f5f5;
}

.premium-bg{
    background:
        radial-gradient(circle at top left,#d4145a 0%,transparent 35%),
        radial-gradient(circle at top right,#7b2ff7 0%,transparent 35%),
        linear-gradient(135deg,#0f172a,#111827,#1e293b);
    color:#fff;
}

.nav-premium{
    background:
        radial-gradient(circle at top left,#d4145a 0%,transparent 35%),
        radial-gradient(circle at top right,#7b2ff7 0%,transparent 35%),
        linear-gradient(135deg,#0f172a,#111827,#1e293b);
    border-bottom:2px solid rgba(255,255,255,.08);
}

.nav-premium .nav-link{
    color:#fff !important;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.nav-premium .nav-link:hover{
    color:#fbbf24 !important;
    transform:translateY(-2px);
}

.brand-title{
    font-size:34px;
    font-weight:900;
    color:#fff;
    letter-spacing:1px;
    text-shadow:0 2px 10px rgba(212,20,90,.5);
}

.btn-premium{
    background:linear-gradient(135deg,#d4145a,#7b2ff7);
    color:#fff !important;
    border:none;
    font-weight:700;
    box-shadow:0 5px 15px rgba(123,47,247,.3);
}

.btn-premium:hover{
    color:#fff !important;
    transform:translateY(-2px);
}


.premium-header{
    background: linear-gradient(135deg,#FFD700,#FFA500);
    border-radius:20px;
    box-shadow:0 15px 40px rgba(255,193,7,.3);
}

.premium-card{
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(15px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:24px;
    overflow:hidden;
    transition:.4s;
}

.premium-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.35);
}

.market-header{
    background: linear-gradient(135deg,#ff512f,#dd2476);
    color:#fff;
    font-size:20px;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:15px;
}

.time-badge{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    padding:12px 20px;
    border-radius:50px;
    font-weight:700;
    display:inline-block;
    box-shadow:0 8px 20px rgba(124,58,237,.4);
}

.result-text{
    font-size:24px;
    font-weight:800;
    color:#ff4d6d;
    text-shadow:0 0 10px rgba(255,77,109,.4);
}

.coming-badge{
    background:linear-gradient(135deg,#FFD700,#FF9800);
    color:#000;
    font-weight:700;
    padding:10px 20px;
    border-radius:50px;
}

.chart-btn{
    display:block;
    width:100%;
    background:#2f2f2f;
    color:#fff;
    text-decoration:none;
    padding:10px;
    border-radius:5px;
    font-weight:700;
    text-transform:uppercase;
}

.chart-btn:hover{
    /* background:#1c1c1c; */
    background: linear-gradient(135deg, #bb0b0b 0%, #d91c1c 50%, #8b0000 100%);
    color:#fff;
}

.glow-title{
    font-size:42px;
    font-weight:900;
    color:#fff;
    text-shadow:0 0 20px rgba(255,215,0,.8);
}

.subtitle{
    color:#222;
    font-weight:600;
}

@media(max-width:768px){
    .glow-title{
        font-size:28px;
    }

    .result-text{
        font-size:20px;
    }
}

.live-clock{
    font-size:32px;
    font-weight:800;
    color:#0d6efd;
    text-shadow:0 2px 10px rgba(13,110,253,.3);
}

.blink{
    color:red;
    animation: blink 1s infinite;
}

@keyframes blink{
    0%,50%{
        opacity:1;
    }
    51%,100%{
        opacity:0;
    }
}