/* Font Awesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
/* ==========================================================================
   UNIVERSITY OF LAYYAH CORE IMPLEMENTATION STYLESHEET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #e8f5ec 0%, #f0fdf4 50%, #ffffff 100%);
    overflow-x: hidden;
    color: #1e293b;
}

/* [SECTION 12] Visible focus outline specifications globally mapped */
body *:focus-visible {
    outline: 3px solid #FF8C00;
    outline-offset: 2px;
}

/* Base structural workspace wrappers */
.app-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   1. SPLASH SCREEN STYLING & TYPEWRITER ENGINE
   ========================================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.fade-scale-out {
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    padding: 20px;
}

.splash-logo {
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 20px 40px rgba(34, 119, 54, 0.12);
    border: 2px solid rgba(34, 119, 54, 0.1);
}

.splash-logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.typewriter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.splash-title {
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
    color: #227736;
    overflow: hidden;
    border-right: 3px solid #227736;
    white-space: nowrap;
    margin: 0 auto;
    width: 0;
    animation: typingText 1.6s steps(36, end) forwards, blinkCursor 0.75s step-end infinite;
}

@keyframes typingText {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: #227736; }
}

.splash-subtitle {
    font-size: 14px;
    color: #FF8C00;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInSubtitle 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1.7s forwards;
}

@keyframes fadeInSubtitle {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. ROLE SELECTION CONTROLS WITH LIFTS
   ========================================================================== */
.role-container {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #e8f5ec 0%, #f0fdf4 50%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.96);
    visibility: hidden;
    z-index: 9999;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.role-container.visible {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    pointer-events: all;
}

.role-welcome-heading {
    font-family: 'Roboto Slab', serif;
    color: #227736;
    font-size: clamp(24px, 5.5vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
    max-width: 850px;
    line-height: 1.25;
}

.role-welcome-subheading {
    color: #64748b;
    font-size: clamp(14px, 3.5vw, 17px);
    font-weight: 400;
    margin-bottom: 45px;
}

.role-cards {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 950px;
}

.role-card {
    background: white;
    border-radius: 20px;
    padding: 35px 24px;
    text-align: center;
    cursor: pointer;
    flex: 1;
    min-width: 260px;
    max-width: 290px;
    position: relative;
    border: 1.5px solid rgba(34, 119, 54, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.role-card:hover, .role-card:focus-visible {
    transform: translateY(-8px);
    border-color: #227736;
    box-shadow: 0 20px 35px rgba(34, 119, 54, 0.12);
}

.role-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(34, 119, 54, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.role-card:hover .role-icon-wrapper {
    background-color: #227736;
    transform: scale(1.05);
}

.role-icon-wrapper i {
    font-size: 26px;
    color: #227736;
    transition: color 0.3s;
}

.role-card:hover .role-icon-wrapper i {
    color: white;
}

.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.role-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.45;
}

/* ==========================================================================
   3. HERO & MAIN CHAT PANEL STYLING
   ========================================================================== */
.chat-main {
    display: none;
    flex: 1;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chat-main.active {
    display: flex;
    opacity: 1;
}

.lang-toggle-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.lang-toggle-wrapper {
    display: flex;
    gap: 4px;
    background: white;
    padding: 3px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(34, 119, 54, 0.04);
    border: 1px solid rgba(34, 119, 54, 0.08);
}

.lang-toggle {
    padding: 6px 18px;
    border: none;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all 0.2s ease;
}

.lang-toggle.active {
    background: #227736;
    color: white;
}

/* [SECTION 2] Always visible responsive branding hero row */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-rounded {
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(34, 119, 54, 0.08);
    border: 1.5px solid rgba(34, 119, 54, 0.1);
}

.logo-rounded img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.university-title {
    font-size: clamp(20px, 4vw, 25px);
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
    color: #227736;
    letter-spacing: -0.2px;
}

/* Chat container desktop configurations */
.chat-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(34, 119, 54, 0.08);
    display: flex;
    flex-direction: column;
    height: 65vh;
    min-height: 520px;
    max-height: 750px;
    overflow: hidden;
    width: 100%;
}

.chat-header {
    background: #227736;
    padding: 14px 20px;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.chat-header-info {
    flex: 1;
    min-width: 0;
}

.chat-header-info h3 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.online-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
}

.online-status span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

/* [SECTION 10 & 11] Stop Response interactive button element */
.stop-response-pill {
    background: #FF8C00;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
    transition: background-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.stop-response-pill:hover, .stop-response-pill:focus-visible {
    background: #e07b00;
    transform: translateY(-1px);
}

/* Nav Actions Row Utilities */
.chat-action-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 7px 14px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-action-btn:hover, .chat-action-btn:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.history-badge {
    background: #FF8C00;
    color: white;
    border-radius: 20px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
}

/* Messages panel configuration maps */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}

.message-container {
    display: flex;
    opacity: 0;
    transform: translateY(14px);
    animation: messageSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes messageSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

.message-container.user { justify-content: flex-end; }
.message-container.bot { justify-content: flex-start; }

.message-avatar.bot {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: white;
    border: 1.5px solid rgba(34, 119, 54, 0.15);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar.bot img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.message-avatar.user {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(34, 119, 54, 0.1);
    margin-left: 12px;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar.user i {
    font-size: 14px;
    color: #227736;
}

.message-content {
    max-width: 75%;
    display: flex;
    flex-direction: column;
}

.user-message {
    background: #227736;
    color: white;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    padding: 11px 18px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(34, 119, 54, 0.06);
}

.bot-message {
    background: white;
    color: #1e293b;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    padding: 13px 18px;
    font-size: 14px;
    line-height: 1.55;
    border: 1px solid rgba(34, 119, 54, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

/* [SECTION 9] Primary markdown token HTML classes mapped internally */


/* ==========================================================================
   4. THINKING/TYPING RUNTIME DOTS STYLING
   ========================================================================== */
.thinking-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    transition: opacity 0.3s ease;
}

.thinking-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.thinking-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.thinking-dot {
    width: 7px;
    height: 7px;
    background: #227736;
    border-radius: 50%;
    animation: thinkingBounce 1.4s infinite ease-in-out both;
}

.thinking-dot:nth-child(1) { animation-delay: -0.32s; }
.thinking-dot:nth-child(2) { animation-delay: -0.16s; }

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

/* ==========================================================================
   3. CITATIONS & SOURCES SCHEMES
   ========================================================================== */
.sources-block {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.sources-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.source-pill {
    font-size: 11.5px;
    color: #227736;
    background: #f0fdf4;
    border: 1px solid rgba(34, 119, 54, 0.2);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.source-pill:hover {
    background: #e8f5ec;
}

/* Feedback Row Layout Layers */
.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.action-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover, .action-btn:focus-visible {
    color: #227736;
    background: rgba(34, 119, 54, 0.05);
}

.action-btn.active-helpful {
    color: #227736 !important;
    font-weight: 600;
    background: rgba(34, 119, 54, 0.06);
}

.action-btn.active-unhelpful {
    color: #ef4444 !important;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.06);
}

.message-time {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
    align-self: flex-end;
}

/* ==========================================================================
   6. RESTYLED SWITCH ROLE MODAL
   ========================================================================== */
.role-switch-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.role-switch-modal.active {
    opacity: 1;
    visibility: visible;
}

.role-switch-content {
    background: white;
    border-radius: 20px;
    padding: 28px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.role-switch-modal.active .role-switch-content {
    transform: scale(1);
}

.role-switch-content h3 {
    font-size: 20px;
    color: #227736;
    margin-bottom: 20px;
    font-family: 'Roboto Slab', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.role-switch-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-switch-mini-card {
    background: #f0fdf4;
    border: 1.5px solid rgba(34, 119, 54, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #227736;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-switch-mini-card i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.role-switch-mini-card:hover, .role-switch-mini-card:focus-visible {
    background: #227736;
    color: white;
    border-color: #227736;
    transform: translateX(4px);
}

.close-modal {
    margin-top: 20px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.close-modal:hover { color: #1e293b; }

/* ==========================================================================
   7. TOAST NOTIFICATION STYLING ARCHITECTURE
   ========================================================================== */
.toast-container {
    position: fixed;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Desktop Placement Default */
    bottom: 24px;
    right: 24px;
    max-width: 360px;
    width: 100%;
}

.uol-toast {
    background: white;
    color: #1e293b;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    pointer-events: auto;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.uol-toast.toast-show {
    transform: translateY(0);
    opacity: 1;
}

/* Left borders based on status constraints */
.uol-toast.toast-green { border-left: 5px solid #227736; }
.uol-toast.toast-green i { color: #227736; }

.uol-toast.toast-orange { border-left: 5px solid #FF8C00; }
.uol-toast.toast-orange i { color: #FF8C00; }

.uol-toast.toast-red { border-left: 5px solid #ef4444; }
.uol-toast.toast-red i { color: #ef4444; }

.uol-toast i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Suggestions Chips Rows */
.suggestions-container {
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.suggestions-header span {
    font-size: 12px;
    font-weight: 600;
    color: #227736;
}

.toggle-suggestions {
    width: 24px;
    height: 24px;
    background: #f0fdf4;
    border: 1px solid rgba(34, 119, 54, 0.1);
    border-radius: 6px;
    color: #227736;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    transition: max-height 0.25s ease, opacity 0.25s;
    opacity: 1;
}

.suggestions-list.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
}

.suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0fdf4;
    border: 1.5px solid rgba(34, 119, 54, 0.12);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: #227736;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-chip:hover, .suggestion-chip:focus-visible {
    background: #227736;
    color: white;
}

/* Input Interaction Containers */
.input-container {
    padding: 14px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#userInput {
    flex: 1;
    padding: 11px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 40px;
    font-size: 14px;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, background-color 0.2s;
}

#userInput:focus {
    outline: none;
    border-color: #227736;
    background: white;
}

/* [SECTION 8] VOICE INPUT CONCENTRIC RIPPLES CONTAINER */
.voice-btn-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border: 1.5px solid rgba(34, 119, 54, 0.12);
    color: #227736;
    font-size: 14px;
    transition: all 0.2s;
    z-index: 2;
    position: relative;
}

/* Pulsing voice recording states active definitions */
.voice-btn.listening-active {
    background: #FF8C00 !important;
    color: white !important;
    border-color: #FF8C00 !important;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
}

.voice-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.4);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.voice-btn.listening-active ~ .ring-1 {
    animation: voiceRipple 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
.voice-btn.listening-active ~ .ring-2 {
    animation: voiceRipple 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1) 0.9s;
}

@keyframes voiceRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

#sendBtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #227736;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
}

#sendBtn:hover, #sendBtn:focus-visible { background: #1b5e2b; }
#sendBtn:active { transform: scale(0.96); }

.char-counter {
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    margin-top: 5px;
    padding-right: 10px;
}

/* Markdown tables and custom data markup rules definitions */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.data-table th { background: #227736; color: white; padding: 10px 12px; text-align: left; font-weight: 600; }
.data-table td { padding: 9px 12px; border-bottom: 1px solid #e2e8f0; background: #ffffff; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f8fafc; }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin: 10px 0;
}
.program-card {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 12px;
    border-left: 4px solid #227736;
    box-shadow: 0 2px 6px rgba(34, 119, 54, 0.03);
}
.program-card h4 { color: #227736; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.program-card p { font-size: 11.5px; color: #475569; margin: 0; }

/* Drawers & Layout Overlays */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(1px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.history-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 310px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.06);
}
.history-sidebar.open { left: 0; }
.history-header { padding: 18px 20px; background: #227736; color: white; display: flex; justify-content: space-between; align-items: center; }
.history-header h3 { font-size: 16px; font-weight: 700; }
.history-header button { background: transparent; border: none; color: white; cursor: pointer; font-size: 18px; }

.history-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.history-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid #e2e8f0; cursor: pointer; border-radius: 12px; transition: all 0.2s; }
.history-item:hover { background: #f0fdf4; border-color: rgba(34, 119, 54, 0.2); }
.history-delete-btn { background: transparent; border: none; color: #cbd5e1; cursor: pointer; padding: 6px; transition: color 0.2s; }
.history-delete-btn:hover { color: #FF8C00; }

/* Floating context config nodes */
.menu-container { position: fixed; bottom: 24px; right: 24px; z-index: 100; }
.menu-btn { width: 48px; height: 48px; background: #FF8C00; border: none; border-radius: 50%; color: white; font-size: 18px; cursor: pointer; box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, transform 0.2s; }
.menu-btn:hover { background: #e07b00; transform: scale(1.04); }

.menu-dropdown { position: absolute; bottom: 58px; right: 0; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.menu-container.open .menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-dropdown button { background: white; border: 1px solid #e2e8f0; border-radius: 40px; padding: 10px 18px; font-size: 13px; font-weight: 600; color: #227736; cursor: pointer; display: flex; align-items: center; gap: 10px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.2s; }
.menu-dropdown button:hover { background: #f0fdf4; border-color: #227736; }

.scroll-top { position: fixed; bottom: 84px; right: 28px; width: 40px; height: 40px; background: #227736; border: none; border-radius: 50%; color: white; cursor: pointer; opacity: 0; visibility: hidden; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 4px 10px rgba(34,119,54,0.25); z-index: 99; }
.scroll-top.visible { opacity: 1; visibility: visible; }

/* ==========================================================================
   11. DYNAMIC RESPONSIVE BREAKPOINTS ENGINE
   ========================================================================== */

/* Tablet & Smaller Screens Adaptation */
@media (max-width: 1024px) {
    .app-wrapper { padding: 14px; }
    .chat-container { height: 70vh; }
}

@media (max-width: 768px) {
    /* [SECTION 11] Header row collapse handling rule maps to icon-only viewports */
    .chat-header-content { gap: 8px; }
    .chat-action-btn .btn-lbl, .stop-response-pill .pill-text { display: none; }
    .chat-action-btn, .stop-response-pill { padding: 8px 11px; border-radius: 50%; }
    .chat-action-btn i, .stop-response-pill i { margin: 0; font-size: 14px; }
    .chat-header-info h3 { font-size: 14px; }
}

/* Small Smart Mobile Breakpoints Layer */
@media (max-width: 600px) {
    /* [SECTION 11] Stacks role selection cards vertically under 600px widths */
    .role-cards {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .role-card {
        width: 100%;
        max-width: 380px;
        padding: 24px 20px;
    }

    /* Adjusting notification positioning for mobile layout screens */
    .toast-container {
        top: 16px;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 0 20px;
    }
    
    .uol-toast {
        transform: translateY(-20px);
    }
    
    .uol-toast.toast-show {
        transform: translateY(0);
    }

    .app-wrapper {
        padding: 8px;
        width: 100%;
    }

    .chat-container {
        border-radius: 16px;
        height: calc(100vh - 160px);
        min-height: 400px;
    }
    
    .chat-messages { padding: 16px; gap: 14px; }
    .message-content { max-width: 88%; }
    
    .hero-section { margin-bottom: 12px; gap: 8px; }
    .logo-rounded { width: 46px; height: 46px; border-radius: 12px; }
    .logo-rounded img { width: 30px; height: 30px; }
}

/* ultra-narrow protection models */
@media (max-width: 360px) {
    .chat-header-info { display: none; }
    .message-content { max-width: 90%; }
    .suggestion-chip { font-size: 11px; padding: 5px 10px; }
}

/* ==========================================================================
   ROLE SCREEN LOGO STYLING
   ========================================================================== */

.role-logo-wrapper {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoFadeIn 0.6s ease-out;
}

.role-page-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 15px 30px rgba(34, 119, 54, 0.15);
    border: 2px solid rgba(34, 119, 54, 0.12);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.role-page-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 35px rgba(34, 119, 54, 0.2);
    border-color: rgba(34, 119, 54, 0.25);
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile phones ke liye (small screen) */
@media (max-width: 600px) {
    .role-page-logo {
        width: 75px;
        height: 75px;
        padding: 10px;
        border-radius: 22px;
    }
    .role-logo-wrapper {
        margin-bottom: 20px;
    }
}

/* Extra small screens ke liye */
@media (max-width: 360px) {
    .role-page-logo {
        width: 65px;
        height: 65px;
        padding: 8px;
        border-radius: 18px;
    }
}

/* ==========================================================================
   2. ROLE SELECTION CONTROLS WITH RESPONSIVE FIXES
   ========================================================================== */
.role-container {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #e8f5ec 0%, #f0fdf4 50%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: scale(0.96);
    visibility: hidden;
    z-index: 9999;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow-y: auto;
}

.role-container.visible {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    pointer-events: all;
}

/* Scrollbar styling for role container */
.role-container::-webkit-scrollbar {
    width: 5px;
}

.role-container::-webkit-scrollbar-track {
    background: #e8f5ec;
}

.role-container::-webkit-scrollbar-thumb {
    background: #227736;
    border-radius: 10px;
}

.role-welcome-heading {
    font-family: 'Roboto Slab', serif;
    color: #227736;
    font-size: clamp(20px, 5.5vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
    max-width: 850px;
    line-height: 1.25;
    padding: 0 15px;
}

.role-welcome-subheading {
    color: #64748b;
    font-size: clamp(13px, 3.5vw, 17px);
    font-weight: 400;
    margin-bottom: 30px;
    padding: 0 15px;
}

.role-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 950px;
    padding: 0 15px;
}

.role-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    flex: 1;
    min-width: 240px;
    max-width: 290px;
    position: relative;
    border: 1.5px solid rgba(34, 119, 54, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.role-card:hover, .role-card:focus-visible {
    transform: translateY(-8px);
    border-color: #227736;
    box-shadow: 0 20px 35px rgba(34, 119, 54, 0.12);
}

.role-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(34, 119, 54, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.role-card:hover .role-icon-wrapper {
    background-color: #227736;
    transform: scale(1.05);
}

.role-icon-wrapper i {
    font-size: 26px;
    color: #227736;
    transition: color 0.3s;
}

.role-card:hover .role-icon-wrapper i {
    color: white;
}

.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.role-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

/* Role Screen Logo */
.role-logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.role-page-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 12px 24px rgba(34, 119, 54, 0.12);
    border: 2px solid rgba(34, 119, 54, 0.1);
    transition: all 0.3s ease;
}

.role-page-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(34, 119, 54, 0.15);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR 2ND SCREEN
   ========================================================================== */

/* Tablet (768px se 1024px) */
@media (max-width: 1024px) {
    .role-cards {
        gap: 20px;
    }
    .role-card {
        min-width: 220px;
        padding: 25px 18px;
    }
    .role-welcome-heading {
        font-size: clamp(22px, 5vw, 30px);
    }
}

/* Mobile Large (600px se 768px) */
@media (max-width: 768px) {
    .role-container {
        padding: 40px 15px;
        justify-content: flex-start;
        padding-top: 60px;
    }
    .role-cards {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .role-card {
        width: 100%;
        max-width: 350px;
        padding: 25px 20px;
    }
    .role-welcome-heading {
        font-size: 24px;
    }
    .role-welcome-subheading {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .role-page-logo {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
}

/* Mobile Small (360px se 600px) */
@media (max-width: 600px) {
    .role-container {
        padding: 30px 12px;
        justify-content: flex-start;
        padding-top: 50px;
    }
    .role-welcome-heading {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .role-welcome-subheading {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .role-card {
        padding: 20px 16px;
        min-width: unset;
    }
    .role-card h3 {
        font-size: 18px;
    }
    .role-card p {
        font-size: 12px;
    }
    .role-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    .role-icon-wrapper i {
        font-size: 22px;
    }
    .role-page-logo {
        width: 60px;
        height: 60px;
        padding: 8px;
        border-radius: 20px;
    }
    .role-logo-wrapper {
        margin-bottom: 15px;
    }
}

/* Ultra Small (360px se neeche) */
@media (max-width: 360px) {
    .role-container {
        padding: 20px 10px;
        padding-top: 40px;
    }
    .role-welcome-heading {
        font-size: 20px;
    }
    .role-welcome-subheading {
        font-size: 12px;
    }
    .role-card {
        padding: 18px 14px;
    }
    .role-card h3 {
        font-size: 16px;
    }
    .role-card p {
        font-size: 11px;
    }
    .role-page-logo {
        width: 50px;
        height: 50px;
        padding: 6px;
        border-radius: 16px;
    }
}

/* Landscape Mode on Mobile */
@media (max-width: 850px) and (orientation: landscape) {
    .role-container {
        padding: 20px;
        justify-content: center;
    }
    .role-cards {
        flex-direction: row;
        gap: 15px;
    }
    .role-card {
        padding: 15px 12px;
        min-width: 180px;
    }
    .role-welcome-heading {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .role-welcome-subheading {
        margin-bottom: 15px;
    }
    .role-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    .role-page-logo {
        width: 45px;
        height: 45px;
    }
}
/* Suggestion Chip with Icon Styling - Green Theme */
.suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #f0fdf4;
    border: 1.5px solid rgba(34, 119, 54, 0.15);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #227736;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.suggestion-chip i {
    font-size: 14px;
    color: #227736;
    transition: color 0.25s;
}

.suggestion-chip:hover {
    background: #227736;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(34, 119, 54, 0.2);
    border-color: transparent;
}

.suggestion-chip:hover i {
    color: white;
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .suggestion-chip {
        padding: 6px 14px;
        font-size: 11px;
        gap: 6px;
    }
    .suggestion-chip i {
        font-size: 12px;
    }
}

/* Smaller Suggestion Chips */
.suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f0fdf4;
    border: 1.5px solid rgba(34, 119, 54, 0.12);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #227736;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.suggestion-chip i {
    font-size: 11px;
    color: #227736;
}

.suggestion-chip:hover {
    background: #227736;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(34, 119, 54, 0.15);
    border-color: transparent;
}

.suggestion-chip:hover i {
    color: white;
}

/* Suggestions List - Better Grid */
.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px 0;
}

/* Mobile View */
@media (max-width: 600px) {
    .suggestion-chip {
        padding: 4px 10px;
        font-size: 10px;
        gap: 4px;
        white-space: normal;
        word-break: keep-all;
    }
    .suggestion-chip i {
        font-size: 10px;
    }
    .suggestions-list {
        gap: 6px;
        max-height: 150px;
    }
}

/* Tablet View */
@media (max-width: 768px) and (min-width: 601px) {
    .suggestion-chip {
        padding: 5px 11px;
        font-size: 11px;
    }
}
/* ==========================================================================
   MOBILE RESPONSIVE - QUICK QUESTIONS COLLAPSED BY DEFAULT
   ========================================================================== */

/* Desktop Default - Show Suggestions */
.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.suggestions-list.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
}

/* Mobile View (600px and below) - Initially Collapsed */
@media (max-width: 600px) {
    .suggestions-list {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
    }
    
    .suggestions-list:not(.collapsed) {
        max-height: 250px;
        opacity: 1;
        padding: 8px 0;
        overflow-y: auto;
    }
    
    /* Toggle Button Styling for Mobile */
    .toggle-suggestions {
        width: 28px;
        height: 28px;
        background: #f0fdf4;
        border: 1.5px solid rgba(34, 119, 54, 0.15);
        border-radius: 8px;
        color: #227736;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .toggle-suggestions:hover {
        background: #227736;
        color: white;
    }
    
    /* Suggestions Header - Better visibility */
    .suggestions-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
        padding: 4px 0;
    }
    
    .suggestions-header span {
        font-size: 12px;
        font-weight: 600;
        color: #227736;
    }
    
    /* Smaller chips for mobile */
    .suggestion-chip {
        padding: 5px 12px;
        font-size: 11px;
        gap: 5px;
    }
    
    .suggestion-chip i {
        font-size: 10px;
    }
}

/* Tablet View (601px to 768px) */
@media (max-width: 768px) and (min-width: 601px) {
    .suggestions-list {
        max-height: 200px;
    }
    
    .suggestion-chip {
        padding: 6px 14px;
        font-size: 11px;
    }
}
/* University Text Wrapper */
.university-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.university-title {
    font-size: clamp(20px, 4vw, 25px);
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
    color: #227736;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    position: relative;
}

.university-tagline {
    font-size: 9px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FF8C00, #227736);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .university-tagline {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
    .university-title {
        margin-bottom: 4px;
    }
}

/* Welcome Message Styling */


.message-container.bot:first-child .bot-message strong {
    color: #227736;
}
/* Mobile View - Quick Questions Proper Display */
@media (max-width: 600px) {
    /* Suggestions List - Show properly on mobile */
    .suggestions-list {
        max-height: none !important;
        opacity: 1 !important;
        overflow-y: visible !important;
        padding: 8px 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    /* Override collapse on mobile - Always show */
    .suggestions-list.collapsed {
        max-height: none !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    /* Toggle button - Hide on mobile (always visible) */
    .toggle-suggestions {
        display: none;
    }
    
    /* Smaller chips for mobile */
    .suggestion-chip {
        padding: 6px 12px;
        font-size: 10px;
        gap: 4px;
        white-space: normal;
        word-break: keep-all;
    }
    
    .suggestion-chip i {
        font-size: 10px;
    }
    
    /* Suggestions header - Keep visible */
    .suggestions-header {
        margin-bottom: 8px;
    }
    
    .suggestions-header span {
        font-size: 12px;
    }
}
@media (max-width: 600px) {
    .suggestions-list {
        max-height: 180px;
        overflow-y: auto;
    }
    
    .suggestion-chip {
        padding: 4px 10px;
        font-size: 9px;
    }
}
/* Desktop Default - Show All Suggestions */
.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: none;
    overflow-y: visible;
    padding: 4px 0;
}

/* Mobile View - Only Show First 4 */
@media (max-width: 600px) {
    .suggestions-list {
        max-height: 80px;
        overflow-y: hidden;
        position: relative;
    }
    
    /* Show first 4 chips, hide rest */
    .suggestion-chip:nth-child(n+5) {
        display: none;
    }
    
    /* Optional: Show "more" indicator */
    .suggestions-list::after {
        content: "+" attr(data-count) " more";
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        background: #f0fdf4;
        border: 1.5px solid rgba(34, 119, 54, 0.12);
        border-radius: 30px;
        font-size: 10px;
        font-weight: 500;
        color: #FF8C00;
        cursor: pointer;
    }
    
    /* Toggle button - Show on mobile for expand */
    .toggle-suggestions {
        display: flex;
    }
}

/* ============================================
   ENHANCED BOT MESSAGE STYLING - NO EMOJIS
   ============================================ */

.bot-message {
    background: white;
    color: #1e293b;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.75;
    border: 1px solid rgba(34, 119, 54, 0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bot-message ul {
    margin: 6px 0;
    padding: 0;
    list-style: none;
}

.bot-message ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: #334155;
    font-size: 13.5px;
    line-height: 1.55;
}

.bot-message ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: #227736;
    border-radius: 50%;
    opacity: 0.7;
}

/* First message (welcome) special styling */
.message-container.bot:first-child .bot-message {
    background: #f8fdf9;
    border-left: 3px solid #227736;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    padding: 20px 22px;
}

/* Table styling - only for comparisons, fees, schedules */
.bot-message .table-wrapper {
    overflow-x: auto;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bot-message .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bot-message .data-table th {
    background: #227736;
    color: white;
    padding: 9px 13px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
}

.bot-message .data-table td {
    padding: 8px 13px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
}

.bot-message .data-table tr:nth-child(even) td {
    background: #f8fafc;
}

.bot-message .data-table tr:hover td {
    background: #f0fdf4;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .bot-message {
        padding: 12px 16px;
        font-size: 13px;
    }
    .bot-message ul li {
        font-size: 12px;
        padding: 3px 0 3px 18px;
    }
    .bot-message ul li::before {
        top: 9px;
        width: 5px;
        height: 5px;
    }
    .bot-message .data-table th,
    .bot-message .data-table td {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Table Styles */
.bot-message table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(34, 119, 54, 0.15);
}

.bot-message th {
    background: #227736;
    color: white;
    padding: 10px 14px;
    font-weight: 600;
}

.bot-message td {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.bot-message tr:last-child td {
    border-bottom: none;
}

/* Icon Styles */
.bot-message i {
    color: #227736;
    margin-right: 6px;
    font-size: 14px;
}


/* ============================================
   ICON STYLES - Make Font Awesome Icons Work
   ============================================ */

.bot-message i,
.message-content i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #227736 !important;
    margin-right: 8px;
    font-size: 16px;
    display: inline-block;
    font-style: normal;
}

.bot-message i.far {
    font-weight: 400;
}

.bot-message i.fas {
    font-weight: 900;
}

/* Important words in orange */
.bot-message strong {
    color: #227736!important;
    font-weight: 700;
}

/* Table Styles */
.bot-message table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.bot-message th {
    background: #227736;
    color: white;
    padding: 10px 14px;
    font-weight: 600;
}

.bot-message td {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.bot-message tr:last-child td {
    border-bottom: none;
}

