#my-voice-search-container {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #FFFFE0; /* Light yellow/cream */
    width: 100% !important;
    margin: 20px auto;
    text-align: center;
}

#voice-search-input {
    width: calc(100% - 22px); /* Account for padding/border */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 17px;
    color: #39FF14 !important; /* Text color to bright green */
    background-color: black !important; /* Explicitly set background to black for consistency */
}

#voice-search-button {
    background-color: #90ee90; /* Light green */
    color: black !important;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

#voice-search-button:hover {
    background-color: #76c976; /* Slightly darker green on hover */
}

#voice-search-button.recording {
    background-color: #d9534f; /* Red when recording */
}

#voice-search-feedback {
    margin-top: 10px;
    font-size: 1.05em;
    font-weight: bold;
    color: #333; /* This color needs to be checked, might be hidden by dark theme */
}

/* Individual search result item styling */
.search-result-item {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-result-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.search-result-item a:hover {
    text-decoration: underline;
}

.search-result-item p {
    font-size: 0.9em !important;
    color: black !important; /* CHANGED: Set to black */
    font-weight: bold !important;
    margin: 5px 0 0;
}

/* Styling for the content snippet and summarize button */
.snippet-container {
    margin-top: 10px;
    padding: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 0.85em;
    color: #333;
}

.snippet-text {
    font-size: 1.5em !important;
    color: black !important; /* CHANGED: Set to black */
    font-weight: bold !important;
    margin-bottom: 8px;
}

.summarize-button {
    background-color: #28a745;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 8px;
    display: inline-block;
}

.summarize-button:hover {
    background-color: #218838;
}

.summarize-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* NEW: Styles for the real-time output terminal */
#real-time-output-container {
    margin-top: 20px;
    text-align: left;
    background-color: black; /* Black background */
    border: 1px solid #39FF14; /* Bright green border */
    border-radius: 4px;
    padding: 10px;
}

#real-time-output-container h3 {
    color: #39FF14 !important; /* Bright green heading text */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

#real-time-output {
    background-color: black; /* Black background */
    color: #39FF14 !important; /* Bright green text */
    font-family: 'monospace', 'Consolas', 'Courier New', monospace; /* Monospace font */
    font-size: 0.9em;
    height: 150px; /* Fixed height for terminal */
    overflow-y: auto; /* Enable vertical scrolling */
    border: none;
    padding: 0;
    margin: 0;
    white-space: pre-wrap; /* Preserve whitespace but wrap lines */
    word-wrap: break-word; /* Break long words */
}

/* NEW: Sidebar Post Link Styling */
#recent-posts-2 li a {
    color: #FF8C00 !important; /* Orange color for sidebar post links */
    font-weight: bold !important; /* Make them bold for better visibility */
    text-decoration: none !important; /* Remove underline by default */
}

#recent-posts-2 li a:hover {
    color: #FF4500 !important; /* Slightly darker orange on hover */
    text-decoration: underline !important; /* Add underline on hover */
}
