/* FX Bull Modern Chat - Responsive Design */

/* ============================================
   MODERN PANEL LAYOUT
   ============================================ */

.fxinek-modern-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    --fxinek-accent: var(--wp--preset--color--primary, #2563eb);
    --fxinek-accent-2: var(--wp--preset--color--secondary, var(--fxinek-accent));
    --fxinek-accent-text: var(--wp--preset--color--contrast, #ffffff);
    --fxinek-accent-gradient: linear-gradient(135deg, var(--fxinek-accent) 0%, var(--fxinek-accent-2) 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ============================================
   CHAT CONTAINER
   ============================================ */

.fxinek-chat-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    max-height: 800px;
    min-height: 500px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fxinek-chat-container {
        height: calc(100vh - 80px);
        max-height: none;
        min-height: 400px;
        border-radius: 12px;
    }
}

/* ============================================
   CHAT HEADER
   ============================================ */

.fxinek-chat__header {
    background: var(--fxinek-accent-gradient);
    color: var(--fxinek-accent-text);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fxinek-chat__header-left {
    display: flex;
    flex-direction: column;
}

.fxinek-chat__header-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fxinek-chat__header-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .fxinek-chat__header {
        padding: 16px 20px;
    }
    
    .fxinek-chat__header-title {
        font-size: 18px;
    }
    
    .fxinek-chat__header-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   THEME TOGGLE
   ============================================ */

.fxinek-theme-toggle {
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: var(--fxinek-accent-text);
    border-radius: 999px;
    width: 56px;
    height: 28px;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: background 0.2s ease;
}

.fxinek-theme-toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.fxinek-theme-toggle__icon {
    font-size: 12px;
    line-height: 1;
    z-index: 1;
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fxinek-theme-toggle__icon svg,
.fxinek-theme-toggle__icon img {
    width: 14px;
    height: 14px;
    display: block;
}

body.dark-mode .fxinek-theme-toggle,
body.dark .fxinek-theme-toggle,
body.theme-dark .fxinek-theme-toggle,
body.is-dark .fxinek-theme-toggle,
body[data-theme="dark"] .fxinek-theme-toggle {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-mode .fxinek-theme-toggle::after,
body.dark .fxinek-theme-toggle::after,
body.theme-dark .fxinek-theme-toggle::after,
body.is-dark .fxinek-theme-toggle::after,
body[data-theme="dark"] .fxinek-theme-toggle::after {
    transform: translateX(28px);
}

/* ============================================
   MESSAGES AREA
   ============================================ */

.fxinek-chat__messages {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 520px;
    overflow-y: auto;
    display: block;
    padding: 24px;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .fxinek-chat__messages {
        padding: 16px;
        max-height: 50vh;
    }
}

/* Quick Replies */
.fxinek-quick-replies {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fxinek-quick-replies__title {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 12px;
}

.fxinek-quick-replies__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fxinek-quick-reply {
    padding: 8px 14px;
    background: var(--fxinek-accent-gradient);
    border: none;
    border-radius: 20px;
    color: var(--fxinek-accent-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fxinek-quick-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.fxinek-quick-reply:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fxinek-quick-reply {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Message bubbles */
.fxinek-chat__message {
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fxinek-chat__message--user {
    text-align: right;
}

.fxinek-chat__message--bot {
    text-align: left;
}

.fxinek-chat__message-bubble {
    display: inline-block;
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .fxinek-chat__message-bubble {
        max-width: 90%;
        padding: 10px 14px;
    }
}

.fxinek-chat__message--user .fxinek-chat__message-bubble {
    background: var(--fxinek-accent-gradient);
    color: var(--fxinek-accent-text);
    border-bottom-right-radius: 4px;
}

.fxinek-chat__message--bot .fxinek-chat__message-bubble {
    background: white;
    color: #2c3e50;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fxinek-chat__message-bubble p {
    margin: 0 0 8px;
}

.fxinek-chat__message-bubble p:last-child {
    margin-bottom: 0;
}

.fxinek-chat__message-bubble ul,
.fxinek-chat__message-bubble ol {
    margin: 8px 0 0 18px;
    padding: 0;
}

.fxinek-chat__message-bubble li {
    margin-bottom: 6px;
}

.fxinek-chat__feedback {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 80%;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

.fxinek-chat__message--bot .fxinek-chat__feedback {
    margin-left: 4px;
}

.fxinek-chat__feedback-btn {
    appearance: none;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 9px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.fxinek-chat__feedback-btn:hover:not(:disabled) {
    border-color: var(--fxinek-accent);
    color: var(--fxinek-accent);
    background: #f8fbff;
}

.fxinek-chat__feedback-btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.fxinek-chat__feedback-status {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .fxinek-chat__feedback {
        max-width: 90%;
    }
}

/* ============================================
   PRICE CARD
   ============================================ */

.fxinek-price-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
}

.fxinek-price-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.fxinek-price-card__pair {
    font-weight: 700;
    color: #1f2937;
}

.fxinek-price-card__badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
}

.fxinek-price-card__price {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.fxinek-price-card__time {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.fxinek-price-card__link a {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.fxinek-price-card__link a:hover {
    text-decoration: underline;
}

.fxinek-price-card--crypto {
    display: grid;
    gap: 10px;
}

.fxinek-price-card__metrics {
    display: grid;
    gap: 8px;
    margin: 6px 0;
}

.fxinek-price-card__metric {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
}

.fxinek-price-card__metric:first-child {
    border-top: 0;
    padding-top: 0;
}

.fxinek-price-card__metric-label {
    font-size: 12px;
    color: #6b7280;
}

.fxinek-price-card__metric-value {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-align: right;
}

.fxinek-price-card__metric-value--up,
.fxinek-crypto-list__change.fxinek-price-card__metric-value--up {
    color: #16a34a;
}

.fxinek-price-card__metric-value--down,
.fxinek-crypto-list__change.fxinek-price-card__metric-value--down {
    color: #dc2626;
}

.fxinek-price-card__metric-value--flat,
.fxinek-crypto-list__change.fxinek-price-card__metric-value--flat {
    color: #6b7280;
}

.fxinek-crypto-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fxinek-crypto-list {
    display: grid;
    gap: 0;
}

.fxinek-crypto-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px dashed #e5e7eb;
}

.fxinek-crypto-list__item:first-child {
    border-top: 0;
}

.fxinek-crypto-list__item--compare {
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
}

.fxinek-crypto-list__name,
.fxinek-crypto-list__values {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fxinek-crypto-list__name strong {
    color: #1f2937;
    font-size: 13px;
    line-height: 1.25;
}

.fxinek-crypto-list__name span {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.fxinek-crypto-list__values {
    align-items: flex-end;
    text-align: right;
}

.fxinek-crypto-list__price {
    color: #111827;
    font-weight: 800;
}

.fxinek-crypto-list__change {
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .fxinek-crypto-comparison {
        grid-template-columns: minmax(0, 1fr);
    }

    .fxinek-crypto-list__item {
        align-items: flex-start;
    }
}

/* ============================================
   CHOICES
   ============================================ */

.fxinek-chat__choices {
    flex: 0 0 auto;
    padding: 0 24px 16px;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .fxinek-chat__choices {
        padding: 0 16px 12px;
    }
}

.fxinek-chat__choice {
    display: inline-block;
    margin: 4px;
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--fxinek-accent);
    border-radius: 20px;
    color: var(--fxinek-accent);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fxinek-chat__choice:hover {
    background: var(--fxinek-accent);
    color: var(--fxinek-accent-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .fxinek-chat__choice {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ============================================
   INPUT AREA
   ============================================ */

.fxinek-chat__input-wrapper {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .fxinek-chat__input-wrapper {
        padding: 16px 20px;
        gap: 8px;
    }
}

.fxinek-chat__text {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 24px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.fxinek-chat__text:focus {
    border-color: var(--fxinek-accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .fxinek-chat__text {
        padding: 10px 14px;
        font-size: 14px;
    }
}

.fxinek-chat__send {
    width: 48px;
    height: 48px;
    background: var(--fxinek-accent-gradient);
    border: none;
    border-radius: 50%;
    color: var(--fxinek-accent-text);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fxinek-chat__send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.fxinek-chat__send:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .fxinek-chat__send {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

.fxinek-chat__send-icon {
    display: block;
    transform: translateX(1px);
}

/* ============================================
   HISTORY SIDEBAR
   ============================================ */

.fxinek-history-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    max-height: 800px;
    min-height: 500px;
}

@media (max-width: 768px) {
    .fxinek-history-sidebar {
        height: auto;
        max-height: none;
        min-height: 300px;
        margin-bottom: 20px;
    }
}

.fxinek-history__header {
    background: var(--fxinek-accent-gradient);
    color: var(--fxinek-accent-text);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fxinek-history__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.fxinek-history__refresh {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fxinek-history__refresh:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .fxinek-history__header {
        padding: 16px 20px;
    }
    
    .fxinek-history__title {
        font-size: 16px;
    }
}

.fxinek-history__list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.fxinek-history__loading {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.fxinek-history__item {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    color: #1f2937;
}

.fxinek-history__item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.fxinek-history__item--active {
    background: var(--fxinek-accent-gradient);
    color: var(--fxinek-accent-text);
    border-color: var(--fxinek-accent);
}

.fxinek-history__item--active .fxinek-history__item-title,
.fxinek-history__item--active .fxinek-history__item-date {
    color: var(--fxinek-accent-text);
    opacity: 0.9;
}

.fxinek-history__item-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    color: #1f2937;
}

.fxinek-history__item-date {
    font-size: 12px;
    opacity: 0.7;
    color: #6b7280;
}

.fxinek-history__footer {
    padding: 16px;
    border-top: 1px solid #e9ecef;
}

.fxinek-history__new-chat {
    width: 100%;
    padding: 12px;
    background: var(--fxinek-accent-gradient);
    border: none;
    border-radius: 12px;
    color: var(--fxinek-accent-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fxinek-history__new-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ============================================
   LOGIN REQUIRED
   ============================================ */

.fxinek-login-required {
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.fxinek-login-required p {
    font-size: 16px;
    margin: 0;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

.fxinek-chat__messages::-webkit-scrollbar,
.fxinek-history__list::-webkit-scrollbar {
    width: 8px;
}

.fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-history__list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-history__list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-history__list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.fxinek-chat__loading {
    display: inline-block;
    padding: 12px 16px;
}

.fxinek-chat__loading-dots {
    display: flex;
    gap: 4px;
}

.fxinek-chat__loading-dot {
    width: 8px;
    height: 8px;
    background: #cbd5e0;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.fxinek-chat__loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.fxinek-chat__loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {
    /* Container */
    .fxinek-chat-container {
        background: #1e1e1e;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    /* Messages Area */
    .fxinek-chat__messages {
        background: #2d2d2d;
    }
    
    /* Bot Message Bubble */
    .fxinek-chat__message--bot .fxinek-chat__message-bubble {
        background: #3a3a3a;
        color: #e0e0e0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .fxinek-chat__feedback {
        color: #9ca3af;
    }

    .fxinek-chat__feedback-btn {
        background: #2d2d2d;
        border-color: #505050;
        color: #d1d5db;
    }

    .fxinek-chat__feedback-btn:hover:not(:disabled) {
        background: #3a3a3a;
        border-color: #93c5fd;
        color: #93c5fd;
    }

    .fxinek-chat__feedback-status {
        color: #9ca3af;
    }
    
    /* Quick Replies */
    .fxinek-quick-replies {
        background: #3a3a3a;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .fxinek-quick-replies__title {
        color: #b0b0b0;
    }
    
    /* Choices */
    .fxinek-chat__choices {
        background: #2d2d2d;
    }
    
    .fxinek-chat__choice {
        background: #3a3a3a;
        border-color: var(--fxinek-accent);
        color: var(--fxinek-accent);
    }
    
    .fxinek-chat__choice:hover {
        background: var(--fxinek-accent);
        color: var(--fxinek-accent-text);
    }
    
    /* Input Area */
    .fxinek-chat__input-wrapper {
        background: #2d2d2d;
        border-top-color: #404040;
    }
    
    .fxinek-chat__text {
        background: #3a3a3a;
        border-color: #505050;
        color: #e0e0e0;
    }
    
    .fxinek-chat__text::placeholder {
        color: #888;
    }
    
    .fxinek-chat__text:focus {
        border-color: var(--fxinek-accent);
        background: #404040;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
    }
    
    /* History Sidebar */
    .fxinek-history-sidebar {
        background: #1e1e1e;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .fxinek-history__list {
        background: #1e1e1e;
    }
    
    .fxinek-history__loading {
        color: #b0b0b0;
    }
    
    .fxinek-history__item {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .fxinek-history__item:hover {
        background: #3a3a3a;
    }
    
    .fxinek-history__footer {
        border-top-color: #404040;
        background: #1e1e1e;
    }
    
    /* Login Required */
    .fxinek-login-required {
        color: #b0b0b0;
    }
    
    /* Scrollbar */
    .fxinek-chat__messages::-webkit-scrollbar-track,
    .fxinek-history__list::-webkit-scrollbar-track {
        background: #2d2d2d;
    }
    
    .fxinek-chat__messages::-webkit-scrollbar-thumb,
    .fxinek-history__list::-webkit-scrollbar-thumb {
        background: #505050;
    }
    
    .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
    .fxinek-history__list::-webkit-scrollbar-thumb:hover {
        background: #606060;
    }
    
    /* Loading Dots */
    .fxinek-chat__loading-dot {
        background: #606060;
    }

    /* Price Card */
    .fxinek-price-card {
        background: #2a2a2a;
        border-color: #404040;
    }

    .fxinek-price-card__pair {
        color: #e5e7eb;
    }

    .fxinek-price-card__badge {
        background: #1f2937;
        color: #93c5fd;
    }

    .fxinek-price-card__price {
        color: #f9fafb;
    }

    .fxinek-price-card__time {
        color: #9ca3af;
    }

    .fxinek-price-card__link a {
        color: #93c5fd;
    }

    .fxinek-price-card__metric,
    .fxinek-crypto-list__item {
        border-color: #404040;
    }

    .fxinek-price-card__metric-label,
    .fxinek-crypto-list__name span {
        color: #9ca3af;
    }

    .fxinek-price-card__metric-value,
    .fxinek-crypto-list__name strong,
    .fxinek-crypto-list__price {
        color: #f9fafb;
    }

    .fxinek-price-card__metric-value--up,
    .fxinek-crypto-list__change.fxinek-price-card__metric-value--up {
        color: #22c55e;
    }

    .fxinek-price-card__metric-value--down,
    .fxinek-crypto-list__change.fxinek-price-card__metric-value--down {
        color: #f87171;
    }

    .fxinek-price-card__metric-value--flat,
    .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat {
        color: #9ca3af;
    }
}

/* ============================================
   DARK MODE SUPPORT (CLASS-BASED)
   ============================================ */

body.dark-mode .fxinek-chat-container,
body.dark .fxinek-chat-container,
body.theme-dark .fxinek-chat-container,
body.is-dark .fxinek-chat-container,
body[data-theme="dark"] .fxinek-chat-container {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .fxinek-chat__messages,
body.dark .fxinek-chat__messages,
body.theme-dark .fxinek-chat__messages,
body.is-dark .fxinek-chat__messages,
body[data-theme="dark"] .fxinek-chat__messages {
    background: #2d2d2d;
}

body.dark-mode .fxinek-chat__message--bot .fxinek-chat__message-bubble,
body.dark .fxinek-chat__message--bot .fxinek-chat__message-bubble,
body.theme-dark .fxinek-chat__message--bot .fxinek-chat__message-bubble,
body.is-dark .fxinek-chat__message--bot .fxinek-chat__message-bubble,
body[data-theme="dark"] .fxinek-chat__message--bot .fxinek-chat__message-bubble {
    background: #3a3a3a;
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .fxinek-chat__feedback,
body.dark .fxinek-chat__feedback,
body.theme-dark .fxinek-chat__feedback,
body.is-dark .fxinek-chat__feedback,
body[data-theme="dark"] .fxinek-chat__feedback,
body.dark-mode .fxinek-chat__feedback-status,
body.dark .fxinek-chat__feedback-status,
body.theme-dark .fxinek-chat__feedback-status,
body.is-dark .fxinek-chat__feedback-status,
body[data-theme="dark"] .fxinek-chat__feedback-status {
    color: #9ca3af;
}

body.dark-mode .fxinek-chat__feedback-btn,
body.dark .fxinek-chat__feedback-btn,
body.theme-dark .fxinek-chat__feedback-btn,
body.is-dark .fxinek-chat__feedback-btn,
body[data-theme="dark"] .fxinek-chat__feedback-btn {
    background: #2d2d2d;
    border-color: #505050;
    color: #d1d5db;
}

body.dark-mode .fxinek-chat__feedback-btn:hover:not(:disabled),
body.dark .fxinek-chat__feedback-btn:hover:not(:disabled),
body.theme-dark .fxinek-chat__feedback-btn:hover:not(:disabled),
body.is-dark .fxinek-chat__feedback-btn:hover:not(:disabled),
body[data-theme="dark"] .fxinek-chat__feedback-btn:hover:not(:disabled) {
    background: #3a3a3a;
    border-color: #93c5fd;
    color: #93c5fd;
}

body.dark-mode .fxinek-quick-replies,
body.dark .fxinek-quick-replies,
body.theme-dark .fxinek-quick-replies,
body.is-dark .fxinek-quick-replies,
body[data-theme="dark"] .fxinek-quick-replies {
    background: #3a3a3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .fxinek-quick-replies__title,
body.dark .fxinek-quick-replies__title,
body.theme-dark .fxinek-quick-replies__title,
body.is-dark .fxinek-quick-replies__title,
body[data-theme="dark"] .fxinek-quick-replies__title {
    color: #b0b0b0;
}

body.dark-mode .fxinek-chat__choices,
body.dark .fxinek-chat__choices,
body.theme-dark .fxinek-chat__choices,
body.is-dark .fxinek-chat__choices,
body[data-theme="dark"] .fxinek-chat__choices {
    background: #2d2d2d;
}

body.dark-mode .fxinek-chat__choice,
body.dark .fxinek-chat__choice,
body.theme-dark .fxinek-chat__choice,
body.is-dark .fxinek-chat__choice,
body[data-theme="dark"] .fxinek-chat__choice {
    background: #3a3a3a;
    border-color: var(--fxinek-accent);
    color: var(--fxinek-accent);
}

body.dark-mode .fxinek-chat__choice:hover,
body.dark .fxinek-chat__choice:hover,
body.theme-dark .fxinek-chat__choice:hover,
body.is-dark .fxinek-chat__choice:hover,
body[data-theme="dark"] .fxinek-chat__choice:hover {
    background: var(--fxinek-accent);
    color: var(--fxinek-accent-text);
}

body.dark-mode .fxinek-chat__input-wrapper,
body.dark .fxinek-chat__input-wrapper,
body.theme-dark .fxinek-chat__input-wrapper,
body.is-dark .fxinek-chat__input-wrapper,
body[data-theme="dark"] .fxinek-chat__input-wrapper {
    background: #2d2d2d;
    border-top-color: #404040;
}

body.dark-mode .fxinek-chat__text,
body.dark .fxinek-chat__text,
body.theme-dark .fxinek-chat__text,
body.is-dark .fxinek-chat__text,
body[data-theme="dark"] .fxinek-chat__text {
    background: #3a3a3a;
    border-color: #505050;
    color: #e0e0e0;
}

body.dark-mode .fxinek-chat__text::placeholder,
body.dark .fxinek-chat__text::placeholder,
body.theme-dark .fxinek-chat__text::placeholder,
body.is-dark .fxinek-chat__text::placeholder,
body[data-theme="dark"] .fxinek-chat__text::placeholder {
    color: #888;
}

body.dark-mode .fxinek-chat__text:focus,
body.dark .fxinek-chat__text:focus,
body.theme-dark .fxinek-chat__text:focus,
body.is-dark .fxinek-chat__text:focus,
body[data-theme="dark"] .fxinek-chat__text:focus {
    border-color: var(--fxinek-accent);
    background: #404040;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

body.dark-mode .fxinek-history-sidebar,
body.dark .fxinek-history-sidebar,
body.theme-dark .fxinek-history-sidebar,
body.is-dark .fxinek-history-sidebar,
body[data-theme="dark"] .fxinek-history-sidebar {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .fxinek-history__list,
body.dark .fxinek-history__list,
body.theme-dark .fxinek-history__list,
body.is-dark .fxinek-history__list,
body[data-theme="dark"] .fxinek-history__list {
    background: #1e1e1e;
}

body.dark-mode .fxinek-history__loading,
body.dark .fxinek-history__loading,
body.theme-dark .fxinek-history__loading,
body.is-dark .fxinek-history__loading,
body[data-theme="dark"] .fxinek-history__loading {
    color: #b0b0b0;
}

body.dark-mode .fxinek-history__item,
body.dark .fxinek-history__item,
body.theme-dark .fxinek-history__item,
body.is-dark .fxinek-history__item,
body[data-theme="dark"] .fxinek-history__item {
    background: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .fxinek-history__item-title,
body.dark .fxinek-history__item-title,
body.theme-dark .fxinek-history__item-title,
body.is-dark .fxinek-history__item-title,
body[data-theme="dark"] .fxinek-history__item-title {
    color: #e0e0e0;
}

body.dark-mode .fxinek-history__item-date,
body.dark .fxinek-history__item-date,
body.theme-dark .fxinek-history__item-date,
body.is-dark .fxinek-history__item-date,
body[data-theme="dark"] .fxinek-history__item-date {
    color: #b0b0b0;
}

body.dark-mode .fxinek-history__item:hover,
body.dark .fxinek-history__item:hover,
body.theme-dark .fxinek-history__item:hover,
body.is-dark .fxinek-history__item:hover,
body[data-theme="dark"] .fxinek-history__item:hover {
    background: #3a3a3a;
}

body.dark-mode .fxinek-history__footer,
body.dark .fxinek-history__footer,
body.theme-dark .fxinek-history__footer,
body.is-dark .fxinek-history__footer,
body[data-theme="dark"] .fxinek-history__footer {
    border-top-color: #404040;
    background: #1e1e1e;
}

body.dark-mode .fxinek-login-required,
body.dark .fxinek-login-required,
body.theme-dark .fxinek-login-required,
body.is-dark .fxinek-login-required,
body[data-theme="dark"] .fxinek-login-required {
    color: #b0b0b0;
}

body.dark-mode .fxinek-chat__messages::-webkit-scrollbar-track,
body.dark .fxinek-chat__messages::-webkit-scrollbar-track,
body.theme-dark .fxinek-chat__messages::-webkit-scrollbar-track,
body.is-dark .fxinek-chat__messages::-webkit-scrollbar-track,
body[data-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-track,
body.dark-mode .fxinek-history__list::-webkit-scrollbar-track,
body.dark .fxinek-history__list::-webkit-scrollbar-track,
body.theme-dark .fxinek-history__list::-webkit-scrollbar-track,
body.is-dark .fxinek-history__list::-webkit-scrollbar-track,
body[data-theme="dark"] .fxinek-history__list::-webkit-scrollbar-track {
    background: #2d2d2d;
}

body.dark-mode .fxinek-chat__messages::-webkit-scrollbar-thumb,
body.dark .fxinek-chat__messages::-webkit-scrollbar-thumb,
body.theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb,
body.is-dark .fxinek-chat__messages::-webkit-scrollbar-thumb,
body[data-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb,
body.dark-mode .fxinek-history__list::-webkit-scrollbar-thumb,
body.dark .fxinek-history__list::-webkit-scrollbar-thumb,
body.theme-dark .fxinek-history__list::-webkit-scrollbar-thumb,
body.is-dark .fxinek-history__list::-webkit-scrollbar-thumb,
body[data-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb {
    background: #505050;
}

body.dark-mode .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
body.dark .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
body.theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
body.is-dark .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
body[data-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
body.dark-mode .fxinek-history__list::-webkit-scrollbar-thumb:hover,
body.dark .fxinek-history__list::-webkit-scrollbar-thumb:hover,
body.theme-dark .fxinek-history__list::-webkit-scrollbar-thumb:hover,
body.is-dark .fxinek-history__list::-webkit-scrollbar-thumb:hover,
body[data-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

body.dark-mode .fxinek-chat__loading-dot,
body.dark .fxinek-chat__loading-dot,
body.theme-dark .fxinek-chat__loading-dot,
body.is-dark .fxinek-chat__loading-dot,
body[data-theme="dark"] .fxinek-chat__loading-dot {
    background: #606060;
}

body.dark-mode .fxinek-price-card,
body.dark .fxinek-price-card,
body.theme-dark .fxinek-price-card,
body.is-dark .fxinek-price-card,
body[data-theme="dark"] .fxinek-price-card {
    background: #2a2a2a;
    border-color: #404040;
}

body.dark-mode .fxinek-price-card__pair,
body.dark .fxinek-price-card__pair,
body.theme-dark .fxinek-price-card__pair,
body.is-dark .fxinek-price-card__pair,
body[data-theme="dark"] .fxinek-price-card__pair {
    color: #e5e7eb;
}

body.dark-mode .fxinek-price-card__badge,
body.dark .fxinek-price-card__badge,
body.theme-dark .fxinek-price-card__badge,
body.is-dark .fxinek-price-card__badge,
body[data-theme="dark"] .fxinek-price-card__badge {
    background: #1f2937;
    color: #93c5fd;
}

body.dark-mode .fxinek-price-card__price,
body.dark .fxinek-price-card__price,
body.theme-dark .fxinek-price-card__price,
body.is-dark .fxinek-price-card__price,
body[data-theme="dark"] .fxinek-price-card__price {
    color: #f9fafb;
}

body.dark-mode .fxinek-price-card__time,
body.dark .fxinek-price-card__time,
body.theme-dark .fxinek-price-card__time,
body.is-dark .fxinek-price-card__time,
body[data-theme="dark"] .fxinek-price-card__time {
    color: #9ca3af;
}

body.dark-mode .fxinek-price-card__link a,
body.dark .fxinek-price-card__link a,
body.theme-dark .fxinek-price-card__link a,
body.is-dark .fxinek-price-card__link a,
body[data-theme="dark"] .fxinek-price-card__link a {
    color: #93c5fd;
}

body.dark-mode .fxinek-price-card__metric,
body.dark .fxinek-price-card__metric,
body.theme-dark .fxinek-price-card__metric,
body.is-dark .fxinek-price-card__metric,
body[data-theme="dark"] .fxinek-price-card__metric,
body.dark-mode .fxinek-crypto-list__item,
body.dark .fxinek-crypto-list__item,
body.theme-dark .fxinek-crypto-list__item,
body.is-dark .fxinek-crypto-list__item,
body[data-theme="dark"] .fxinek-crypto-list__item {
    border-color: #404040;
}

body.dark-mode .fxinek-price-card__metric-label,
body.dark .fxinek-price-card__metric-label,
body.theme-dark .fxinek-price-card__metric-label,
body.is-dark .fxinek-price-card__metric-label,
body[data-theme="dark"] .fxinek-price-card__metric-label,
body.dark-mode .fxinek-crypto-list__name span,
body.dark .fxinek-crypto-list__name span,
body.theme-dark .fxinek-crypto-list__name span,
body.is-dark .fxinek-crypto-list__name span,
body[data-theme="dark"] .fxinek-crypto-list__name span {
    color: #9ca3af;
}

body.dark-mode .fxinek-price-card__metric-value,
body.dark .fxinek-price-card__metric-value,
body.theme-dark .fxinek-price-card__metric-value,
body.is-dark .fxinek-price-card__metric-value,
body[data-theme="dark"] .fxinek-price-card__metric-value,
body.dark-mode .fxinek-crypto-list__name strong,
body.dark .fxinek-crypto-list__name strong,
body.theme-dark .fxinek-crypto-list__name strong,
body.is-dark .fxinek-crypto-list__name strong,
body[data-theme="dark"] .fxinek-crypto-list__name strong,
body.dark-mode .fxinek-crypto-list__price,
body.dark .fxinek-crypto-list__price,
body.theme-dark .fxinek-crypto-list__price,
body.is-dark .fxinek-crypto-list__price,
body[data-theme="dark"] .fxinek-crypto-list__price {
    color: #f9fafb;
}

body.dark-mode .fxinek-price-card__metric-value--up,
body.dark .fxinek-price-card__metric-value--up,
body.theme-dark .fxinek-price-card__metric-value--up,
body.is-dark .fxinek-price-card__metric-value--up,
body[data-theme="dark"] .fxinek-price-card__metric-value--up,
body.dark-mode .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
body.dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
body.theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
body.is-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
body[data-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--up {
    color: #22c55e;
}

body.dark-mode .fxinek-price-card__metric-value--down,
body.dark .fxinek-price-card__metric-value--down,
body.theme-dark .fxinek-price-card__metric-value--down,
body.is-dark .fxinek-price-card__metric-value--down,
body[data-theme="dark"] .fxinek-price-card__metric-value--down,
body.dark-mode .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
body.dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
body.theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
body.is-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
body[data-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--down {
    color: #f87171;
}

body.dark-mode .fxinek-price-card__metric-value--flat,
body.dark .fxinek-price-card__metric-value--flat,
body.theme-dark .fxinek-price-card__metric-value--flat,
body.is-dark .fxinek-price-card__metric-value--flat,
body[data-theme="dark"] .fxinek-price-card__metric-value--flat,
body.dark-mode .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
body.dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
body.theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
body.is-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
body[data-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat {
    color: #9ca3af;
}

/* ============================================
   DARK MODE SUPPORT (FXINEK SCOPED)
   ============================================ */

.fxinek-modern-panel.fxinek-theme-dark .fxinek-theme-toggle,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-theme-toggle,
.fxinek-chat-container.fxinek-theme-dark .fxinek-theme-toggle,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-theme-toggle {
    background: rgba(255, 255, 255, 0.15);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-theme-toggle::after,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-theme-toggle::after,
.fxinek-chat-container.fxinek-theme-dark .fxinek-theme-toggle::after,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-theme-toggle::after {
    transform: translateX(28px);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat-container,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat-container,
.fxinek-chat-container.fxinek-theme-dark,
.fxinek-chat-container[data-fxinek-theme="dark"] {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__messages,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__messages,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__messages,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__messages {
    background: #2d2d2d;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__message--bot .fxinek-chat__message-bubble {
    background: #3a3a3a;
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__feedback,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__feedback,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__feedback,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__feedback,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__feedback-status,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__feedback-status,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__feedback-status,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__feedback-status {
    color: #9ca3af;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__feedback-btn,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__feedback-btn,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__feedback-btn,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__feedback-btn {
    background: #2d2d2d;
    border-color: #505050;
    color: #d1d5db;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__feedback-btn:hover:not(:disabled) {
    background: #3a3a3a;
    border-color: #93c5fd;
    color: #93c5fd;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-quick-replies,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-quick-replies,
.fxinek-chat-container.fxinek-theme-dark .fxinek-quick-replies,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-quick-replies {
    background: #3a3a3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-quick-replies__title,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-quick-replies__title,
.fxinek-chat-container.fxinek-theme-dark .fxinek-quick-replies__title,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-quick-replies__title {
    color: #b0b0b0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__choices,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__choices,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__choices,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__choices {
    background: #2d2d2d;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__choice,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__choice,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__choice,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__choice {
    background: #3a3a3a;
    border-color: var(--fxinek-accent);
    color: var(--fxinek-accent);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__choice:hover,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__choice:hover,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__choice:hover,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__choice:hover {
    background: var(--fxinek-accent);
    color: var(--fxinek-accent-text);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__input-wrapper,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__input-wrapper,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__input-wrapper,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__input-wrapper {
    background: #2d2d2d;
    border-top-color: #404040;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__text,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__text,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__text,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__text {
    background: #3a3a3a;
    border-color: #505050;
    color: #e0e0e0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__text::placeholder,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__text::placeholder,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__text::placeholder,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__text::placeholder {
    color: #888;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__text:focus,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__text:focus,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__text:focus,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__text:focus {
    border-color: var(--fxinek-accent);
    background: #404040;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history-sidebar,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history-sidebar,
.fxinek-history-sidebar.fxinek-theme-dark,
.fxinek-history-sidebar[data-fxinek-theme="dark"] {
    background: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__list,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__list,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__list,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__list {
    background: #1e1e1e;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__loading,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__loading,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__loading,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__loading {
    color: #b0b0b0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item {
    background: #2d2d2d;
    color: #e0e0e0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item-title,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item-title,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item-title,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item-title {
    color: #e0e0e0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item-date,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item-date,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item-date,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item-date {
    color: #b0b0b0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item--active .fxinek-history__item-date {
    color: var(--fxinek-accent-text);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item:hover,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item:hover,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item:hover,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item:hover {
    background: #3a3a3a;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__item--active:hover,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__item--active:hover,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__item--active:hover,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__item--active:hover {
    background: var(--fxinek-accent-gradient);
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__footer,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__footer,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__footer,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__footer {
    border-top-color: #404040;
    background: #1e1e1e;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-login-required,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-login-required,
.fxinek-chat-container.fxinek-theme-dark .fxinek-login-required,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-login-required,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-login-required,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-login-required {
    color: #b0b0b0;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb {
    background: #505050;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-history-sidebar.fxinek-theme-dark .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-history-sidebar[data-fxinek-theme="dark"] .fxinek-history__list::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-chat__loading-dot,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-chat__loading-dot,
.fxinek-chat-container.fxinek-theme-dark .fxinek-chat__loading-dot,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-chat__loading-dot {
    background: #606060;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card {
    background: #2a2a2a;
    border-color: #404040;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__pair,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__pair,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__pair,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__pair {
    color: #e5e7eb;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__badge,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__badge,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__badge,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__badge {
    background: #1f2937;
    color: #93c5fd;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__price,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__price,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__price,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__price {
    color: #f9fafb;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__time,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__time,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__time,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__time {
    color: #9ca3af;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__link a,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__link a,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__link a,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__link a {
    color: #93c5fd;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__item,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__item,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__item,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__item {
    border-color: #404040;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric-label,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric-label,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric-label,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric-label,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__name span,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__name span,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__name span,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__name span {
    color: #9ca3af;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric-value,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric-value,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric-value,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric-value,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__name strong,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__name strong,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__name strong,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__name strong,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__price,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__price,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__price,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__price {
    color: #f9fafb;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric-value--up,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--up,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric-value--up,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--up,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--up {
    color: #22c55e;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric-value--down,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--down,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric-value--down,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--down,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--down {
    color: #f87171;
}

.fxinek-modern-panel.fxinek-theme-dark .fxinek-price-card__metric-value--flat,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--flat,
.fxinek-chat-container.fxinek-theme-dark .fxinek-price-card__metric-value--flat,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-price-card__metric-value--flat,
.fxinek-modern-panel.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-modern-panel[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-chat-container.fxinek-theme-dark .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-chat-container[data-fxinek-theme="dark"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat {
    color: #9ca3af;
}

/* ============================================
   LIGHT MODE SUPPORT (FXINEK SCOPED OVERRIDES)
   ============================================ */

.fxinek-modern-panel.fxinek-theme-light .fxinek-theme-toggle,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-theme-toggle,
.fxinek-chat-container.fxinek-theme-light .fxinek-theme-toggle,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-theme-toggle {
    background: rgba(255, 255, 255, 0.25);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-theme-toggle::after,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-theme-toggle::after,
.fxinek-chat-container.fxinek-theme-light .fxinek-theme-toggle::after,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-theme-toggle::after {
    transform: translateX(0);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat-container,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat-container,
.fxinek-chat-container.fxinek-theme-light,
.fxinek-chat-container[data-fxinek-theme="light"] {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__messages,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__messages,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__messages,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__messages,
.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__choices,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__choices,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__choices,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__choices {
    background: #f8f9fa;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__message--bot .fxinek-chat__message-bubble,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__message--bot .fxinek-chat__message-bubble {
    background: #ffffff;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__feedback,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__feedback,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__feedback,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__feedback,
.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__feedback-status,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__feedback-status,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__feedback-status,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__feedback-status {
    color: #64748b;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__feedback-btn,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__feedback-btn,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__feedback-btn,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__feedback-btn {
    background: #ffffff;
    border-color: #dbe3ef;
    color: #475569;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__feedback-btn:hover:not(:disabled),
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__feedback-btn:hover:not(:disabled) {
    background: #f8fbff;
    border-color: var(--fxinek-accent);
    color: var(--fxinek-accent);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-quick-replies,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-quick-replies,
.fxinek-chat-container.fxinek-theme-light .fxinek-quick-replies,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-quick-replies {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-quick-replies__title,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-quick-replies__title,
.fxinek-chat-container.fxinek-theme-light .fxinek-quick-replies__title,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-quick-replies__title {
    color: #6c757d;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__choice,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__choice,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__choice,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__choice {
    background: #ffffff;
    border-color: var(--fxinek-accent);
    color: var(--fxinek-accent);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__choice:hover,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__choice:hover,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__choice:hover,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__choice:hover {
    background: var(--fxinek-accent);
    color: var(--fxinek-accent-text);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__input-wrapper,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__input-wrapper,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__input-wrapper,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__input-wrapper {
    background: #ffffff;
    border-top-color: #e9ecef;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__text,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__text,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__text,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__text {
    background: #ffffff;
    border-color: #e9ecef;
    color: #1f2937;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__text::placeholder,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__text::placeholder,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__text::placeholder,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__text::placeholder {
    color: #6b7280;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__text:focus,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__text:focus,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__text:focus,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__text:focus {
    border-color: var(--fxinek-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history-sidebar,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history-sidebar,
.fxinek-history-sidebar.fxinek-theme-light,
.fxinek-history-sidebar[data-fxinek-theme="light"] {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__list,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__list,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__list,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__list {
    background: #ffffff;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__loading,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__loading,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__loading,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__loading {
    color: #6c757d;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item {
    background: #f8f9fa;
    color: #1f2937;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item-title,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item-title,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item-title,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item-title {
    color: #1f2937;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item-date,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item-date,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item-date,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item-date {
    color: #6b7280;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item--active .fxinek-history__item-title,
.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item--active .fxinek-history__item-date,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item--active .fxinek-history__item-date {
    color: var(--fxinek-accent-text);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item:hover,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item:hover,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item:hover,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item:hover {
    background: #e9ecef;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__item--active:hover,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__item--active:hover,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__item--active:hover,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__item--active:hover {
    background: var(--fxinek-accent-gradient);
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-history__footer,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__footer,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__footer,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__footer {
    border-top-color: #e9ecef;
    background: #ffffff;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-login-required,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-login-required,
.fxinek-chat-container.fxinek-theme-light .fxinek-login-required,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-login-required,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-login-required,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-login-required {
    color: #6c757d;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-track,
.fxinek-modern-panel.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-track,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-thumb,
.fxinek-modern-panel.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-thumb,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__messages::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-history-sidebar.fxinek-theme-light .fxinek-history__list::-webkit-scrollbar-thumb:hover,
.fxinek-history-sidebar[data-fxinek-theme="light"] .fxinek-history__list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-chat__loading-dot,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-chat__loading-dot,
.fxinek-chat-container.fxinek-theme-light .fxinek-chat__loading-dot,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-chat__loading-dot {
    background: #cbd5e0;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card {
    background: #ffffff;
    border-color: #e5e7eb;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__pair,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__pair,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__pair,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__pair {
    color: #1f2937;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__badge,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__badge,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__badge,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__badge {
    background: #eef2ff;
    color: #1d4ed8;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__price,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__price,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__price,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__price,
.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric-value,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric-value,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric-value,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric-value,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__price,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__price,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__price,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__price {
    color: #111827;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__time,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__time,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__time,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__time,
.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric-label,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric-label,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric-label,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric-label,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__name span,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__name span,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__name span,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__name span {
    color: #6b7280;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__link a,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__link a,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__link a,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__link a {
    color: #2563eb;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__item,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__item,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__item,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__item {
    border-color: #e5e7eb;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__name strong,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__name strong,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__name strong,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__name strong {
    color: #1f2937;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric-value--up,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric-value--up,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric-value--up,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric-value--up,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--up,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--up {
    color: #16a34a;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric-value--down,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric-value--down,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric-value--down,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric-value--down,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--down,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--down {
    color: #dc2626;
}

.fxinek-modern-panel.fxinek-theme-light .fxinek-price-card__metric-value--flat,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-price-card__metric-value--flat,
.fxinek-chat-container.fxinek-theme-light .fxinek-price-card__metric-value--flat,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-price-card__metric-value--flat,
.fxinek-modern-panel.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-modern-panel[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-chat-container.fxinek-theme-light .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat,
.fxinek-chat-container[data-fxinek-theme="light"] .fxinek-crypto-list__change.fxinek-price-card__metric-value--flat {
    color: #6b7280;
}
