.fpopup-content.tool {
    padding: 25px;
}
.chaivui-form-section{
	max-width:850px;
	margin: auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	text-align: left;
}
.chaivui-form-section {
  background: #454757bd;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}
.chaivui-section-header {
    background-color: #00654c;
    padding: 5px 20px;
    border-bottom: 1px solid #07a57f;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    text-align: left;
}
.chaivui-section-header i{width:30px;}
.chaivui-form-content {
  padding: 15px;
}

.chaivui-field-group {
  margin-bottom: 10px;
}

.chaivui-field-group:last-child {
  margin-bottom: 0;
}

.chaivui-form-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #b5b5b5;
    font-size: 14px;
    text-align: left;
}

.chaivui-form-section input,
.chaivui-form-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #10101294;
    color: #fff;
    border: none;
}

.chaivui-form-section input:focus,
.chaivui-form-section textarea:focus {
  outline: none;
  box-shadow: 0 0 0 0.1rem #18c59b36;
}

.chaivui-form-section textarea {
    resize: vertical;
    min-height: 50px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #10101294;
    color: #fff;
    border: none;
}

.chaivui-form-section select {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #10101294;
    color: #fff;
    border: none;
    height: 30px;
    padding: 0px 20px;
    border-radius: 8px;
	min-width:130px;
}
.chaivui-form-section select option{
    background: #101012bf;
    color: #fff;
}

.chaivui-character-section {
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #2a2b32;
}

.chaivui-character-header {
    padding: 12px 15px;
    border-bottom: 1px solid #565869;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chaivui-character-content {
  padding: 10px;
}

.chaivui-delete-character {
  background: none;
  border: none;
  color: #d3b794;
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background-color 0.15s;
}

.chaivui-option-buttons {
    background: #2d2e37;
    padding: 10px;
    border-radius: 8px;
}

.chaivui-delete-character:hover {
  background-color: #7d373d;
  color:#fff;
}

.chaivui-add-character-btn {
    background: #077558d4;
    border: 1px solid #18c59b57;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s;
	width:100%;
}
.chaivui-add-character-btn:hover {
   opacity:0.6;
}

.chaivui-su {
    background: #b14151d4;
    border: 1px solid #d93c008a;
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 850px;
    font-weight: bold;
}
.chaivui-su:hover {
  transform: translateY(-2px);
  opacity:0.6;
}

.chaivui-placeholder-text {
  color: #6c757d;
  font-style: italic;
}

.chaivui-option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chaivui-option-btn {
    background-color: #565869;
    border: 1px solid #2c2c37;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    color: #ffffff;
    white-space: nowrap;
}
.chaivui-option-btn:hover {
    background-color: #343541;
    border-color: #18c59b;
}
.chaivui-option-btn.selected {
  background-color: #007357;
  border-color: #18c59b;
}

.prompt-gen {
    background: #18c59b1c;
    padding: 15px;
    border-radius: 8px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	color: #76ffde;
}
.prompt-gen-img {
    background: #b3ae0f1c;
    padding: 15px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #c6cd5c;
}
.chatvui-tit-t {
    margin: auto;
    max-width: 850px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
}
/* slide moi vao */
.chatvui-swiper {
  width: 100%;
  margin-top:15px;
}
.chatvui-swiper-slide {
    width: 110px;
    height: 80px;
    color: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    line-height: 1.3;
    font-size: 14px;
	background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
}
.chatvui-swiper-slide:hover{
	background: #ffffff26;
}
.chatvui-swiper-slide i{
	display:block;
	margin-bottom:10px;
	font-size:20px;
}
/* Style cho nút mũi tên */
.chatvui-swiper-button-next,
.chatvui-swiper-button-prev {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.chatvui-swiper-button-next::after,
.chatvui-swiper-button-prev::after {
  font-size: 14px;
}
/* Ẩn khi disable */
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled{
  display: none !important;
}

