body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    margin: 20px auto;
    background-color: #1b1b1b; /* Dark background to make the neon pop */
    color: #ffffff; /* White text color for contrast */
    overflow: hidden;
    border: 2px solid #333;
}

/* Neon glow for the header */
h1 {
    font-size: 3rem;
    color: #0ff; /* Cyan neon color */
    text-align: center;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff, 0 0 40px #0ff;
    margin-bottom: 20px;
}

/* Neon glow effect for the prompt textarea */
textarea {
    width: 100%;
    height: 150px;
    padding: 0px;
    border-radius: 10px;
    border: 1px solid #00ffea;
    background-color: #121212; /* Dark background for the input */
    color: #0ff; /* Neon cyan text */
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea;
    resize: none;
    outline: none;
    font-size: 16px;
    text-shadow: 0 0 5px #00ffea;
}

textarea::placeholder {
    color: #888; /* Placeholder text color */
}

textarea:focus {
    box-shadow: 0 0 20px #00ffea, 0 0 40px #00ffea;
    border-color: #00ffea;
}


/* Button glow effect */
button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #282828;
    border: 1px solid #00ffea;
    border-radius: 8px;
    text-shadow: 0 0 5px #00ffea;
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea, 0 0 30px #00ffea;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button:hover {
    background-color: #00ffea; /* Change background on hover */
    color: #000; /* Change text color on hover */
    box-shadow: 0 0 20px #00ffea, 0 0 40px #00ffea, 0 0 60px #00ffea;
}

/* Glow effect for the response box */
#responseMessage {
    background-color: #121212; /* Dark background */
    color: #0ff; /* Neon cyan text */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00ffea;
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea;
    white-space: pre-wrap;
    margin-top: 20px;
    max-height: 150px; /* Set a fixed maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
}


.speak-icon {
    cursor: pointer;
    font-size: 24px;
    color: #00ffea; /* Neon cyan color */
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 0 5px #00ffea, 0 0 10px #00ffea;
}

.speak-icon:hover {
    color: #0ff; /* Brighter color on hover */
}

.conversation-log {
    margin-top: 20px;
    border: 1px solid #00ffea;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #181818;
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea;
}

.message.user {
    font-weight: bold;
    color: #00ffea; /* Neon for user message */
}

.message.bot {
    color: #0ff; /* Neon for bot message */
}

/* Animation for buttons and hover */
@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 5px #00ffea, 0 0 10px #00ffea;
    }
    100% {
        box-shadow: 0 0 20px #00ffea, 0 0 40px #00ffea;
    }
}

/* Footer styling */
footer {
    margin-top: 40px;
    padding: 10px;
    text-align: center;
    color: #0ff; /* Neon cyan color */
    text-shadow: 0 0 5px #00ffea, 0 0 10px #00ffea;
    font-size: 14px;
    background-color: #121212; /* Match dark theme */
    border-top: 1px solid #00ffea; /* Neon border on top */
    box-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

