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

/* Prevent unwanted text scaling across browsers */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #c2bed7 0%, #c8c4dd 100%);
    color: #3b3e5e;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}


.app-container {
    display: flex;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}


.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px 16px 20px 22px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-close-btn {
    display: none; 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #3b3e5e;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.sidebar-close-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: flex-start; 
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #3b3e5e;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start; 
}

.welcome-text {
    font-size: 16px;
    color: #3b3e5e;
    text-align: left; 
    line-height: 1.4;
}

.logout-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.2);
    display: inline-block; 
    text-align: center; 
    min-width: 80px; 
}

.logout-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.sidebar-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #3b3e5e;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    justify-content: flex-start; 
    text-align: left; 
}

.nav-button:hover {
    background: rgba(59, 62, 94, 0.1);
    color: #3b3e5e;
    border-color: rgba(59, 62, 94, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.2);
}

.nav-button.active {
    background: linear-gradient(135deg, #3b3e5e, #2c2e4a);
    border-color: #3b3e5e;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.3);
}

.nav-button i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0; 
}

.chat-history-section {
    margin-top: 24px;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #3b3e5e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: left; 
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    color: #3b3e5e;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left; 
}

.history-item:hover {
    background: rgba(59, 62, 94, 0.1);
    color: #3b3e5e;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(59, 62, 94, 0.2);
}


.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(135deg, #c2bed7 0%, #c8c4dd 100%);
}

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    padding-bottom: 100px; 
}

.chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.message {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}


.message-content .item-list {
    white-space: pre-line;
    line-height: 1.8;
    margin: 8px 0;
}

.message-content .item-list-item {
    display: block;
    margin: 4px 0;
    padding: 2px 0;
}


.message-content {
    max-width: 85%;
    padding: 20px 24px;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: pre-wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    
    overflow-x: hidden;
    min-width: 0;
}

.message.user .message-content {
    background: linear-gradient(135deg, #3b3e5e 0%, #2c2e4a 100%);
    color: #ffffff;
    border-bottom-right-radius: 6px;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.3);
}

.message.bot .message-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #3b3e5e;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.message-time {
    font-size: 11px;
    color: #666666;
    margin-top: 4px;
    opacity: 0.8;
}

.message.user .message-time {
    text-align: right;
}

.message.bot .message-time {
    text-align: left;
}


#user-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    outline: none;
    background: transparent;
    color: #3b3e5e;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: none;
    overflow-y: auto;
    max-height: 150px;
    min-height: 45px;
    line-height: 2.3;
}

#user-input::placeholder {
    color: #3b3e5e;
    opacity: 0.6;
}

#user-input:focus {
    outline: none;
}


.input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 12px 24px 20px 24px; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 40px; 
}

.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #404040;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.file-upload:hover {
    background-color: #525252;
}

.file-upload i {
    color: #d1d5db;
    font-size: 14px;
}

#user-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #3b3e5e;
    font-size: 15px;
    padding: 4px 0;
    min-width: 0; 
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 2.3;
}

#user-input::placeholder {
    color: #3b3e5e;
}

.send-btn, .mic-btn, .clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b3e5e, #2c2e4a);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(59, 62, 94, 0.15);
    flex-shrink: 0; 
}


#search-btn, #send-btn, #mic-btn, #notes-btn, #clear-btn, #attach-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}


#search-btn i, #send-btn i, #clear-btn i, #notes-btn i, #attach-btn i {
    font-size: 14px;
}


#search-btn {
    background: #6366f1;
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(59, 62, 94, 0.15);
}


#notes-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(59, 62, 94, 0.15);
}


#attach-btn {
    background: #1f2937;
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(59, 62, 94, 0.15);
}

.send-btn:hover, .mic-btn:hover, .clear-btn:hover {
    background: linear-gradient(135deg, #2c2e4a, #1f1f3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.4);
}

.send-btn i, .mic-btn i, .clear-btn i {
    color: #ffffff;
    font-size: 14px;
}

.mic-btn img {
    width: 14px;
    height: 14px;
}

.clear-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.clear-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}


.orders-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 20px;
    padding-bottom: 100px; 
    margin: 0;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 16px; 
}

.orders-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #3b3e5e;
    flex: 1; 
    min-width: 0; 
    margin: 0; 
}

.header-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0; 
    align-items: center;
}

.refresh-btn, .debug-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; 
}

.refresh-btn:hover, .debug-btn:hover {
    background: rgba(59, 62, 94, 0.1);
    border-color: rgba(59, 62, 94, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.2);
}

.refresh-btn i, .debug-btn i {
    color: #3b3e5e;
    font-size: 16px;
}

.debug-btn:hover i {
    color: #3b3e5e;
}

.orders-box {
    flex: 1;
    overflow-y: auto;
}

.loading-message {
    display: flex;
    align-items: center;
  justify-content: center;
    gap: 12px;
    color: #3b3e5e;
    font-size: 16px;
    padding: 40px;
}

.empty-state {
    text-align: center;
    color: #3b3e5e;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #3b3e5e;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #3b3e5e;
    margin-bottom: 12px;
    font-size: 20px;
}

.empty-state p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.start-chat-btn {
    background: linear-gradient(135deg, #3b3e5e, #2c2e4a);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(59, 62, 94, 0.3);
}

.start-chat-btn:hover {
    background: linear-gradient(135deg, #2c2e4a, #1f1f3a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.4);
}


.order-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-item:last-child {
    margin-bottom: 40px; 
}

.order-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(59, 62, 94, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #404040;
}

.order-id {
    font-size: 16px;
    font-weight: 600;
    color: #3b3e5e;
}

.order-date {
    color: #9ca3af;
    font-size: 12px;
}

.order-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.order-status.shipped {
    background-color: rgba(25, 195, 125, 0.2);
    color: #3b3e5e;
    border: 1px solid #3b3e5e;
}

.order-status.fulfilled {
    background-color: rgba(25, 195, 125, 0.2);
    color: #3b3e5e;
    border: 1px solid #3b3e5e;
}

.order-items-list {
    margin-top: 16px;
}

.order-item-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #404040;
}

.order-item-detail:last-child {
    border-bottom: none;
}

.item-description {
    color: #d1d5db;
    flex: 1;
    font-size: 14px;
}

.item-quantity {
    color: #3b3e5e;
    font-weight: 600;
    margin: 0 16px;
    font-size: 14px;
}

.item-amount {
    color: #ffffff;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
    font-size: 14px;
}

.order-total {
    font-size: 18px;
    font-weight: 700;
    color: #3b3e5e;
    text-align: right;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #404040;
}


.orders-table {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #c8c4dd;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.orders-table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    background-color: #f6f6f8;
    padding: 20px;
    font-weight: 600;
    color: #3b3e5e;
    border-bottom: 1px solid #c8c4dd;
    font-size: 14px;
}

.table-header-cell {
    padding: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.orders-table-body {
    flex: 1;
    overflow-y: auto;
    max-height: none;
}

.orders-table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    padding: 20px;
    border-bottom: 1px solid #c8c4dd;
    transition: background-color 0.2s ease;
    background-color: #ffffff;
    gap: 8px;
}

.orders-table-row:hover {
    background-color: #f6f6f8;
}

.orders-table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 8px 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #3b3e5e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-number {
    color: #3b3e5e;
    font-weight: 600;
    font-size: 14px;
}

.order-date {
    color: #3b3e5e;
    font-size: 16px;
}

.table-cell {
    padding: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333333;
}

.order-number {
    color: #3b3e5e;
    font-weight: 600;
    font-size: 14px;
}

.order-date {
    color: #3b3e5e;
    font-size: 16px;
}

.order-amount {
    color: #3b3e5e;
    font-weight: 600;
    font-size: 14px;
}

.view-details-btn {
    background-color: #3b3e5e;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    min-width: auto;
}

.view-details-btn:hover {
    background-color: #3b3e5e;
}


.order-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #c8c4dd;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #c8c4dd;
    background-color: #f6f6f8;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    color: #3b3e5e;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #3b3e5e;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close-btn:hover {
    color: #3b3e5e;
    background-color: rgba(59, 62, 94, 0.1);
}

.modal-body {
    padding: 24px;
}

.order-info {
    margin-bottom: 32px;
    background-color: #f6f6f8;
    border-radius: 12px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #c8c4dd;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #3b3e5e;
    font-weight: 600;
    font-size: 16px;
}

.info-value {
    color: #3b3e5e;
    font-weight: 700;
    font-size: 16px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #b8860b;
    border: 2px solid #ffc107;
}

.status-badge.pending-shipment {
    background-color: rgba(255, 193, 7, 0.15);
    color: #b8860b;
    border: 2px solid #ffc107;
}

.status-badge.shipped {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 2px solid #22c55e;
}

.status-badge.fulfilled {
    background-color: rgba(59, 62, 94, 0.15);
    color: #3b3e5e;
    border: 2px solid #3b3e5e;
}

.total-amount {
    color: #3b3e5e;
    font-size: 18px;
    font-weight: 700;
}

.items-section h3 {
    color: #3b3e5e;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c8c4dd;
}

.items-table {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #c8c4dd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.items-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background-color: #f6f6f8;
    padding: 16px;
    font-weight: 700;
    color: #3b3e5e;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #c8c4dd;
}

.items-header-cell {
    padding: 8px;
}

.items-table-body {
    max-height: 400px;
    overflow-y: auto;
}

.items-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 16px;
    border-bottom: 1px solid #c8c4dd;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.items-table-row:hover {
    background-color: #f6f6f8;
}

.items-table-row:last-child {
    border-bottom: none;
}

.items-cell {
    padding: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #3b3e5e;
}

.item-name {
    color: #3b3e5e;
    font-weight: 600;
}

.item-quantity {
    color: #3b3e5e;
}

.item-rate {
    color: #3b3e5e;
    font-weight: 600;
}

.item-amount {
    color: #3b3e5e;
    font-weight: 700;
}

.no-items {
    text-align: center;
    color: #9ca3af;
    padding: 20px;
    font-style: italic;
}


.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
    padding: 16px;
    background-color: #2f2f2f;
    border-radius: 12px;
    border: 1px solid #404040;
}

.suggestion-chips button {
    padding: 10px 18px;
    background: linear-gradient(135deg, #3b3e5e 0%, #2c2e4a 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(59, 62, 94, 0.3);
}

.suggestion-chips button:hover {
    background: linear-gradient(135deg, #2c2e4a 0%, #1f1f3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.4);
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(200, 196, 221, 0.3);
    padding: 20px;
    z-index: 5;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 0;
    font-size: 14px;
    color: #3b3e5e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer a {
    color: #3b3e5e;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c2bed7;
    text-decoration: underline;
}

.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    z-index: 5;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #3b3e5e;
}

.footer-text {
    font-size: 16px;
    color: #3b3e5e;
}

.app-footer a {
    color: #3b3e5e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.app-footer a:hover {
    color: #2c2e4a;
    background: rgba(59, 62, 94, 0.1);
    transform: translateY(-1px);
}

.app-footer a i {
    font-size: 10px;
}






.mobile-header {
    display: none;
}


.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px;
    color: #2c3e50;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(59, 62, 94, 0.1);
    color: #3b3e5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 62, 94, 0.2);
}


.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .chat-container {
        padding: 0 16px;
    }
    
    .orders-container {
        padding: 0 16px;
        padding-bottom: 100px; 
    }
}


@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-header .logo-text {
        font-size: 18px;
        font-weight: 600;
        color: #3b3e5e;
    }
    
    .mobile-header .mobile-menu-toggle {
        position: static;
        margin: 0;
        width: 36px;
        height: 36px;
        padding: 8px;
        background: rgba(59, 62, 94, 0.1);
        border: 1px solid rgba(59, 62, 94, 0.2);
        color: #3b3e5e;
    }
    
    .sidebar-close-btn {
        display: flex; 
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
    }
    
    .chat-container {
        padding: 0 12px;
        padding-top: 60px; 
        padding-bottom: 100px; 
    }
    
    .input-container {
        margin: 8px 12px 16px 12px; 
        padding: 6px 10px; 
        min-height: 36px;
        gap: 8px;
    }
    
    .orders-container {
        padding: 0 12px;
        padding-top: 60px;
        padding-bottom: 100px; 
    }
    
    .message-content {
        max-width: 90%;
        font-size: 14px;
        padding: 16px 20px;
        
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .footer {
        padding: 16px 12px;
        flex-direction: column;
        gap: 8px;
    text-align: center;
    }
    
    .footer-left, .footer-right {
    width: 100%;
    }
}


@media (max-width: 640px) {
    .sidebar {
        width: 280px;
        left: -280px;
    }
    
    .logo-text {
    font-size: 16px;
    }
    
    .nav-button {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .chat-container {
        padding: 0 8px;
        padding-top: 60px;
        padding-bottom: 100px; 
    }
    
    .input-container {
        margin: 6px 8px 12px 8px; 
        padding: 4px 8px; 
        min-height: 34px;
        gap: 6px;
    }
    
    #attach-btn, #search-btn, #send-btn, #mic-btn, #notes-btn, #clear-btn {
        width: 30px;
        height: 30px;
    }
    
    #attach-btn i, #search-btn i, #send-btn i, #notes-btn i, #clear-btn i {
        font-size: 13px;
    }
    
    #mic-btn img {
        width: 13px;
        height: 13px;
    }
    
    .orders-container {
        padding: 0 8px;
        padding-top: 60px;
        padding-bottom: 100px; 
    }
    
    .message-content {
        max-width: 95%;
        font-size: 13px;
        padding: 14px 18px;
        
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .user-input {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .orders-header {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .orders-header h1 {
        font-size: 20px;
    }
    
    .refresh-btn, .debug-btn {
        width: 32px;
        height: 32px;
    }
    
    .orders-table-header {
        grid-template-columns: 1.2fr 1fr 0.6fr 1fr;
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .orders-table-row {
        grid-template-columns: 1.2fr 1fr 0.6fr 1fr;
        padding: 8px;
        gap: 4px;
    }
    
    .table-cell {
        font-size: 12px;
        padding: 6px 2px;
    }
    
    .view-details-btn {
        padding: 6px 8px;
        font-size: 10px;
        gap: 2px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 20px auto;
    }
    
    .footer {
        padding: 12px 8px;
        font-size: 12px;
    }
}


@media (max-width: 480px) {
    .sidebar {
    width: 100%;
        left: -100%;
    }
    
    .chat-container {
        padding: 0 4px;
        padding-top: 60px;
        padding-bottom: 100px; 
    }
    
    .input-container {
        margin: 4px 4px 8px 4px; 
        padding: 3px 6px; 
        min-height: 32px; 
        gap: 4px;
    }
    
    #attach-btn, #search-btn, #send-btn, #mic-btn, #notes-btn, #clear-btn {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    #attach-btn i, #search-btn i, #send-btn i, #notes-btn i, #clear-btn i {
        font-size: 12px;
    }
    
    #mic-btn img {
        width: 12px;
        height: 12px;
    }
    
    .orders-container {
        padding: 0 4px;
        padding-top: 60px;
        padding-bottom: 100px; 
    }
    
    .orders-table-header {
        grid-template-columns: 0.9fr 0.7fr 0.4fr 0.7fr;
        padding: 6px 2px;
        font-size: 10px;
    }
    
    .orders-table-row {
        grid-template-columns: 0.9fr 0.7fr 0.4fr 0.7fr;
        padding: 4px 2px;
        gap: 1px;
    }
    
    .table-cell {
        font-size: 10px;
        padding: 3px 1px;
    }
    
    .view-details-btn {
        padding: 3px 4px;
        font-size: 8px;
        gap: 1px;
    }
}


@media (max-width: 360px) {
    .orders-header {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .orders-header h1 {
        font-size: 18px;
    }
    
    .refresh-btn, .debug-btn {
        width: 30px;
        height: 30px;
    }
    
    .orders-table-header {
        display: none; 
    }
    
    .orders-table-row {
        display: block;
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 8px;
        border: 1px solid #c8c4dd;
    }
    
    .table-cell {
        display: block;
        padding: 4px 0;
        font-size: 12px;
        white-space: normal;
    }
    
    .table-cell:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #3b3e5e;
    }
    
    .view-details-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding: 8px;
        font-size: 12px;
    }
}


@media (max-width: 320px) {
    .orders-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 8px;
    }
    
    .orders-header h1 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .header-buttons {
        justify-content: center;
        align-self: center;
    }
    
    .refresh-btn, .debug-btn {
        width: 32px;
        height: 32px;
    }
    
    .message-content {
        max-width: 98%;
        font-size: 12px;
        padding: 12px 16px;
        
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .user-input {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .input-container {
        margin: 3px 3px 8px 3px;
        padding: 2px 4px;
        gap: 3px;
    }
    
    #attach-btn, #search-btn, #send-btn, #mic-btn, #notes-btn, #clear-btn {
        width: 26px;
        height: 26px;
    }
    
    #attach-btn i, #search-btn i, #send-btn i, #notes-btn i, #clear-btn i {
        font-size: 11px;
    }
    
    #mic-btn img {
        width: 11px;
        height: 11px;
    }
    
    .orders-table-header {
        grid-template-columns: 1fr 0.8fr 0.5fr 0.8fr;
        padding: 8px 4px;
        font-size: 11px;
    }
    
    .orders-table-row {
        grid-template-columns: 1fr 0.8fr 0.5fr 0.8fr;
        padding: 6px 4px;
        gap: 2px;
    }
    
    .table-cell {
        font-size: 11px;
        padding: 4px 1px;
    }
    
    .view-details-btn {
        padding: 4px 6px;
        font-size: 9px;
        gap: 1px;
    }
    
    .modal-content {
        width: 98%;
        max-width: 98%;
        margin: 10px auto;
        padding: 16px;
    }
    
    .footer {
        padding: 8px 4px;
        font-size: 11px;
    }
}


.copy-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    opacity: 0.6; 
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}


.message.user .copy-btn {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}


.message.bot .copy-btn {
    background: rgba(59, 62, 94, 0.12);
    color: #2c2e4a;
    border-color: rgba(59, 62, 94, 0.25);
}

.message:hover .copy-btn {
    opacity: 1;
    transform: translateY(-2px);
}

.copy-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.message {
    position: relative;
}


.message-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.message-meta .copy-btn {
    position: static;
    opacity: 1;
    transform: none;
    padding: 4px 6px;
}


.chat-search-container {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(59, 62, 94, 0.1);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 100;
}

.chat-search-container input {
    flex: 1;
    border: 2px solid rgba(59, 62, 94, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #3b3e5e;
    background: white;
}

.chat-search-container input:focus {
    outline: none;
    border-color: rgba(59, 62, 94, 0.5);
}

.close-search-btn {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    color: #e74c3c;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.close-search-btn:hover {
    background: rgba(231, 76, 60, 0.2);
}

.search-btn {
    background: rgba(59, 62, 94, 0.1);
    border: 1px solid rgba(59, 62, 94, 0.2);
    border-radius: 6px;
    color: #3b3e5e;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(59, 62, 94, 0.2);
}


.highlight {
    background-color: yellow;
    padding: 2px 4px;
    border-radius: 3px;
}



::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 62, 94, 0.4);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 62, 94, 0.6);
}


* {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 62, 94, 0.4) rgba(255, 255, 255, 0.1);
}


.order-table {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 80px 2fr 60px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
}

.table-header > div {
    padding: 12px 8px;
    border-right: 1px solid #e5e7eb;
    text-align: left;
}

.table-header > div:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px 2fr 60px;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: #f9fafb;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row > div {
    padding: 12px 8px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #374151;
}

.table-row > div:last-child {
    border-right: none;
}

.col-quantity {
    justify-content: center;
}

.col-item {
    font-weight: 600;
    color: #1f2937;
}

.col-description {
    color: #6b7280;
    font-size: 13px;
}

.col-price {
    font-weight: 600;
    color: #059669;
    justify-content: center;
}

.qty-display {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    min-width: 40px;
    text-align: center;
}

.remove-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.btn-add-item {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-item:hover {
    background: #2563eb;
}

.total-summary {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.total-text {
    margin: 0;
}


@media (hover: none) and (pointer: coarse) {
    .nav-button:hover {
        background-color: transparent;
    }
    
    .nav-button:active {
        background-color: #2f2f2f;
    }
    
    .send-btn:hover, .mic-btn:hover, .clear-btn:hover {
        background-color: #3b3e5e;
    }
    
    .send-btn:active, .mic-btn:active, .clear-btn:active {
        background-color: #2a2d47;
    }
    
    .clear-btn:hover {
        background-color: #b91c1c;
    }
    
.clear-btn:active {
    background-color: #991b1b;
}

    .qty-btn:hover {
        background: transparent;
    }
    
    .qty-btn:active {
        background: #e5e7eb;
    }
    
    .remove-btn:hover {
        background: #f3f4f6;
    }
    
    .remove-btn:active {
        background: #fee2e2;
        color: #dc2626;
    }
    
    .btn-add-item:hover {
        background: #3b82f6;
    }
    
    .btn-add-item:active {
        background: #2563eb;
    }
}


.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px; 
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quick-action-btn {
    padding: 13px 23px; 
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 133px; 
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, #3b3e5e 0%, #2c2e4a 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.3);
}

.quick-action-btn.primary:hover {
    background: linear-gradient(135deg, #2c2e4a 0%, #1f1f3a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 62, 94, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.quick-action-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #3b3e5e;
    border: 1px solid rgba(59, 62, 94, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quick-action-btn.secondary:hover {
    background: rgba(59, 62, 94, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.2);
    border-color: rgba(59, 62, 94, 0.3);
    color: #2c2e4a;
}

.quick-action-btn:active {
    transform: translateY(0);
}

.quick-action-btn.success {
    background: linear-gradient(135deg, #3b3e5e 0%, #2c2e4a 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(59, 62, 94, 0.3);
}

.quick-action-btn.success:hover {
    background: linear-gradient(135deg, #2c2e4a 0%, #1f1f3a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 62, 94, 0.4);
}

.quick-action-btn.warning {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%); 
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.3); 
}

.quick-action-btn.warning:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); 
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.4); 
}

.quick-action-btn.danger {
    background: linear-gradient(135deg, #e84393 0%, #d63031 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.quick-action-btn.danger:hover {
    background: linear-gradient(135deg, #d63031 0%, #b71c1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}


@media (max-width: 768px) {
    .quick-actions {
        gap: 15px; 
        margin-top: 16px;
        padding: 16px;
    }
    
    .quick-action-btn {
        padding: 11px 19px; 
        font-size: 14px;
        min-width: 114px; 
    }
}

@media (max-width: 480px) {
    .quick-actions {
        gap: 12px; 
        margin-top: 12px;
        padding: 12px;
    }
    
    .quick-action-btn {
        padding: 10px 15px; 
        font-size: 13px;
        min-width: 95px; 
    }
}


.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 62, 94, 0.1);
    border-top: 3px solid #3b3e5e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    box-shadow: 0 2px 8px rgba(59, 62, 94, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-dots {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 10px;
}

.loading-dots div {
    position: absolute;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b3e5e;
    animation: loading-dots 1.4s infinite ease-in-out both;
}

.loading-dots div:nth-child(1) {
    left: 0;
    animation-delay: -0.32s;
}

.loading-dots div:nth-child(2) {
    left: 12px;
    animation-delay: -0.16s;
}

.loading-dots div:nth-child(3) {
    left: 24px;
    animation-delay: 0s;
}

@keyframes loading-dots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}


.typing-indicator {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f6f6f8 0%, #e8e6f0 100%);
    border-radius: 18px;
    margin: 8px 0;
    border: 1px solid #c8c4dd;
    box-shadow: 0 2px 8px rgba(194, 190, 215, 0.1);
}

.typing-indicator .loading-dots {
    margin-right: 8px;
}

.typing-indicator span {
    color: #3b3e5e;
    font-size: 14px;
    font-style: italic;
}


.message-gif {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 62, 94, 0.05) 0%, rgba(59, 62, 94, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 62, 94, 0.1);
    box-shadow: 0 4px 20px rgba(59, 62, 94, 0.1);
    backdrop-filter: blur(10px);
}

.message-gif img {
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(59, 62, 94, 0.2) !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.message-gif img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 62, 94, 0.3) !important;
}


.success-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(40, 167, 69, 0.2);
    box-shadow: 0 6px 24px rgba(40, 167, 69, 0.15);
    backdrop-filter: blur(10px);
}

.success-animation img {
    max-width: 100px !important;
    max-height: 100px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3) !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    }
}


.processing-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 62, 94, 0.1) 0%, rgba(59, 62, 94, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 62, 94, 0.2);
    box-shadow: 0 6px 24px rgba(59, 62, 94, 0.15);
    backdrop-filter: blur(10px);
}

.processing-animation img {
    max-width: 100px !important;
    max-height: 100px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(59, 62, 94, 0.3) !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: processingRotate 3s linear infinite;
}

@keyframes processingRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #3b3e5e;
    font-size: 14px;
}

.loading-state .loading-spinner {
    margin-right: 12px;
}


.orders-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #3b3e5e;
}

.orders-loading .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 4px;
    margin-bottom: 16px;
}

.orders-loading h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.orders-loading p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}


.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .loading-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.btn-loading span {
    opacity: 0;
}


.chat-input-loading {
    position: relative;
}

.chat-input-loading .loading-spinner {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-width: 2px;
}


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #2f2f2f;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #525252;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}


.order-processing-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(59, 62, 94, 0.1), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.order-processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(59, 62, 94, 0.1);
    border-top: 4px solid #3b3e5e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.order-processing-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #3b3e5e;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.order-success-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.order-success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: successScale 0.6s ease-out;
}

.order-success-checkmark::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 15px;
    border: 3px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.8s ease-out 0.3s both;
}

.loading-spinner-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: rgba(59, 62, 94, 0.05);
    border-radius: 15px;
    margin: 15px 0;
}

.loading-spinner-modern {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(59, 62, 94, 0.1);
    border-top: 3px solid #3b3e5e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes successScale {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkDraw {
    0% { 
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        width: 30px;
        height: 15px;
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .order-processing-animation,
    .order-success-animation {
        padding: 30px;
        margin: 15px 0;
    }
    
    .order-processing-spinner {
        width: 50px;
        height: 50px;
    }
    
    .order-processing-spinner::after {
        width: 16px;
        height: 16px;
    }
    
    .order-success-checkmark {
        width: 60px;
        height: 60px;
    }
    
    .order-success-checkmark::before {
        width: 24px;
        height: 12px;
    }
    
    .loading-spinner-modern {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .order-processing-animation,
    .order-success-animation {
        padding: 20px;
        margin: 10px 0;
    }
    
    .order-processing-spinner {
        width: 40px;
        height: 40px;
    }
    
    .order-processing-spinner::after {
        width: 12px;
        height: 12px;
    }
    
    .order-success-checkmark {
        width: 50px;
        height: 50px;
    }
    
    .order-success-checkmark::before {
        width: 20px;
        height: 10px;
    }
    
    .loading-spinner-modern {
        width: 30px;
        height: 30px;
    }
}
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 16px;
}

.error-state h3 {
    color: #ef4444;
    margin-bottom: 12px;
    font-size: 18px;
}

.error-state p {
    margin-bottom: 20px;
    font-size: 14px;
}

.retry-btn {
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-btn:hover {
    background-color: #dc2626;
}


body.login-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-header .logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #3b3e5e;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.login-container input {
    padding: 16px 20px;
    border: 2px solid #444;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #3b3e5e;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-container input::placeholder {
    color: #aaa;
}

.login-container input:focus {
    outline: none;
    border-color: #3b3e5e;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(25, 195, 125, 0.2);
}

.login-container button {
    padding: 16px 20px;
    background: linear-gradient(135deg, #3b3e5e 0%, #c2bed7 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(25, 195, 125, 0.3);
}

.login-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 195, 125, 0.4);
    background: linear-gradient(135deg, #c2bed7 0%, #3b3e5e 100%);
}

.login-container button:active {
    transform: translateY(0);
}

.login-container p {
    color: #3b3e5e;
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
}

.signup-link, .forgot-password-link {
    color: #3b3e5e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link:hover, .forgot-password-link:hover {
    color: #3b3e5e;
    text-shadow: 0 0 8px rgba(25, 195, 125, 0.3);
}


@media (max-width: 768px) {
    .app-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .app-header .logo img {
        width: 35px;
        height: 35px;
    }
    
    .header-title {
        font-size: 18px;
    }
    
    .login-container {
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
    }
    
    .login-container h2 {
        font-size: 24px;
    }
    
    .login-container input {
        font-size: 16px; 
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 10px 15px;
    }
    
    .app-header .logo img {
        width: 30px;
        height: 30px;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .login-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .login-container h2 {
        font-size: 20px;
    }
    
    .login-container input {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .login-container button {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .auth-container {
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
    }
    
    .auth-container h2 {
        font-size: 24px;
    }
    
    .auth-container input {
        font-size: 16px; 
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 10px 15px;
    }
    
    .app-header .logo img {
        width: 30px;
        height: 30px;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .login-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .login-container h2 {
        font-size: 20px;
    }
    
    .login-container input {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .login-container button {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .auth-container {
        width: 95%;
        padding: 20px 15px;
    }
    
    .auth-container h2 {
        font-size: 20px;
    }
    
    .auth-container input {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .auth-container button {
        padding: 12px 20px;
        font-size: 16px;
    }
}


.auth-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
}

.auth-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.auth-container input {
    padding: 16px 20px;
    border: 2px solid #444;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-container input::placeholder {
    color: #aaa;
}

.auth-container input:focus {
    outline: none;
    border-color: #3b3e5e;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(25, 195, 125, 0.2);
}

.auth-container button {
    padding: 16px 20px;
    background: linear-gradient(135deg, #3b3e5e 0%, #c2bed7 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 195, 125, 0.4);
    background: linear-gradient(135deg, #c2bed7 0%, #3b3e5e 100%);
}

.auth-container button:active {
    transform: translateY(0);
}

.auth-container p {
    color: #d1d5db;
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
}

.auth-container a {
    color: #3b3e5e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-container a:hover {
    color: #c2bed7;
    text-decoration: underline;
}


.flash-message {
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    font-weight: 500;
}

.flash-message.success {
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid #3b3e5e;
    color: #3b3e5e;
}

.flash-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.flash-message.warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    color: #f59e0b;
}


.sales-rep-section {
    margin: 20px 0;
    padding: 12px;
    background: rgba(59, 62, 94, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(59, 62, 94, 0.1);
    overflow: hidden;
    word-wrap: break-word;
}

.sales-rep-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customer-search {
    display: flex;
    gap: 6px;
    align-items: center;
}

.customer-search-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid rgba(59, 62, 94, 0.2);
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: #3b3e5e;
    min-width: 0;
}

.customer-search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 6px 10px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #4f46e5;
}

.customer-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(59, 62, 94, 0.1);
    border-radius: 6px;
    background: white;
}

.customer-result-item {
    padding: 10px;
    border-bottom: 1px solid rgba(59, 62, 94, 0.1);
    cursor: pointer;
    transition: background-color 0.2s;
}

.customer-result-item:hover {
    background: rgba(99, 102, 241, 0.05);
}

.customer-result-item:last-child {
    border-bottom: none;
}

.customer-result-name {
    font-weight: 600;
    color: #3b3e5e;
    margin-bottom: 3px;
    font-size: 13px;
}

.customer-result-id {
    font-size: 11px;
    color: #6b7280;
}

.customer-result-email {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
    word-break: break-all;
}

.selected-customer {
    padding: 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px;
    margin-top: 6px;
}

.selected-customer-name {
    font-weight: 600;
    color: #059669;
    margin-bottom: 3px;
    font-size: 13px;
}

.selected-customer-id {
    font-size: 11px;
    color: #047857;
}

.selected-customer-email {
    font-size: 10px;
    color: #059669;
    margin-top: 2px;
    word-break: break-all;
}

.order-notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-notes-input {
    padding: 6px 10px;
    border: 1px solid rgba(59, 62, 94, 0.2);
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: #3b3e5e;
    resize: vertical;
    min-height: 50px;
}

.order-notes-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.add-notes-btn {
    padding: 6px 10px;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.add-notes-btn:hover {
    background: #d97706;
}


.order-notes-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(59, 62, 94, 0.2);
    border-radius: 12px;
    margin: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

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

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(59, 62, 94, 0.1);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px 12px 0 0;
}

.notes-header h4 {
    margin: 0;
    color: #3b3e5e;
    font-size: 16px;
    font-weight: 600;
}

.close-notes-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-notes-btn:hover {
    background: rgba(107, 114, 128, 0.1);
    color: #374151;
}

.notes-content {
    padding: 20px;
}

.notes-content textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(59, 62, 94, 0.2);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #3b3e5e;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    margin-bottom: 16px;
}

.notes-content textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.notes-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.add-notes-btn {
    padding: 10px 20px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-notes-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.cancel-notes-btn {
    padding: 10px 20px;
    background: transparent;
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cancel-notes-btn:hover {
    background: rgba(107, 114, 128, 0.05);
    border-color: #6b7280;
}


.notes-btn {
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.notes-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}