/* Admin content area */
.admin-content {
    max-width: 100%;
    padding: 0 3rem;
    margin-left: 0;
    margin-top: 5vh;
}
/* Conversation list styles */
.conversation-list {
    list-style-type: none;
    padding: 0 1.5rem;
    margin: 0.5rem 0;
}

.conversation-list li {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: black;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#root {
    background: black;
    min-height: 100vh;
    height: 100%;
    display: block;
}

.p-3, .p-4 {
    background: black !important;
    color: white !important;
}

h1.text-xl {
    display: none;
}

.p-2 {
    color: black;
}

.ml-auto {
    margin-left: auto;
    text-align: right;
}

input {
    background: black;
    color: white !important;
}

button {
    background: black !important;
    border: 1px solid white;
}

.bg-green-50 {
    height: 25vh;
    overflow: auto;
}

.message-container {
    max-width: 100%;
    padding: 0 3rem;
    margin-left: 0;
    margin-top: 5vh;
}

.message {
    padding: 1.5rem 0;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    border-bottom: none;
}

.message-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: white;
    font-size: 14pt;
    font-weight: 200;
}

.messages-window {
    border-color: transparent;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}

.input-container {
    position: fixed;
    bottom: 0;
    left: 250px;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-wrapper {
    display: inline-block;
    width: 100%;
    margin-left: 0%;
    float: left;
}        

.input-prompt {
    max-width: none;
    margin: 0;
    /* margin: 0 auto; */
    background: rgba(100, 100, 100, 0.5);
    padding: 0.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
}

.input-prompt textarea {
    border-color: transparent;
    background: transparent;
    padding: 0.5rem;
    font-size: 11pt;
    width: 100%;
    resize: none;
    min-height: 24px;
    max-height: 200px;
    overflow-y: auto;
    color: white;
}

/* Dashboard Selection Modal Styles */
.dashboard-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-select-modal {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
}

.dashboard-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.dashboard-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-label {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.dashboard-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.input-prompt textarea:focus {
    outline: none;
    border-color: transparent;
}

#mic-button {
    padding: 8px !important;
    height: 36px;
    width: 36px;
    border-radius: 50% !important;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: 8px;
    border: 1px solid white !important;
}

#mic-button svg {
    width: 16px;
    margin-top: -1px;
    fill: white;
}

.prompt-button {
    padding: 8px !important;
    height: 36px;
    width: 36px;
    border-radius: 50% !important;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: 8px;
}

#mic-button:hover, .prompt-button:hover {
    opacity: 1;
}

.prompt-arrow {
    filter: invert(1);
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.5);
}

.message {
    padding: 1.5rem 0;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    border-bottom: none;
    display: flex;
    gap: 1rem;
}

.message-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.085);
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-avatar img {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.message-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.user-message .message-avatar {
    order: 1;
    margin-left: 1rem;
    margin-right: 0;
}

.user-message .message-content-wrapper {
    order: 0;
    text-align: right;
    justify-content: end;
}

.main-logo {
    padding-top: 10px;
    display: block;
    width: 30%;
    margin: 0 auto;
}

.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.password-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.password-form input {
    width: 100%;
    padding: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
}

.password-form button {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.password-form button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.password-form .error-message {
    color: #ff4444;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.password-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: white;
}

.auth-form button {
    width: 100%;
    padding: 0.75rem;
    margin: 1rem 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: background 0.2s;
    color: white;
}

.auth-form button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.auth-toggle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 1rem;
}

.auth-toggle button {
    background: none !important;
    border: none;
    padding: 0;
    color: white;
    text-decoration: underline;
    cursor: pointer;
    width: auto;
    margin: 0;
    margin-left: 0.5rem;
}

.error-message {
    color: #ff4444;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}


.sidebar {
    background: #111;
    width: 250px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
}

/* Admin Sidebar Styles */
.admin-sidebar {
    background: #111;
    width: 250px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

.sidebar-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav-item.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 3px solid white;
}

.sidebar-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.logout-link {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.tts-settings-modal {
    display: none;
}

/* Hide TTS button for now - it was appearing as tiny periods */
.message-speech-control {
    display: none !important;
}

.results-header {
    display: none;
}

.heating-up-searchbar-container {
    background: transparent !important;
}

#topPostsContainer > div {
    background: transparent !important;
}

.tep-post-thumbnail {
    height: 8rem !important;
}