/* ==========================================================================
   DASHBOARD - CSS
   MaCha AI Dashboard Styles
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES (inherits from style.css + dashboard-specific)
   ========================================================================== */
* {
    box-sizing: border-box;
}

:root {
    /* Colors */
    --clr-bg: var(--sidebar-bg);
    --clr-white: #1e293b;
    --clr-dark: #f8fafc;
    --clr-text: #cbd5e1;
    --clr-text-light: #94a3b8;

    /* Sidebar Dark */
    --sidebar-bg: #0f172a;
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active: rgba(59, 130, 246, 0.15);
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-text: #94a3b8;
    --sidebar-text-bright: #e2e8f0;
    --sidebar-width: 280px;

    /* Gradients */
    --clr-primary: #3b82f6;
    --clr-secondary: #ec4899;
    --gradient-primary: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(236, 72, 153, 0.4));

    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   DASHBOARD LAYOUT
   ========================================================================== */
.dashboard-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    transition: width var(--transition-smooth), transform var(--transition-smooth);
    border-right: 1px solid var(--sidebar-border);
    overflow: hidden;
}

/* Collapsed sidebar */
.sidebar.collapsed {
    width: 72px;
}

.sidebar.collapsed .sidebar-label,
.sidebar.collapsed .logo-text,
.sidebar.collapsed .logo-ai,
.sidebar.collapsed .session-label,
.sidebar.collapsed .session-item span,
.sidebar.collapsed .account-info,
.sidebar.collapsed .settings-icon,
.sidebar.collapsed .search-wrapper input {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sidebar.collapsed .search-wrapper {
    justify-content: center;
}

.sidebar.collapsed .search-wrapper i {
    position: static;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.sidebar.collapsed .search-wrapper i:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-bright);
}

.sidebar.collapsed .search-wrapper input {
    padding: 0;
    border: none;
    height: 0;
}

.sidebar.collapsed .sidebar-header {
    padding: 20px 12px;
}

.sidebar.collapsed .sidebar-search {
    padding: 8px 12px;
}

.sidebar.collapsed .sidebar-sessions {
    display: none;
}

.sidebar.collapsed .sidebar-footer {
    padding: 12px 8px;
}

.sidebar.collapsed .btn-new-chat {
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 0;
}

.sidebar.collapsed .session-item {
    justify-content: center;
    padding: 10px;
}

.sidebar.collapsed .account-btn {
    justify-content: center;
    padding: 10px;
    gap: 0;
}

.sidebar.collapsed .settings-btn {
    display: none;
}

.sidebar.collapsed .account-avatar {
    width: 36px;
    height: 36px;
}

.sidebar.collapsed .sidebar-top-row {
    justify-content: center;
}

.sidebar.collapsed .sidebar-logo {
    display: none;
}


.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.btn-collapse-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--sidebar-text);
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.btn-collapse-sidebar:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-bright);
}

.btn-collapse-sidebar i {
    transition: transform var(--transition-smooth);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
}

.sidebar-logo span.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sidebar-text-bright);
    letter-spacing: -0.5px;
}

.sidebar-logo span.logo-ai {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.btn-new-chat {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-new-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-new-chat i {
    font-size: 1.2rem;
}

/* Search */
.sidebar-search {
    padding: 16px 20px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--sidebar-text);
    font-size: 1.1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sidebar-border);
    border-radius: 10px;
    color: var(--sidebar-text-bright);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-fast);
}

.search-wrapper input::placeholder {
    color: var(--sidebar-text);
}

.search-wrapper input:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Session List */
.sidebar-sessions {
    flex: 1;
    overflow-y: auto;
    padding: 8px 8px;
}

.session-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sidebar-text);
    padding: 12px 8px 8px;
    font-weight: 600;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 50px;
    color: var(--sidebar-text);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    margin-bottom: 2px;
    position: relative;
}

.session-item i.bx-file {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-session-options {
    background: transparent;
    border: none;
    color: var(--sidebar-text);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.btn-session-options i {
    font-size: 1.2rem;
}

.btn-session-options:hover,
.btn-session-options.active {
    color: var(--sidebar-text-bright);
    background: rgba(255, 255, 255, 0.1);
}

.session-item:hover .btn-session-options {
    opacity: 1;
}

@media (max-width: 992px) {
    .btn-session-options {
        opacity: 1;
    }
}

.session-options-menu {
    position: absolute;
    right: 10px;
    top: 35px;
    background: var(--clr-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    padding: 6px;
    min-width: 150px;
    animation: fadeInScale 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.session-option-item {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--clr-dark);
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.session-option-item i {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    transition: all 0.2s ease;
}

.session-option-item:hover {
    background: var(--clr-light);
    color: var(--clr-primary);
}

.session-option-item:hover i {
    color: var(--clr-primary);
}

.session-option-item.delete {
    color: #ef4444;
    margin-top: 2px;
}

.session-option-item.delete i {
    color: #ef4444;
}

.session-option-item.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.session-option-item.delete:hover i {
    color: #ef4444;
}

.session-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-item:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-bright);
}

.session-item.active {
    background: var(--sidebar-active);
    color: var(--clr-primary);
}

/* Hide scrollbar for session list but keep it scrollable */
.sidebar-sessions {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-sessions::-webkit-scrollbar {
    display: none;
}

/* Account Settings (bottom) */
.sidebar-footer {
    padding: 12px 8px;
    border-top: 1px solid var(--sidebar-border);
    margin-top: auto;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    color: var(--sidebar-text);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.settings-btn:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-bright);
}

.account-btn:hover {
    background: var(--sidebar-hover);
}

.account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sidebar-text-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-email {
    font-size: 0.75rem;
    color: var(--sidebar-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-btn .settings-icon {
    color: var(--sidebar-text);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.account-btn:hover .settings-icon {
    color: var(--sidebar-text-bright);
    transform: rotate(45deg);
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: margin-left var(--transition-smooth);
}

.sidebar.collapsed~.sidebar-overlay~.main-content,
.sidebar.collapsed~.main-content {
    margin-left: 72px;
}

/* Background shapes */
.dash-bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

.dash-shape-blue {
    top: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--clr-primary);
}

.dash-shape-pink {
    bottom: -10%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: var(--clr-secondary);
}

/* Mobile top bar */
.mobile-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--clr-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
}

.mobile-topbar .logo-text,
.mobile-topbar .logo-ai {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.mobile-topbar .logo-text {
    color: var(--clr-dark);
}

.mobile-topbar .logo-ai {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--clr-dark);
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.btn-sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Content wrapper */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   SIDEBAR OVERLAY (Mobile)
   ========================================================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================================
   CUSTOM CONFIRM MODAL
   ========================================================================== */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal-box {
    background: var(--clr-white);
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--sidebar-border);
}

.confirm-modal-overlay.show .confirm-modal-box {
    transform: translateY(0) scale(1);
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 16px auto;
}

.confirm-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.confirm-modal-box h3 {
    font-size: 1.3rem;
    color: var(--clr-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.confirm-modal-box p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
}

.confirm-modal-actions button {
    flex: 1;
    padding: 12px 0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-body);
}

.btn-confirm-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text);
}

.btn-confirm-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-confirm-ok {
    background: #ef4444;
    color: white;
}

.btn-confirm-ok:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-confirm-ok.logout {
    background: var(--gradient-primary);
}

.btn-confirm-ok.logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* Global overflow fix for mobile breakthrough */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* Fix Viewer elements offset when sidebar is collapsed on desktop */
@media (min-width: 993px) {

    .sidebar.collapsed~.main-content .document-toolbar,
    .sidebar.collapsed~.main-content .chat-dock {
        left: calc(50% + 36px);
    }
}

/* ==========================================================================
   CUSTOM UI ADDITIONS
   ========================================================================== */

/* DEMO Badge */
.demo-badge {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 6px;
    vertical-align: super;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(236, 72, 153, 0.4);
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text-bright);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--sidebar-border);
    opacity: 0.8;
}

.disabled-card {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.disabled-card:hover {
    transform: none;
    border-color: #e2e8f0;
    box-shadow: none;
}

/* Chatbot Widget */
.macha-chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

.chatbot-window {
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: auto;
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-header-title i {
    font-size: 1.4rem;
}

.chatbot-header-title h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.chatbot-close-btn:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.bot {
    background: white;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.chat-message.user {
    background: var(--clr-primary);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.chatbot-input-area {
    padding: 16px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.chatbot-input-area input:focus {
    border-color: var(--clr-primary);
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.chatbot-send-btn:hover {
    transform: scale(1.05);
    background: var(--clr-secondary);
}