/* === ESTILOS DO RACKFY - TEMA CLARO E ESCURO === */

/* PARTE 1: Estilos Básicos e Transições */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

#theme-toggle-btn {
    width: 160px;
    justify-content: center;
}

.modal-backdrop {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}

.chat-bubble-user {
    background-color: #4f46e5;
    color: white;
}

/* Indigo */
.chat-bubble-assistant {
    background-color: #e5e7eb;
    color: #1f2937;
}

.toast {
    transition: opacity 0.3s, transform 0.3s;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    /* red-500 */
    border-radius: 9999px;
    border: 1px solid white;
}

.selection-item-enter {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.selection-item-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu {
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.helpful-btn.voted {
    background-color: #16a34a;
    /* green-600 */
    color: white;
    border-color: #16a34a;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.tooltip {
    position: relative;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    /* gray-800 */
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s;
}

.tooltip-bottom:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 125%;
    /* Posição alterada para baixo */
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    /* gray-800 */
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s;
}

.notification-item-wrapper.read {
    opacity: 0.6;
}

/* PARTE 2: Tema Claro (Light Mode) e Dark Mode Geral */

/* ESTILOS GERAIS E LIGHT MODE */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: #1f2937;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#home-logo svg text {
    fill: #4338ca;
}

/* Botão de Tema em Light Mode */
#theme-toggle-btn,
#mobile-theme-toggle-btn {
    background-color: #3fb950;
    color: #0d1117;
    border: 1px solid #0d1117;
}

#theme-toggle-btn:hover,
#mobile-theme-toggle-btn:hover {
    background-color: #48d15d;
}

#mobile-theme-toggle-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}
