body { padding-top: 70px; }
.form-control[readonly]
{
    background-color: #eee;
    opacity: 1;
    color: #333333!important;
}

/* Label & Angular cloak */
.label-blue { background-color: #386cc7; }
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; }

/* Hamburger Menu */
.hamburger-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none !important;
	border: none;
	background: transparent !important;
	outline: none;
}
.hamburger-menu-toggle:hover, .hamburger-menu-toggle:focus {
	background-color: rgba(255, 255, 255, 0.1) !important;
	outline: none;
}
.hamburger-menu-toggle .caret { display: none; }
.hamburger-icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	position: relative;
}
.hamburger-line {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #FFF;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}
.dropdown.open .hamburger-menu-toggle .hamburger-line:nth-child(1),
.hamburger-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.dropdown.open .hamburger-menu-toggle .hamburger-line:nth-child(2),
.hamburger-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.dropdown.open .hamburger-menu-toggle .hamburger-line:nth-child(3),
.hamburger-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.dropdown.open .hamburger-menu-toggle { background-color: rgba(255, 255, 255, 0.15) !important; }
.navbar-right .dropdown-menu { right: 0; left: auto; z-index: 1000; }
.hamburger-dropdown {
	animation: slideDown 0.3s ease;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	margin-top: 5px;
	min-width: 240px;
	max-width: 300px;
	max-height: 80vh;
	overflow-y: auto;
	border: 1px solid rgba(0, 0, 0, 0.1);
}
.hamburger-dropdown::-webkit-scrollbar { width: 6px; }
.hamburger-dropdown::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.hamburger-dropdown::-webkit-scrollbar-thumb { background: #888; border-radius: 3px; }
.hamburger-dropdown::-webkit-scrollbar-thumb:hover { background: #555; }
@keyframes slideDown {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}
.hamburger-dropdown li a {
	padding: 10px 20px;
	display: flex;
	align-items: center;
	transition: all 0.2s ease;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
}
.hamburger-dropdown li a .glyphicon { margin-right: 12px; width: 20px; text-align: center; font-size: 16px; transition: all 0.2s ease; }
.hamburger-dropdown li a:hover { background-color: #f8f9fa; color: inherit; padding-left: 22px; }
.hamburger-dropdown li a:hover .glyphicon { transform: scale(1.1); }
.hamburger-dropdown li.divider { margin: 4px 0; height: 1px; overflow: hidden; background-color: #e5e5e5; }
.hamburger-dropdown li:first-child a {
	font-weight: 600;
	color: #2c3e50 !important;
	background-color: #ecf0f1;
	border-bottom: 2px solid #bdc3c7;
	padding: 12px 20px;
	margin-bottom: 4px;
}
.hamburger-dropdown li:first-child a:hover { background-color: #d5dbdb; padding-left: 22px; }
.hamburger-dropdown li:first-child a .glyphicon { font-size: 18px; }

/* Select2 & general */
#mytextarea { margin: 10px 0; height: 500px; }
.text-right { text-align: right; }
.select2-container { z-index: 99999; }

/* Navbar disk info */
.navbar-disk-info { display: flex; align-items: center; }
.navbar-disk-info .glyphicon-hdd { margin-right: 8px; font-size: 14px; opacity: 0.8; }
.navbar-disk-info .disk-space { font-size: 12px; white-space: nowrap; }
.navbar-disk-info .disk-space .disk-percent { font-weight: 600; }
.navbar-disk-info .disk-space.disk-ok .disk-percent { color: #5cb85c; }
.navbar-disk-info .disk-space.disk-warning .disk-percent { color: #f0ad4e; }
.navbar-disk-info .disk-space.disk-danger .disk-percent { color: #d9534f; }
.navbar-disk-info .disk-ip { color: #ecf0f1; font-size: 11px; opacity: 0.9; }
.navbar-disk-info .disk-space-wrap { color: #FFF; padding: 15px 10px; display: inline-block; }
.hamburger-menu-toggle { color: #FFF; padding: 15px 20px; }
@media (max-width: 1200px) { .navbar-disk-info { display: none; } }

/* Chatbot & Update modal */
.chatbot-modal {
	display: block;
	position: fixed;
	z-index: 1050;
	left: 0; top: 0;
	width: 100%; height: 100%;
	overflow: auto;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: fadeInModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chatbot-modal.ng-hide { display: none !important; }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.chatbot-modal-dialog {
	position: relative;
	width: 90%; max-width: 1200px;
	margin: 40px auto;
	animation: slideDownModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideDownModal {
	from { transform: translateY(-30px) scale(0.95); opacity: 0; }
	to { transform: translateY(0) scale(1); opacity: 1; }
}
.chatbot-modal-content {
	position: relative;
	background: #fff;
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	max-height: 90vh;
	overflow: hidden;
}
.chatbot-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 2px solid #e9ecef;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.chatbot-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #212529;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.3px;
}
.chatbot-modal-title::before {
	content: '';
	width: 4px;
	height: 24px;
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
	border-radius: 2px;
}
.chatbot-modal-close {
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 24px;
	font-weight: 300;
	color: #6c757d;
	cursor: pointer;
	padding: 0;
	width: 36px; height: 36px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}
.chatbot-modal-close:hover { background: #dc3545; border-color: #dc3545; color: #fff; transform: scale(1.05) rotate(90deg); box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3); }
.chatbot-modal-close:active { transform: scale(0.95) rotate(90deg); }
.chatbot-modal-body {
	position: relative;
	padding: 24px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	max-height: calc(90vh - 140px);
	background: #fff;
}
.chatbot-modal-body::-webkit-scrollbar { width: 10px; }
.chatbot-modal-body::-webkit-scrollbar-track { background: #f1f3f5; border-radius: 5px; margin: 8px 0; }
.chatbot-modal-body::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #adb5bd 0%, #868e96 100%); border-radius: 5px; border: 2px solid #f1f3f5; }
.chatbot-modal-body::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #868e96 0%, #495057 100%); }
.chatbot-modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 16px 24px;
	border-top: 2px solid #e9ecef;
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	border-radius: 0 0 16px 16px;
	gap: 12px;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}
.update-web-modal-dialog { max-width: 800px; }

/* Google Auth Modal - ชิดขวาบน */
.gauth-modal { display: flex; justify-content: flex-end; align-items: flex-start; padding: 20px; }
.gauth-modal .gauth-modal-dialog {
	margin: 0;
	max-width: 420px;
	animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInRight { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.gauth-modal-header { background: linear-gradient(135deg, #4285F4 0%, #3367d6 100%); border-bottom-color: #3367d6; }
.gauth-modal-title { color: #fff !important; }
.gauth-modal-title::before { background: #fff !important; }
.gauth-title-icon { color: #fff !important; margin-right: 4px; }
.gauth-btn-manage { background: #fff; border-color: rgba(255,255,255,0.6); color: #4285F4; }
.gauth-btn-manage:hover { background: #e8f0fe; border-color: #fff; color: #3367d6; }
.gauth-modal-header .chatbot-modal-close { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); color: #fff; }
.gauth-modal-header .chatbot-modal-close:hover { background: rgba(255,255,255,0.3); border-color: #fff; color: #fff; }
.gauth-progress-wrap { margin-bottom: 16px; }
.gauth-progress-label { font-size: 12px; color: #5f6368; margin-bottom: 6px; }
.gauth-progress-label .glyphicon { color: #4285F4; margin-right: 4px; }
.gauth-progress { margin: 0; height: 8px; border-radius: 4px; background: #e8eaed; overflow: hidden; }
.gauth-progress-bar { background: linear-gradient(90deg, #4285F4 0%, #34a853 100%); border-radius: 4px; }
.gauth-list { display: flex; flex-direction: column; gap: 12px; }
.gauth-item {
	display: flex; flex-direction: column; gap: 4px;
	padding: 12px 14px; border: 2px solid #e8eaed; border-radius: 10px;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	transition: all 0.2s ease;
}
.gauth-item:hover { border-color: #dadce0; box-shadow: 0 2px 8px rgba(66, 133, 244, 0.1); }
.gauth-item-name { font-size: 13px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: flex; align-items: center; gap: 6px; }
.gauth-item-icon { color: #4285F4; font-size: 12px; flex-shrink: 0; }
.gauth-code-copy {
	font-size: 18px; font-weight: 700; font-family: monospace; letter-spacing: 3px;
	cursor: pointer; padding: 8px 12px; border-radius: 8px;
	background: #fff; border: 2px solid #dadce0; color: #202124;
	transition: all 0.2s ease; position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
}
.gauth-code-copy:hover { border-color: #4285F4; background: #e8f0fe; color: #3367d6; }
.gauth-copy-icon { font-size: 14px; color: #5f6368; }
.gauth-code-copy:hover .gauth-copy-icon { color: #4285F4; }
.gauth-copied { font-size: 11px; font-weight: normal; color: #34a853; display: inline-flex; align-items: center; gap: 4px; }
.gauth-copied .glyphicon { color: #34a853; }
.gauth-empty, .gauth-loading { text-align: center; padding: 40px 20px; color: #5f6368; }
.gauth-empty-icon { font-size: 56px; color: #dadce0; display: block; margin-bottom: 12px; }
.gauth-empty p { margin: 8px 0 12px 0; font-size: 14px; }
.gauth-empty-link { display: inline-flex; align-items: center; gap: 6px; color: #4285F4; font-weight: 500; padding: 8px 16px; border-radius: 8px; background: #e8f0fe; transition: all 0.2s; }
.gauth-empty-link:hover { background: #d2e3fc; color: #3367d6; text-decoration: none; }
.gauth-loading-icon { font-size: 32px; color: #4285F4; display: block; margin-bottom: 8px; }
.gauth-loading p { margin: 0; font-size: 14px; color: #5f6368; }
.gauth-modal-footer { background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); }
.gauth-btn-close { border-color: #dadce0; color: #5f6368; }
.gauth-btn-close:hover { background: #e8eaed; border-color: #dadce0; color: #202124; }
.gauth-btn-manage-footer { background: #4285F4; border-color: #4285F4; color: #fff; }
.gauth-btn-manage-footer:hover { background: #3367d6; border-color: #3367d6; color: #fff; }
.update-web-empty-state { text-align: center; padding: 60px 20px; color: #999; }
.update-web-empty-state .glyphicon { font-size: 64px; opacity: 0.3; display: block; margin-bottom: 20px; }
.update-web-empty-title { margin: 15px 0 10px 0; font-size: 16px; font-weight: 500; color: #666; }
.update-web-empty-desc { font-size: 13px; color: #bbb; margin: 0; }
.update-web-list { padding: 0; }
.update-web-summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px; margin-bottom: 15px; }
.update-web-summary-text { font-size: 14px; color: #495057; }
.update-web-summary-status { display: flex; align-items: center; }
.update-web-items { display: flex; flex-direction: column; gap: 10px; }
.update-web-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	border: 2px solid #dee2e6;
	border-radius: 8px;
	background: #fff;
	transition: all 0.3s ease;
}
.update-web-item-waiting { border-color: #ffc107; background: #fffbf0; }
.update-web-item-completed { border-color: #28a745; background: #f0fff4; }
.update-web-item-content { flex: 1; }
.update-web-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.update-web-item-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.update-web-item-waiting .update-web-item-icon { background: #ffc107; color: #fff; }
.update-web-item-completed .update-web-item-icon { background: #28a745; color: #fff; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.update-web-spin { animation: spin 1s linear infinite; }
.update-web-item-name { font-size: 15px; color: #212529; }
.update-web-item-details { margin-left: 42px; margin-top: 5px; max-width: calc(100% - 42px); overflow-x: auto; overflow-y: hidden; }
.update-web-item-time { font-size: 12px; color: #6c757d; display: flex; align-items: center; gap: 5px; white-space: nowrap; min-width: max-content; }
.update-web-item-time .glyphicon { font-size: 11px; flex-shrink: 0; }
.update-web-item-details::-webkit-scrollbar { height: 6px; }
.update-web-item-details::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.update-web-item-details::-webkit-scrollbar-thumb { background: #888; border-radius: 3px; }
.update-web-item-details::-webkit-scrollbar-thumb:hover { background: #555; }
.update-web-item-status { flex-shrink: 0; }
.update-web-status-badge { padding: 6px 12px; font-size: 12px; font-weight: 500; border-radius: 20px; }
.update-web-btn-update { display: flex; align-items: center; gap: 6px; }
.update-web-btn-update:disabled { opacity: 0.7; cursor: not-allowed; }

/* Chatbot prompt & chat */
.chatbot-prompt-table { width: 100%; border-collapse: collapse; background: #fff; }
.chatbot-prompt-table thead th { background: #f8f9fa; padding: 12px 10px; text-align: left; border: 1px solid #dee2e6; font-weight: 600; color: #495057; position: sticky; top: 0; z-index: 10; }
.chatbot-prompt-table tbody td { padding: 10px; border: 1px solid #dee2e6; vertical-align: top; }
.chatbot-prompt-table tbody tr:hover { background: #f8f9fa; }
.chatbot-prompt-table tbody tr:nth-child(even) { background: #fdfdfd; }
.chatbot-edit-field { width: 100%; padding: 6px 10px; border: 1px solid #ced4da; border-radius: 4px; font-size: 13px; min-height: 34px; transition: all 0.2s ease; }
.chatbot-edit-field:focus { outline: none; border-color: #5cb85c; box-shadow: 0 0 0 2px rgba(92, 184, 92, 0.2); }
.chatbot-textarea { min-height: 100px; resize: vertical; font-family: inherit; line-height: 1.5; }
.chatbot-readonly { background: #e9ecef; color: #6c757d; cursor: not-allowed; }
.chatbot-action-cell { white-space: nowrap; }
.chatbot-settings-section { background: #f8f9fa; padding: 15px; border-radius: 6px; margin-bottom: 20px; border: 1px solid #dee2e6; }
.chatbot-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 768px) { .chatbot-settings-grid { grid-template-columns: 1fr; } }
.chatbot-settings-item { display: flex; flex-direction: column; }
.chatbot-settings-label { font-weight: 600; color: #495057; margin-bottom: 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.chatbot-settings-label .glyphicon { color: #007bff; font-size: 14px; }
.chatbot-settings-input { width: 100%; padding: 8px 12px; border: 1px solid #ced4da; border-radius: 4px; font-size: 13px; transition: all 0.2s ease; }
.chatbot-settings-input:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); }
.chatbot-settings-select {
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 16px 12px;
	padding-right: 32px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}
.chatbot-settings-select:hover { border-color: #adb5bd; }
.chatbot-settings-select:focus { border-color: #007bff; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); }
.chatbot-chat-section { background: #fff; border: 1px solid #dee2e6; border-radius: 6px; padding: 15px; margin-top: 20px; }
.chatbot-messages-container { max-height: 400px; overflow-y: auto; border: 1px solid #e9ecef; border-radius: 6px; padding: 15px; background: #f8f9fa; margin-bottom: 15px; min-height: 200px; }
.chatbot-messages-container::-webkit-scrollbar { width: 8px; }
.chatbot-messages-container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.chatbot-messages-container::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }
.chatbot-messages-container::-webkit-scrollbar-thumb:hover { background: #555; }
.chatbot-empty-message { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 150px; }
.chatbot-message { margin-bottom: 15px; animation: fadeInMessage 0.3s ease; }
@keyframes fadeInMessage { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-message-content { display: flex; align-items: flex-start; gap: 10px; position: relative; }
.chatbot-message-user .chatbot-message-content { flex-direction: row-reverse; }
.chatbot-message-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: #fff; }
.chatbot-message-user .chatbot-message-avatar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.chatbot-message-model .chatbot-message-avatar { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.chatbot-message-text { flex: 1; max-width: 75%; }
.chatbot-message-label { font-size: 11px; font-weight: 600; color: #6c757d; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.chatbot-message-label .glyphicon { font-size: 12px; opacity: 0.7; }
.chatbot-message-body { padding: 10px 14px; border-radius: 12px; word-wrap: break-word; line-height: 1.5; font-size: 14px; white-space: pre-line; }
.chatbot-message-user .chatbot-message-body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-message-model .chatbot-message-body { background: #fff; color: #333; border: 1px solid #e9ecef; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.chatbot-message-responses { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.chatbot-message-response-item { padding: 8px 12px; border-radius: 8px; word-wrap: break-word; line-height: 1.5; font-size: 13px; white-space: pre-line; background: #f8f9fa; border: 1px solid #e9ecef; border-left: 3px solid #007bff; transition: all 0.2s ease; }
.chatbot-message-user .chatbot-message-response-item { background: rgba(255, 255, 255, 0.2); border-left-color: rgba(255, 255, 255, 0.5); color: #fff; }
.chatbot-message-model .chatbot-message-response-item { background: #f8f9fa; border-left-color: #28a745; color: #333; }
.chatbot-message-response-item:hover { background: #e9ecef; transform: translateX(2px); }
.chatbot-message-user .chatbot-message-response-item:hover { background: rgba(255, 255, 255, 0.3); }
.chatbot-message-delete { background: none; border: none; color: #dc3545; cursor: pointer; padding: 5px; opacity: 0; transition: opacity 0.2s ease; font-size: 14px; }
.chatbot-message:hover .chatbot-message-delete { opacity: 1; }
.chatbot-message-delete:hover { color: #c82333; transform: scale(1.1); }
.chatbot-input-container { border-top: 1px solid #dee2e6; padding: 15px; background: #f8f9fa; border-radius: 8px; margin-top: 15px; }
.chatbot-input-settings { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 15px; flex-wrap: wrap; }
.chatbot-input-settings-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; }
.chatbot-input-settings-right { display: flex; align-items: center; }
.chatbot-input-label { margin: 0; font-weight: 500; color: #495057; white-space: nowrap; font-size: 13px; }
.chatbot-input-select { flex: 1; min-width: 150px; max-width: 300px; padding: 6px 12px; border: 1px solid #ced4da; border-radius: 4px; font-size: 13px; height: 34px; }
.chatbot-member-toggle { padding: 6px 12px; font-size: 13px; white-space: nowrap; transition: all 0.2s ease; }
.chatbot-member-toggle:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.chatbot-input-textarea-wrapper { margin-bottom: 12px; }
.chatbot-chat-input { width: 100%; padding: 12px 14px; border: 2px solid #ced4da; border-radius: 8px; font-size: 14px; resize: vertical; transition: all 0.2s ease; font-family: inherit; background: #fff; min-height: 80px; }
.chatbot-chat-input:focus { outline: none; border-color: #28a745; box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1); }
.chatbot-chat-input:disabled { background: #e9ecef; cursor: not-allowed; opacity: 0.7; }
.chatbot-input-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.chatbot-btn-clear, .chatbot-btn-send { padding: 8px 16px; font-size: 13px; font-weight: 500; border-radius: 6px; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; }
.chatbot-btn-clear:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3); }
.chatbot-btn-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3); }
.chatbot-btn-send:disabled, .chatbot-btn-clear:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-text { font-size: 13px; }
.chatbot-modal-header-actions { display: flex; align-items: center; gap: 10px; }
.chatbot-settings-h5 { margin: 0 0 15px 0; color: #495057; font-weight: 600; border-bottom: 2px solid #007bff; padding-bottom: 8px; }
.chatbot-chat-h5 { margin: 0 0 15px 0; color: #495057; font-weight: 600; border-bottom: 2px solid #28a745; padding-bottom: 8px; }
.chatbot-empty-inner { text-align: center; color: #999; padding: 40px; }
.chatbot-empty-inner .glyphicon { font-size: 48px; opacity: 0.3; }
.chatbot-empty-inner p:first-of-type { margin-top: 15px; font-size: 14px; }
.chatbot-empty-inner p:last-of-type { font-size: 12px; color: #bbb; }
.chatbot-settings-hr { margin: 20px 0; border-color: #dee2e6; }

@media (max-width: 768px) {
	.chatbot-modal-dialog { width: 95%; margin: 20px auto; }
	.chatbot-modal-header { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
	.chatbot-modal-title { font-size: 18px; width: 100%; }
	.chatbot-modal-body { padding: 16px; max-height: calc(90vh - 160px); }
	.chatbot-modal-footer { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
	.chatbot-modal-footer .btn { flex: 1; min-width: 0; }
	.chatbot-input-settings { flex-direction: column; align-items: stretch; }
	.chatbot-input-settings-left { flex-direction: column; align-items: stretch; }
	.chatbot-input-select { max-width: 100%; }
	.chatbot-input-settings-right { justify-content: flex-start; }
	.chatbot-input-actions { flex-direction: column-reverse; }
	.chatbot-btn-clear, .chatbot-btn-send { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
	.chatbot-modal-dialog { width: 100%; margin: 0; border-radius: 0; }
	.chatbot-modal-content { border-radius: 0; max-height: 100vh; }
	.chatbot-modal-header, .chatbot-modal-footer { border-radius: 0; }
}