#particles-js{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:rgb(255, 255, 255);
    min-height:100vh;
    overflow-x:hidden;
}

.dashboard{
    max-width:1200px;
    margin:auto;
    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(15px);

    border:1px solid rgba(255,255,255,0.1);

    box-shadow:
    0 8px 32px rgba(0,0,0,0.4);

    border-radius:20px; 
}

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

.header h1{
    font-size:40px;
    margin-bottom:10px;
}

.header p{
    color:#94a3b8;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    padding:25px;
    border-radius:15px;
    text-align:center;
    border:1px solid rgba(255,255,255,0.1);
}

.stat-card h3{
    margin-bottom:10px;
    color:#06b6d4;
}

.main-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    padding:30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.1);
}

.input-group{
    margin-bottom:20px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
}

.input-group input{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    font-size:16px;
}

.symptoms{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:20px;
}

.symptoms label{
    background:#1e293b;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
}

button{
    width: 100%;

    padding: 16px 20px;

    font-size: 18px;

    font-weight: 600;

    background:#00d4ff;

    border:none;

    border-radius:12px;

    cursor:pointer;

    transition:0.3s;

}

button:hover{
    transform:translateY(-3px);

    box-shadow:
    0 0 20px #00d4ff;
}

.result-card{
    background:
    rgba(0,212,255,0.08);

    border:
    1px solid rgba(0,212,255,0.3);

    border-radius:16px;

    padding:20px;

    animation:
    pulseGlow 3s infinite;
}

.disease-card{
    margin-top:20px;
    background:#0f172a;
    padding:20px;
    border-radius:12px;
    border-left:5px solid #06b6d4;
}

.disease-card h3{
    color:#06b6d4;
    margin-bottom:10px;
}

.disease-card p{
    margin-bottom:12px;
    line-height:1.7;
}

@media(max-width:768px){

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

    .header h1{
        font-size:28px;
    }

}
.confidence-bar{
    width:100%;
    height:12px;
    background:#334155;
    border-radius:20px;
    overflow:hidden;
    margin:10px 0;
}

.confidence-fill{
    height:100%;
    background:#06b6d4;
}
.history-section{
    margin-top:30px;
}

.history-section h2{
    margin-bottom:15px;
}

#historyTable{
    width:100%;
    border-collapse:collapse;
    background:#1e293b;
    border-radius:12px;
    overflow:hidden;
}

#historyTable th{
    background:#06b6d4;
    color:white;
    padding:15px;
}

#historyTable td{
    padding:15px;
    text-align:center;
    border-bottom:1px solid #334155;
}

#historyTable tr:hover{
    background:#334155;
}
#voiceBtn{
    background:#10b981;
    margin-top:20px;
}

#voiceBtn:hover{
    transform:translateY(-2px);
}
.voice-output{
    margin-top:15px;
    background:#1e293b;
    padding:15px;
    border-radius:10px;
    border-left:4px solid #10b981;
}

#transcriptText{
    color:white;
    font-size:15px;
}


.container{
    display:flex;
    position:relative;
    z-index:1;
}
.chatbot-btn{
    position:fixed;
    bottom:20px;
    right:20px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#00d4ff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:25px;
    cursor:pointer;
    z-index:999;
}

.chat-container{
    position:fixed;
    bottom:90px;
    right:20px;
    width:350px;
    height:500px;
    background:#0f172a;
    border-radius:15px;
    display:none;
    flex-direction:column;
    overflow:hidden;
    z-index:999;
    box-shadow:0 0 20px rgba(0,212,255,0.3);
}

.chat-header{
    background:#00d4ff;
    color:black;
    padding:15px;
    font-weight:bold;
}

.chat-body{
    flex:1;
    overflow-y:auto;
    padding:15px;
}

.bot-message,
.user-message{
    margin:10px 0;
    padding:10px;
    border-radius:10px;
}

.bot-message{
    background:#1e293b;
}

.user-message{
    background:#00d4ff;
    color:black;
    text-align:right;
}

.chat-input{
    display:flex;
}

.chat-input input{
    flex:1;
    padding:10px;
    border:none;
}

.chat-input button{
    background:#00d4ff;
    border:none;
    padding:10px 15px;
    cursor:pointer;
}
.mic-btn{
    background:#00d4ff;
    border:none;
    padding:10px 15px;
    cursor:pointer;
    font-size:18px;
}

.mic-btn:hover{
    transform:scale(1.05);
}
@keyframes pulseGlow{

    0%{
        box-shadow:
        0 0 10px #00d4ff;
    }

    50%{
        box-shadow:
        0 0 25px #00d4ff;
    }

    100%{
        box-shadow:
        0 0 10px #00d4ff;
    }
}



/* Floating Medical Particles */
body{
    margin:0;
    padding:20px;
    min-height:100vh;
    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
        rgba(3,10,30,0.82),
        rgba(3,10,30,0.82),
        #081b29
    ),
    url("images/medical-bg.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    color:white;
    overflow-x:hidden;
}
.dashboard{
    max-width:1200px;
    margin:auto;

    background:rgba(10,20,40,0.45);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(0,212,255,0.2);

    border-radius:20px;

    padding:30px;

    box-shadow:
    0 0 30px rgba(0,212,255,0.15);
}
.main-card{
    background:rgba(15,25,50,0.55);

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:25px;

    border:1px solid rgba(0,212,255,0.15);

    box-shadow:
    0 0 20px rgba(0,212,255,0.15);
}
button{
    width:100%;
    padding:16px;

    border:none;
    border-radius:12px;

    font-size:18px;
    font-weight:600;

    cursor:pointer;

    color:white;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #0099ff
    );

    transition:0.3s;
}

button:hover{
    transform:translateY(-3px);

    box-shadow:
    0 0 25px rgba(0,212,255,0.5);
}
.symptoms label{
    display:block;

    padding:14px;

    margin:10px 0;

    background:rgba(255,255,255,0.06);

    border:1px solid rgba(0,212,255,0.1);

    border-radius:10px;

    transition:0.3s;
}

.symptoms label:hover{
    background:rgba(0,212,255,0.12);

    transform:translateX(5px);
}
#result{
    margin-top:20px;

    background:rgba(255,255,255,0.06);

    border-left:4px solid #00d4ff;

    padding:20px;

    border-radius:12px;
}
h1{
    text-align:center;

    font-size:40px;

    color:#ffffff;

    text-shadow:
    0 0 10px #00d4ff,
    0 0 20px #00d4ff;
}

body::before,
body::after{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:-1;
}

body::before{
    background:
    radial-gradient(circle,#00d4ff 2px,transparent 2px),
    radial-gradient(circle,#4facfe 2px,transparent 2px),
    radial-gradient(circle,#00f2fe 2px,transparent 2px);
    
    background-size:
    180px 180px,
    240px 240px,
    300px 300px;

    animation:floatParticles 25s linear infinite;
    opacity:0.5;
}

body::after{
    background:
    radial-gradient(circle,#ffffff 1px,transparent 1px);

    background-size:120px 120px;

    animation:floatParticlesReverse 35s linear infinite;
    opacity:0.25;
}

@keyframes floatParticles{
    from{
        transform:translateY(0px);
    }
    to{
        transform:translateY(-200px);
    }
}

@keyframes floatParticlesReverse{
    from{
        transform:translateY(-200px);
    }
    to{
        transform:translateY(0px);
    }
}
.dashboard{
    backdrop-filter: blur(12px);
}

body{
    margin:0;
    padding:0;
    min-height:100vh;

    background:
    linear-gradient(
        rgba(0,20,40,0.85),
        rgba(0,10,30,0.90)
    ),
    url("images/medical-bg.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    font-family:'Poppins',sans-serif;
}

 