/* --- AI Auto Tool: API Keys Manager Styles --- */
.api-key-status {
    background: linear-gradient(135deg, #e7f5e7 0%, #f0faf0 100%);
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.api-key-status:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateX(2px);
}

.api-key-status code {
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    color: #333;
    letter-spacing: 0.5px;
}

.ft-input-big {
    width: 100%;
    max-width: 650px;
    padding: 10px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.ft-input-big:focus {
    outline: none;
    border-color: var(--aiautotool-color);
    box-shadow: 0 0 0 3px rgba(0,135,92,0.1);
}

.ft-submit {
    margin-right: 10px;
    margin-top: 5px;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ft-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ft-submit i {
    font-size: 14px;
}

#tab-api-manager .ft-card {
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#tab-api-manager .ft-card h3 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--aiautotool-color);
    color: var(--text-primary);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#tab-api-manager .ft-card h3 i {
    color: var(--aiautotool-color);
    font-size: 20px;
}

#tab-api-manager .ft-note {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

#tab-api-manager .ft-note i {
    margin-right: 8px;
    color: #ff9800;
}

#tab-api-manager .ft-note a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
}

#tab-api-manager .ft-note a:hover {
    text-decoration: underline;
}

#tab-api-manager ul {
    list-style: none;
    padding-left: 0;
}

#tab-api-manager ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

#tab-api-manager ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--aiautotool-color);
    font-weight: bold;
    font-size: 16px;
}

.notice.is-dismissible {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.notice-success {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border-left: 4px solid #28a745;
}

.notice-error {
    background: linear-gradient(135deg, #f8d7da 0%, #fce4e4 100%);
    border-left: 4px solid #dc3545;
}

/* --- AI Auto Tool: Activate License button --- */
.aiautotool-activate-license-btn.button-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 6px;
	background: linear-gradient(180deg, #5c9cff 0%, #2f6fea 100%);
	border: 0;
	box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 6px 12px rgba(47,111,234,0.25);
	text-shadow: none;
	transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
}

.aiautotool-activate-license-btn.button-primary:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 10px 18px rgba(47,111,234,0.28);
}

.aiautotool-activate-license-btn.button-primary:active {
	transform: translateY(0);
	filter: brightness(0.98);
}

.aiautotool-activate-license-btn.button-primary:focus {
	outline: 2px solid #94b8ff;
	outline-offset: 2px;
}

.aiautotool-activate-license-btn .dashicons,
.aiautotool-activate-license-btn i {
	margin-right: 6px;
}

:root {
    --main-aiautotool-color: #00875c;
    --aiautotool-color: #00875c;
    --gradient: linear-gradient(135deg, #00875c 0%, #00b57b 100%);
    --gradient-hover: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
    --gradient-light: linear-gradient(135deg, rgba(0,135,92,0.1) 0%, rgba(0,181,123,0.1) 100%);
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #e8f5e8;
    --border-primary: #00875c;
    --border-secondary: #dee2e6;
    --shadow-light: 0 2px 8px rgba(0,135,92,0.1);
    --shadow-medium: 0 4px 16px rgba(0,135,92,0.15);
    --shadow-heavy: 0 8px 32px rgba(0,135,92,0.2);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}
        .aiautotool_right {
            display: table-cell;
            width: 300px;
            background-color: var(--bg-secondary);
            padding: 10px;
        }


.aiautotool-fixed {
    position: fixed !important;
    

}
        /* CSS cho bên trái (co giãn theo chiều rộng của bên phải) */
        .aiautotool_left {
            display: table-cell;
            background-color: var(--bg-secondary);
        }

        /* CSS cho box nổi bật */
        .aiautotool_box {
            padding: 10px;
            margin: 10px;
            background-color: var(--bg-primary);
            border: 1px solid var(--border-secondary);
            border-radius: 8px;
            box-shadow: var(--shadow-light);
            width: 100%;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }

        .aiautotool_box:hover {
            box-shadow: var(--shadow-medium);
            transform: translateY(-2px);
        }

        /* CSS cho tiêu đề của box */
        .aiautotool_box_head {
            border-bottom: 1px solid var(--border-secondary);
            padding: 15px;
            box-shadow: var(--shadow-light);
            text-transform: uppercase;
            font-weight: bold;
            color: var(--border-primary);
            background: var(--gradient-light);
            border-radius: 8px 8px 0 0;
        }

        /* CSS cho nội dung của box */
        .aiautotool_box_content {
            padding: 15px;
        }

        /* CSS cho container chứa bên trái và bên phải */
        .aiautotool_container {
            display: table;
            width: 100%;
            background: var(--bg-secondary);
        }



         /* CSS cho form bên trong box */
        .aiautotool_form {
            padding: 10px;
        }

        /* CSS cho input */
        .aiautotool_input,.aiautotool_button,.aiautotool_select {
             width: 100%;
            padding: 10px;
            margin: 5px 0;
            border: 1px solid var(--border-secondary);
            border-radius: 5px;
            box-shadow: var(--shadow-light);
            transition: box-shadow 0.3s;
            box-sizing: border-box;
        }
        .aiautotool_input:focus {
    box-shadow: var(--shadow-medium);
    outline: none;
    border: 1px solid var(--border-primary);
}
.aiautotool_input:hover {
    box-shadow: var(--shadow-medium);
    outline: none;
    border: 1px solid var(--border-primary);
}

        /* CSS cho button */
        .aiautotool_button {
            padding: 10px 20px;
            background: var(--gradient);
            color: var(--text-light);
            border: none;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .aiautotool_button:hover {
            background: var(--gradient-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-medium);
        }

         .aiautotool_container input,.aiautotool_container select {
             width: 100%;
            padding: 10px;
            margin: 5px 0;
            border: 1px solid var(--border-secondary);
            border-radius: 5px;
            box-shadow: var(--shadow-light);
            transition: box-shadow 0.3s;
            box-sizing: border-box;
        }

        .aiautotool_container input[type="checkbox"] {
            color: var(--border-primary);
            width:auto;
        }
        
.aiautotool_container input:hover {
    box-shadow: var(--shadow-medium);
    outline: none;
    border: 1px solid var(--border-primary);
}

        /* CSS cho button */
        .aiautotool_container  .aibutton {
            padding: 10px 20px;
            background: var(--gradient);
            color: var(--text-light);
            border: none;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .aiautotool_container .aibutton:hover {
            background: var(--gradient-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-medium);
        }

        /* CSS cho select box */
        

        /* CSS cho checkbox và label */
        .aiautotool_checkbox_label {
            display: block;
            margin: 5px 0;
        }
.aiautotool_button_gen {
    background-color: #f5f5f5; /* Màu nền nhạt */
     /* Màu chữ nhạt */
    padding: 5px 10px; /* Khoảng cách bên trong nút */
    border: 1px solid #ccc; /* Viền nhạt */
    border-radius: 4px; /* Góc bo tròn */
    text-decoration: none; /* Loại bỏ gạch chân */
    cursor: pointer; /* Con trỏ thành bàn */
}

.aiautotool_button_gen:hover {
    background-color: #e0e0e0; /* Màu nền nhạt khi di chuột qua */
}
      /* CSS cho toàn bộ trang */
        body {
            margin: 0;
            padding: 0;
        }


        .aiautotool_button_gen.disabled {
    pointer-events: none; /* Ngăn click khi bị disable */
    opacity: 0.6; /* Giảm độ mờ khi bị disable */
}

.loading {
    display: none; /* Ẩn nút "Loading" ban đầu */
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    display: none; /* Ẩn ban đầu */
}

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



.aiautotool_categories {
       max-height: 70px;
        overflow-y: auto;
        border-radius: 5px;
        padding: 10px;
        margin: 5px;
        background-color: #fff;
        border: 1px solid #ccc; 
    }

    .aiautotool_categories li {
    list-style-type: none; /* Ẩn dấu tròn (bullet) */
}

        .aiautotool_right .aiautotool_box{width:300px;}
        #aiautotool_bar_right .aiautotool_right,
        #aiautotool_bar_right .aiautotool_right .aiautotool_box {
            width: 100%;
            max-width: none;
            box-sizing: border-box;
        }


 .tabbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgb(0, 174, 239); /* Màu xanh */
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index:2147483646
  }
  #tabbar {
  position: absolute;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  padding: 5px;
}

#find-img-button,
#write-button {
  margin-right: 10px;
}

.borderaiautotool_bar{
  border-radius:5px !important;
  background:#fff !important;
}
.borderaiautotool_bar button{
  border:none !important;
  padding:15px !important;

}
.borderaiautotool_bar button:before{
  border-right:1px #000 solid;
  
}
.borderaiautotool_bar button:hover{
  border:none !important;
  pading:5px !important;
  color:#000 !important;

  cursor: pointer !important;
  background:#e3f2cd;
  border-radius:5px;
}




/*tab aiautotool*/
/* Add these styles to your CSS file or style tag */

.aiautotool_tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc; /* Add a horizontal line below tabs */
}

.aiautotool_tab button {
    background-color: #F0F4FB;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    margin-right: 5px;
    transition: background-color 0.3s;
    border-radius:5px 5px 0 0;
}

.aiautotool_tab button:hover {
    background-color: #ddd;
}

.tabcontent {
    display: none;
    padding: 20px;
    height: calc(100vh - 200px);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

.tabcontent.active {
    display: block;
}



.aiautotool_navpublic{
    padding:10px;
}


.video_list_find div, .img_list_find div {
  width: 50%;
  cursor: pointer ;
}
.img_list_find, .video_list_find {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0px;
  max-height: 400px;
  overflow: scroll;
}
.video_list_find div img,
.img_list_find div img {
  width: 100%;
  border-radius: 5px;
  border: 3px #fff solid;
}

.aiautotool_title {
    grid-column: 1 / span 2; /* Span two columns for the input */
}
.aiautotool_btn{
    
    align-items: center;
    border-bottom: 1px #f3f4f7 solid;
padding: 5px !important;
margin: 5px !important;
list-style: none;
box-sizing: border-box !important;
}
.aiautotool_btn .icon {
    margin-right: 5px; /* Khoảng cách giữa icon và text */
  
}
.aiautotool_btn span span {
    
   
}
.btn_writer{
  /*font-size: 10px;
  cursor: pointer;
  padding: 5px;
  background-color: rgba(0,85,255,.12);
  color: #05f!important;
  border-radius: 3px;
  font-weight: 500;*/
}
.btn_writer:hover {
  /*background-color: rgba(0,85,255,.15);
  border-color: rgba(0,85,255,.1);
  color: #05f;*/
}
.btn_bardWriter{
  /*background-color: #fd13610f !important;
  color: #fd1361!important;

  font-size: 10px;
  cursor: pointer;
  padding: 5px;
  color: #05f!important;
  border-radius: 3px;
  font-weight: 500;*/
  
}
.btn_bardWriter:hover {
  /*border-color: #fd136125 !important;
  color: #fd1361;*/
}

.chatgpt-write{
  /*background-color: #59BACC !important;
  color: #fd1361!important;

  font-size: 10px;
  cursor: pointer;
  padding: 5px;
  color: #05f!important;
  border-radius: 3px;
  font-weight: 500;
  */
}
.chatgpt-write:hover {
 /* border-color: #fd136125 !important;
  color: #fd1361;*/
}


.outbard ,
#outbard {
    max-height: 95%;
    overflow-y: auto;
}
#outbard{
    font-weight: 500;
    font-size: 12px;
}
#outbard h2{

}
#outbard p {
    line-height: 1.6;
}
#outbard li {
  list-style: none;
}



#outbard h1,#outbard h2, #outbard h3, #outbard h4, #outbard h5, #outbard h6,
#outbard li, #outbard ul, #outbard ol, #outbard table {
  font-size: 12px;
}

#agent-progress {
  max-height: 95%;
  overflow-y: auto;
}

.text-center {
  text-align: center !important;
}
.p-5 {
  padding: 3rem !important;
}
.badge-soft-primary {
  background-color: rgba(0,85,255,.12);
  color: #05f !important;
}
.badge {
  display: inline-block;
  padding: .3em .5em;
  font-size: 82%;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
}
.d-none {
  display: none !important;
}



/*box f*/

.aiautotool_right .aiautotool_box_f_container {
            display: flex;
            flex-wrap: wrap; /* Cho phép các box xuống dòng khi màn hình nhỏ hơn */
            justify-content: space-between;
            max-width: 100%;
            margin: 0 auto;
            max-height:500px;
            overflow: auto;
        }


.aiautotool_box_f_container {
            display: flex;
            flex-wrap: wrap; /* Cho phép các box xuống dòng khi màn hình nhỏ hơn */
            justify-content: space-between;
            max-width: 100%;
            margin: 0 auto;
        }
        .aiautotool-integrations-page {
            max-width: 1400px;
            margin: 0 auto;
        }
        .aiautotool-integrations-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 30px 35px;
            border-radius: 12px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
            color: white;
            position: relative;
            overflow: hidden;
        }
        .aiautotool-integrations-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 15s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        .aiautotool-integrations-header h1 {
            margin: 0 0 12px 0;
            font-size: 28px;
            font-weight: 700;
            color: white;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .aiautotool-integrations-header h1 i {
            font-size: 32px;
            background: rgba(255,255,255,0.2);
            padding: 12px;
            border-radius: 10px;
            backdrop-filter: blur(10px);
        }
        .aiautotool-integrations-header p {
            margin: 0;
            font-size: 16px;
            opacity: 0.95;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }
        .aiautotool-features-section {
            margin-bottom: 40px;
            animation: fadeInUp 0.6s ease-out;
            width:100%
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .aiautotool-section-header {
            margin-bottom: 25px;
            padding: 22px 28px;
            border-radius: 12px;
            color: white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .aiautotool-section-header:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }
        .aiautotool-section-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
        .aiautotool-section-header:hover::after {
            transform: translateX(100%);
        }
        .aiautotool-features-active .aiautotool-section-header {
            background: linear-gradient(135deg, #28a745 0%, #20c997 50%, #17a2b8 100%);
        }
        .aiautotool-features-disabled .aiautotool-section-header {
            background: linear-gradient(135deg, #6c757d 0%, #495057 50%, #343a40 100%);
        }
        .aiautotool-section-header h2 {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 1;
        }
        .aiautotool-section-header h2 i {
            font-size: 24px;
            background: rgba(255,255,255,0.25);
            padding: 8px;
            border-radius: 8px;
            backdrop-filter: blur(5px);
        }
        .aiautotool-section-header .feature-count {
            background: rgba(255,255,255,0.3);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }
        .aiautotool-section-header p {
            margin: 12px 0 0 0;
            opacity: 0.95;
            font-size: 15px;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }
        .aiautotool-features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 20px;
        }
        .aiautotool-features-disabled .aiautotool-features-grid {
            opacity: 0.88;
            filter: grayscale(10%);
        }
        @media (max-width: 1200px) {
            .aiautotool-features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .aiautotool-info-box {
            margin-top: 40px;
            padding: 28px 32px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            border-left: 5px solid #007cba;
            box-shadow: 0 4px 15px rgba(0,124,186,0.1);
            transition: all 0.3s ease;
        }
        .aiautotool-info-box:hover {
            box-shadow: 0 6px 20px rgba(0,124,186,0.15);
            transform: translateX(3px);
        }
        .aiautotool-info-box h3 {
            margin: 0 0 16px 0;
            font-size: 20px;
            font-weight: 700;
            color: #007cba;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .aiautotool-info-box h3 i {
            font-size: 22px;
            background: #007cba;
            color: white;
            padding: 8px;
            border-radius: 8px;
        }
        .aiautotool-info-box ul {
            margin: 0;
            padding-left: 0;
            list-style: none;
        }
        .aiautotool-info-box ul li {
            padding: 12px 0 12px 35px;
            position: relative;
            font-size: 15px;
            line-height: 1.6;
            color: #495057;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: all 0.2s ease;
        }
        .aiautotool-info-box ul li:last-child {
            border-bottom: none;
        }
        .aiautotool-info-box ul li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 12px;
            color: #28a745;
            font-size: 16px;
            background: rgba(40,167,69,0.1);
            padding: 4px 8px;
            border-radius: 50%;
        }
        .aiautotool-info-box ul li:hover {
            padding-left: 40px;
            color: #007cba;
        }
        @media (max-width: 768px) {
            .aiautotool-features-grid {
                grid-template-columns: 1fr;
            }
            .aiautotool-integrations-header {
                padding: 20px 25px;
            }
            .aiautotool-integrations-header h1 {
                font-size: 24px;
            }
        }
        .aiautotool_box_f_box {
            position: relative;
            
            border: none;
            border-radius: 16px;
            margin-top: 20px;
            background: var(--gradient);
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 135, 92, 0.15);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .aiautotool_box_f_box:nth-child(even) {
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
        }

        .aiautotool_box_f_box:nth-child(3n) {
            background: linear-gradient(135deg, #00b57b 0%, #abff89 100%);
        }

        .aiautotool_box_f_box:nth-child(4n) {
            background: linear-gradient(135deg, #abff89 0%, var(--aiautotool-color) 100%);
        }

        .aiautotool_box_f_box img {
            max-width: 100%;
            margin: 0 auto;
            display: block;
            filter: brightness(0) invert(1);
            transition: all 0.3s ease;
        }

        .aiautotool_box_f_box-head {
            background: rgba(255, 255, 255, 0.1);
            text-align: center;
            padding: 15px;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .aiautotool_box_f_box-content {
            padding: 20px;
            flex-grow: 1;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }

        .aiautotool_box_f_box-content h3 {
            color: var(--aiautotool-color);
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            text-align: center;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .aiautotool_box_f_box-content h3 i {
            font-size: 20px;
            opacity: 0.9;
            color: var(--aiautotool-color);
        }

        .aiautotool_box_f_box-content h3::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .aiautotool_box_f_box-content p {
            color: #666;
            line-height: 1.6;
            font-size: 14px;
            text-align: center;
            margin-bottom: 15px;
        }

        .aiautotool_box_f_box-link {
            text-align: center;
            margin: 15px;
        }

        .aiautotool_box_f_box-link a {
            display: inline-block;
            padding: 10px 20px;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 135, 92, 0.3);
        }

        .aiautotool_box_f_box-link a:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 135, 92, 0.4);
        }

        .aiautotool_box_f_box-footer {
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            border-bottom-left-radius: 16px;
            border-bottom-right-radius: 16px;
            padding: 15px;
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .aiautotool_box_f_toggle-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
        }

        .aiautotool_box_f_toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #e0e0e0;
            border-radius: 34px;
            transition: 0.4s;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
            border: 2px solid #d0d0d0;
        }

        .aiautotool_box_f_toggle-slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            border: 1px solid #ccc;
        }

        .aiautotool_box_f_box input:checked + .aiautotool_box_f_toggle-slider {
            background: linear-gradient(135deg, #4CAF50, #45a049);
            border-color: #4CAF50;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(76, 175, 80, 0.3);
        }

        .aiautotool_box_f_box input:checked + .aiautotool_box_f_toggle-slider:before {
            transform: translateX(26px);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
            border-color: #4CAF50;
        }

        /* Hover effects for better interactivity */
        .aiautotool_box_f_toggle-switch:hover .aiautotool_box_f_toggle-slider {
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 6px rgba(0, 0, 0, 0.1);
        }

        .aiautotool_box_f_box input:checked + .aiautotool_box_f_toggle-slider:hover {
            background: linear-gradient(135deg, #45a049, #3d8b40);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 12px rgba(76, 175, 80, 0.4);
        }

        /* Focus states for accessibility */
        .aiautotool_box_f_box input:focus + .aiautotool_box_f_toggle-slider {
            outline: 2px solid #4CAF50;
            outline-offset: 2px;
        }

        .aiautotool_box_f_box:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 135, 92, 0.2);
        }

        .aiautotool_box_f_box:hover .aiautotool_box_f_box-head img {
            transform: scale(1.1) rotate(5deg);
        }

        /* Premium badge styling */
        .aiautotool_box_f_box.premium::before {
            content: '⭐ PREMIUM';
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--gradient);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 10px;
            font-weight: bold;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 135, 92, 0.3);
        }

        /* New badge styling */
        .aiautotool_box_f_box.new::after {
            content: 'NEW';
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--gradient);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 10px;
            font-weight: bold;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 135, 92, 0.3);
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .aiautotool_box_f_box {
                width: 100%;
                margin-top: 15px;
            }
            
            .aiautotool_box_f_box-content h3 {
                font-size: 16px;
            }
            
            .aiautotool_box_f_box-content p {
                font-size: 13px;
            }
        }

        /* Loading animation for boxes */
        .aiautotool_box_f_box.loading {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
            100% {
                opacity: 1;
            }
        }

        /* View More Button */
        .aiautotool_box_f_view-more {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 10px;
            padding: 8px 16px;
            background: var(--gradient);
            color: white;
            border: none;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 135, 92, 0.2);
        }

        .aiautotool_box_f_view-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 135, 92, 0.3);
        }

        .aiautotool_box_f_view-more svg {
            width: 14px;
            height: 14px;
        }

        .aiautotool_box_f_content-wrapper {
            text-align: center;
        }

        /* Modal Styles */
        .aiautotool_box_f_modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999999;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .aiautotool_box_f_modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            animation: fadeIn 0.3s ease;
        }

        .aiautotool_box_f_modal-content {
            position: relative;
            background: white;
            border-radius: 16px;
            max-width: 800px;
            width: 90%;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
            z-index: 1;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .aiautotool_box_f_modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 1px solid #e5e7eb;
            background: var(--gradient);
            color: white;
        }

        .aiautotool_box_f_modal-title {
            display: flex;
            align-items: center;
            flex: 1;
        }

        .aiautotool_box_f_modal-title h2 {
            margin: 0;
            font-size: 22px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .aiautotool_box_f_modal-title h2 i {
            font-size: 24px;
            opacity: 0.95;
        }

        .aiautotool_box_f_modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
        }

        .aiautotool_box_f_modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .aiautotool_box_f_modal-body {
            padding: 24px;
            max-height: calc(80vh - 140px);
            overflow-y: auto;
        }

        .aiautotool_box_f_modal-description {
            color: #374151;
            line-height: 1.7;
            font-size: 15px;
        }

        .aiautotool_box_f_modal-description h1,
        .aiautotool_box_f_modal-description h2,
        .aiautotool_box_f_modal-description h3,
        .aiautotool_box_f_modal-description h4 {
            color: #111827;
            margin-top: 20px;
            margin-bottom: 12px;
        }

        .aiautotool_box_f_modal-description h1 {
            font-size: 24px;
        }

        .aiautotool_box_f_modal-description h2 {
            font-size: 20px;
        }

        .aiautotool_box_f_modal-description h3 {
            font-size: 18px;
        }

        .aiautotool_box_f_modal-description ul,
        .aiautotool_box_f_modal-description ol {
            margin: 12px 0;
            padding-left: 24px;
        }

        .aiautotool_box_f_modal-description li {
            margin: 8px 0;
        }

        .aiautotool_box_f_modal-description code {
            background: #f3f4f6;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            color: #dc2626;
        }

        .aiautotool_box_f_modal-description pre {
            background: #1f2937;
            color: #f9fafb;
            padding: 16px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 16px 0;
        }

        .aiautotool_box_f_modal-description pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }

        .aiautotool_box_f_modal-description a {
            color: #00875c;
            text-decoration: none;
            font-weight: 500;
        }

        .aiautotool_box_f_modal-description a:hover {
            text-decoration: underline;
        }

        .aiautotool_box_f_modal-description img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 16px 0;
        }

        .aiautotool_box_f_modal-description blockquote {
            border-left: 4px solid #00875c;
            padding-left: 16px;
            margin: 16px 0;
            color: #6b7280;
            font-style: italic;
        }

        .aiautotool_box_f_modal-footer {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid #e5e7eb;
            text-align: center;
        }

        .aiautotool_box_f_modal-doc-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 135, 92, 0.3);
        }

        .aiautotool_box_f_modal-doc-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 135, 92, 0.4);
        }

        .aiautotool_box_f_modal-doc-link svg {
            width: 16px;
            height: 16px;
        }

        /* Responsive Modal */
        @media (max-width: 768px) {
            .aiautotool_box_f_modal-content {
                width: 95%;
                max-height: 90vh;
            }

            .aiautotool_box_f_modal-header {
                padding: 16px;
            }

            .aiautotool_box_f_modal-title h2 {
                font-size: 18px;
            }

            .aiautotool_box_f_modal-body {
                padding: 16px;
                max-height: calc(90vh - 120px);
            }

            .aiautotool_box_f_modal-description {
                font-size: 14px;
            }
        }

        /* Scrollbar styling for modal */
        .aiautotool_box_f_modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .aiautotool_box_f_modal-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .aiautotool_box_f_modal-body::-webkit-scrollbar-thumb {
            background: #00875c;
            border-radius: 4px;
        }

        .aiautotool_box_f_modal-body::-webkit-scrollbar-thumb:hover {
            background: #00664a;
        }

        /* Glow effect on hover */
        .aiautotool_box_f_box:hover::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: var(--gradient);
            background-size: 400%;
            border-radius: 18px;
            z-index: -1;
            animation: glowing 20s linear infinite;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .aiautotool_box_f_box:hover::before {
            opacity: 1;
        }

        @keyframes glowing {
            0% { background-position: 0 0; }
            50% { background-position: 400% 0; }
            100% { background-position: 0 0; }
        }




.publish-date-time-row {
    display: flex;
    align-items: center;
    width:100%;
    justify-content: space-between;
}

.aiautotool_box_time_select {
    width: 8em !important;
    text-align: center;
    padding: 6px 1px !important;
    font-size: 12px !important;
    line-height: 1.16666666 !important;
    vertical-align: middle !important;
}

.aiautotool_box_time_input {
    
    width: 4em !important;
    text-align: center;
    padding: 6px 1px !important;
    font-size: 12px !important;
    line-height: 1.16666666 !important;
    vertical-align: middle !important;
}

.aiautotool_box_time_label {
    
}



        .publish-date-time-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .aiautotool_box_time_label {
            
            text-align: center;
            margin: 0 5px;
        }
        
        .aiautotool_box_time_input, .aiautotool_box_time_select {
            flex: 1;
        }


        #custom-thumbnail-preview img{
    width: 150px;
    height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}



/*canonical */
.aiautotool_form_canonical_body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
}

.aiautotool_form_canonical_tab {
    display: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in;
}

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

.aiautotool_form_canonical_h2 {
    font-size: 20px;
    margin: 0 0 15px;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiautotool_form_canonical_header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 20px;
    margin: -25px -25px 20px -25px;
    border-radius: 12px 12px 0 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiautotool_form_canonical_header_step2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.aiautotool_form_canonical_header_step3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.aiautotool_form_canonical_input {
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.aiautotool_form_canonical_input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Modern Table Styles */
.aiautotool_form_canonical_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.aiautotool_form_canonical_th,
.aiautotool_form_canonical_td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e8eaed;
    font-size: 14px;
}

.aiautotool_form_canonical_th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.aiautotool_form_canonical_table tbody tr {
    transition: all 0.2s ease;
}

.aiautotool_form_canonical_table tbody tr:hover {
    background: linear-gradient(90deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    transform: translateX(2px);
}

.aiautotool_form_canonical_table tbody tr:last-child td {
    border-bottom: none;
}

.aiautotool_form_canonical_td {
    color: #2c3e50;
    vertical-align: middle;
}

.aiautotool_form_canonical_td:hover {
    cursor: pointer;
}

/* Checkbox styling */
.aiautotool_form_canonical_table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
    border-radius: 4px;
}

/* Post title links */
.aiautotool_form_canonical_table a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aiautotool_form_canonical_table a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Loading icon in table */
#loading-icon {
    text-align: center;
    padding: 40px;
    color: #667eea;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Button styles */
.aiautotool_form_canonical_button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    margin: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.aiautotool_form_canonical_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.aiautotool_form_canonical_button:active {
    transform: translateY(0);
}

.aiautotool_form_canonical_button_center {
    text-align: center;
    margin-top: 20px;
    padding: 15px 0;
}

/* Checkbox label */
.aiautotool_form_canonical_checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aiautotool_form_canonical_checkbox-label:hover {
    background: #e9ecef;
}

.aiautotool_form_canonical_checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.aiautotool_form_canonical_label {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
}

/* Loading animation */
.aiautotool_form_canonical_loading {
    display: none;
    color: #667eea;
    font-size: 32px;
    margin-top: 20px;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Select dropdown */
.aiautotool_form_canonical_select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.aiautotool_form_canonical_select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Empty state */
.aiautotool_form_canonical_table tbody:empty::after {
    content: "No posts found. Try a different search term.";
    display: block;
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .aiautotool_form_canonical_table {
        font-size: 12px;
    }
    
    .aiautotool_form_canonical_th,
    .aiautotool_form_canonical_td {
        padding: 10px 8px;
    }
    
    .aiautotool_form_canonical_tab {
        padding: 15px;
    }
}




/* CSS cho container */
.aiautotool_canonical_container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .aiautotool_canonical_container {
        grid-template-columns: 1fr;
    }
}

/* CSS cho box bên trái */
.aiautotool_canonical_box_left {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.aiautotool_canonical_box_left h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
}

/* CSS cho box bên phải (ẩn ban đầu) */
.aiautotool_canonical_box_right {
    display: none;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.aiautotool_canonical_box_right h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
}

/* CSS cho table header */
.aiautotool_table_header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-weight: 600;
}

/* CSS cho button */
.aiautotool_button {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(67, 233, 123, 0.3);
}

.aiautotool_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}


/* 301 Redirect Form CSS */
.aiautotool_301_redirect_form {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
        }

        .aiautotool_301_redirect_form h2 {
            font-size: 24px;
            background-color: #007bff;
            color: #fff;
            padding: 10px;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            margin: 0;
        }

        .aiautotool_301_redirect_form .form-row {
            display: flex;
            margin-top: 10px;
        }

        .aiautotool_301_redirect_form .form-row label,
        .aiautotool_301_redirect_form .form-row input[type="text"],
        .aiautotool_301_redirect_form .form-row button {
            flex: 1;
            padding: 5px;
            margin:5px;
        }

        .aiautotool_301_redirect_form .form-row label {
            text-align: right;
            padding-right: 10px;
        }

        .aiautotool_301_redirect_form .form-row button {
            background-color: #007bff;
            color: #fff;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }


        .aiautotool_container {
            /*height: 100vh;*/
            overflow: hidden;
            position: relative;
        }

        .aiautotool_content {
            width: 300px;
            height: 100%;
            background-color: #ffffff;
            position: absolute;
            top: 0;
            right: -300px;
            transition: right 0.5s ease-in-out;
            z-index: 9999999;
        }

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

        .aiautotool_yourcar{
            position: fixed;
            right: 20px;
            top: 20px;
            text-decoration: none;
            color: #333;
            padding: 10px;
            background-color: #eee;
            border-radius: 5px;
            cursor: pointer;
            z-index: 2;
        }
        .listcarModel {
          width: 100%;
          display: inline-flex;
          flex-wrap: wrap;
          margin-bottom: 24px;
          max-height: 52vh;
          overflow-y: auto;
        }
        .listcarModel ul li a {
          color: #221f1f;
          font-size: 1.125rem;
          text-decoration: none;
          font-weight: normal;
        }

        .listcarModel  ul li {
          list-style: none;
        }
        .year-tag {
          background: #e6e7e8;
          padding: 12px 2px;
          width: 54px;
          text-align: center;
          font-size: .75rem !important;
          line-height: 14px;
          border: 0;
          font-family: BMWTypeNext-Bold !important;
          font-weight: normal !important;
          border-radius: 3px;
          cursor: pointer;
          margin-right: 8px;
          margin-bottom: 8px;
        }


         #aiautotool_bar_right {
            position: fixed;
            top: 0;
            right: -600px;
            width: 600px;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            color: var(--text-primary);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-sizing: border-box;
            z-index: 1000000000000;
            border-left: 1px solid rgba(0, 135, 92, 0.1);
            box-shadow: -8px 0 32px rgba(0, 135, 92, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--aiautotool-color) transparent;
        }

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

        #aiautotool_bar_right::-webkit-scrollbar-track {
            background: transparent;
        }

        #aiautotool_bar_right::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        #aiautotool_bar_right::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
        }

        #aiautotool_bar_right .handle-actions, 
        #aiautotool_bar_right .postbox-header {
            display: none;
        }

        #aiautotool_bar_right .tabcontent {
            display: none;
            padding: 5px !important;
            background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
            border-radius: 12px;
            margin: 0px;
            box-shadow: 0 4px 16px rgba(0, 135, 92, 0.06);
            border: 1px solid rgba(0, 135, 92, 0.08);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            height: calc(100vh - 200px);
            max-height: calc(100vh - 200px);
            overflow-y: auto;
            overflow-x: hidden;
        }

        #aiautotool_bar_right .tabcontent.active {
            animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #toggleButton {
            position: fixed;
            top: 50%;
            transform: translateY(-50%) rotate(-90deg);
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
            color: #fff;
            padding: 12px 24px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            right: -48px;
            white-space: nowrap;
            z-index: 1000000000000;
            border: none;
            border-radius: 8px 8px 0 0;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 16px rgba(0, 135, 92, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        #toggleButton:hover {
            background: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
            transform: translateY(-50%) rotate(-90deg) scale(1.05);
            box-shadow: 0 6px 24px rgba(0, 135, 92, 0.3);
        }

        #toggleButton:active {
            transform: translateY(-50%) rotate(-90deg) scale(0.95);
        }

        .aiautotool_btn_menu {
            position: fixed;
            top: 50%;
            transform: translateY(-50%) rotate(-90deg);
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
            color: #fff;
            padding: 12px 24px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            right: -48px;
            white-space: nowrap;
            z-index: 1000000000000;
            border: none;
            border-radius: 8px 8px 0 0;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 16px rgba(0, 135, 92, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .aiautotool_btn_menu:hover {
            background: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
            transform: translateY(-50%) rotate(-90deg) scale(1.05);
            box-shadow: 0 6px 24px rgba(0, 135, 92, 0.3);
        }

        .aiautotool_btn_menu:active {
            transform: translateY(-50%) rotate(-90deg) scale(0.95);
        }

        #toggleButton.open {
            right: 552px;
            background: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
            box-shadow: 0 6px 24px rgba(0, 135, 92, 0.3);
        }

        /* Enhanced content styling for the sidebar */
        #aiautotool_bar_right h1,
        #aiautotool_bar_right h2,
        #aiautotool_bar_right h3,
        #aiautotool_bar_right h4,
        #aiautotool_bar_right h5,
        #aiautotool_bar_right h6 {
            color: var(--text-primary);
            margin-bottom: 15px;
            font-weight: 600;
            position: relative;
        }

        #aiautotool_bar_right h2::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 30px;
            height: 3px;
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
            border-radius: 2px;
        }

        #aiautotool_bar_right p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 12px;
        }

        #aiautotool_bar_right input,
        #aiautotool_bar_right select,
        #aiautotool_bar_right textarea {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 135, 92, 0.2);
            border-radius: 8px;
            padding: 10px 12px;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        #aiautotool_bar_right input:focus,
        #aiautotool_bar_right select:focus,
        #aiautotool_bar_right textarea:focus {
            outline: none;
            border-color: var(--aiautotool-color);
            box-shadow: 0 0 0 3px rgba(0, 135, 92, 0.1);
            background: rgba(255, 255, 255, 0.95);
        }

        #aiautotool_bar_right button {
            background: linear-gradient(135deg, var(--aiautotool-color) 0%, #00b57b 100%);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.3px;
            box-shadow: 0 2px 8px rgba(0, 135, 92, 0.2);
        }

        #aiautotool_bar_right button:hover {
            background: linear-gradient(135deg, #007a52 0%, #00a06b 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(0, 135, 92, 0.3);
        }

        #aiautotool_bar_right button:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(0, 135, 92, 0.2);
        }

        /* Responsive design */
        @media (max-width: 768px) {
            #aiautotool_bar_right {
                width: 280px;
                right: -280px;
            }
            
            #toggleButton.open {
                right: 232px;
            }
            
            #aiautotool_bar_right .tabcontent {
                padding: 15px !important;
                margin: 10px;
                height: calc(100vh - 200px);
                max-height: calc(100vh - 200px);
                overflow-y: auto;
                overflow-x: hidden;
            }
        }

        @media (max-width: 480px) {
            #aiautotool_bar_right {
                width: 260px;
                right: -260px;
            }
            
            #toggleButton.open {
                right: 212px;
            }
            
            #toggleButton,
            .aiautotool_btn_menu {
                padding: 10px 20px;
                font-size: 13px;
                right: -42px;
            }
        }

        /* Animation for sidebar opening */
        #aiautotool_bar_right.open {
            right: 0;
            animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes slideInRight {
            from {
                right: -600px;
                opacity: 0;
            }
            to {
                right: 0;
                opacity: 1;
            }
        }

        /* Enhanced focus states for accessibility */
        #aiautotool_bar_right button:focus,
        #aiautotool_bar_right input:focus,
        #aiautotool_bar_right select:focus,
        #aiautotool_bar_right textarea:focus {
            outline: 2px solid var(--aiautotool-color);
            outline-offset: 2px;
        }

        /* Smooth transitions for all interactive elements */
        #aiautotool_bar_right * {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }




    /* Google Fonts removed - using system fonts instead to comply with WordPress.org guidelines */
    /* Font families available: Oswald, Nunito, Josefin Sans, Montserrat, Roboto Condensed, Open Sans, Raleway, Playfair Display, Inter, Lora, Quicksand, Kanit, Comfortaa, Prompt, IBM Plex Serif, Spectral, Philosopher, Taviraj, Readex Pro, Anybody */
    /* To use custom fonts, download and include them locally in the plugin */
:root{
    --aiautotool-color:#00875c;
    --gradient:linear-gradient(19deg, rgba(0,135,92,1) 0%, rgb(98 172 37) 100%);
}
.aiautotool_left{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
.aiautotool_container{
   /* max-width:1000px;*/
}
.aiautotool_container .ft-updated {
    margin-bottom: 20px;
    background: #aaff9f4a;
    padding: 10px;
    border-radius: 7px;
    border: 1px solid #6fb54480;
    color: var(--aiautotool-color);
}
.aiautotool_container .ft-menu button{
    background:none;
    border:none;
    width:100%;
}
.aiautotool_container .nav-tab-active {
  margin-bottom: -1px;
  color: #3c434a !important;
  background: #f0f0f1 !important;
}
.aiautotool_container .ft-box{
    margin-top:20px;
    display:grid;
    grid-template-columns: 120px auto;
}
@media (max-width: 700px){
    .aiautotool_container .ft-box{grid-template-columns: 70px auto;}
}
.aiautotool_container .ft-menu{
    background:var(--aiautotool-color);
    text-align: center;
    padding:5px;
    border-radius: 10px 0px 0px 7px;
}
.aiautotool_container .ft-logo {
    padding: 10px;
    background: #00b57b;
    margin: -5px -5px 5px -5px;
    border-radius: 7px 0px 0px 0px;
    color: #fff;
}
.aiautotool_container .ft-logo img{
    max-width:40px;
    width:100%;
}
.aiautotool_container .ft-menu button{
    color:#abff89;
    font-size:10px;
    padding:10px 0px;
    border-radius:7px;
    margin-left:0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-tab:hover{
    background:none;
}
.aiautotool_container .ft-menu button:hover{
    color:#fff;
}
.aiautotool_container .ft-menu button i{
    font-size:30px;
    display:block;
    margin-bottom:7px;
}
.aiautotool_container .ft-menu .sotab.nav-tab-active{
    background:#fff;
    color:var(--aiautotool-color);
}
.aiautotool_container .ft-main{
    background:#fff;
    border-radius: 0px 7px 7px 0px;
    padding: 20px 20px 80px 20px;
    font-size:16px;
    position: relative;
}
.aiautotool_container .ft-main h2 {
    margin-top: 0px;
    color: var(--aiautotool-color);
    font-weight: bold;
    font-size:25px;
}

.aiautotool_container .ft-main h3 {
    border:none;
    padding: 10px 15px;
    background: linear-gradient(85deg, #dddddd91 0%, rgba(255,255,255,0) 100%);
    position: relative;
    margin-bottom:30px;
    margin-top:20px;
    border-radius: 7px 7px 7px 0px;
    font-size:16px;
}
.aiautotool_container .ft-main h3:after {
    position: absolute;
    content: '';
    top: 100%;
    left:0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px var(--aiautotool-color);
}
.aiautotool_container .ft-img{
    width:100%;
}
.aiautotool_container .ft-main h3  i{
    margin-right:7px;
    color:var(--aiautotool-color);
}
.aiautotool_container .ft-box form{border:none !important;}
.aiautotool_container .ft-main h4 {
    font-weight: bold;
    color: #777;
    padding: 10px 15px;
    border-radius: 7px;
    background: linear-gradient(85deg, #dddddd91 0%, rgba(255,255,255,0) 100%);
}
.aiautotool_container .ft-main .aiautotool_container .ft-input-big {
    padding: 3px 7px;
    width: 100%;
    border: 2px solid var(--aiautotool-color);
    border-radius: 7px;
    margin-right: 7px;
}
.aiautotool_container .ft-main .aiautotool_container .ft-textarea{
    padding: 3px 7px;
    width: 100%;
    height:80px;
    border: 2px solid var(--aiautotool-color);
    border-radius: 7px;
    margin-right: 7px;
}
.aiautotool_container .ft-main .aiautotool_container .ft-input-small {
    padding: 3px 7px;
    width: 70px;
    border: 2px solid var(--aiautotool-color);
    border-radius: 7px;
    margin-right: 7px;
}
.aiautotool_container .ft-main .aiautotool_container .ft-input-color {
    background: none;
    border: 1px solid #ccc;
    width: 120px;
    height: 40px;
    border-radius:7px;
    cursor: pointer;
}
.aiautotool_container .ft-main .aiautotool_container .ft-input-color::-webkit-color-swatch {
    border: none;
}
.aiautotool_container .ft-card .clr-field button {
    width:30px;
    height:30px;
    border-radius:7px;
    margin-right:7px;
}
.aiautotool_container .ft-right-text{
    font-size: 16px;
    margin-left:7px;
}
.aiautotool_container .ft-submit  {
    background: var(--gradient) !important;
    padding: 10px;
    border-radius: 7px;
    color: #fff;
    border-bottom: 5px solid #157b2a;
   cursor:pointer;
    width: 100%;
    bottom: 20px;
    box-sizing:border-box;
}
.aiautotool_container .ft-main select {
    width: 150px;
    border: 2px solid var(--aiautotool-color);
    border-radius: 7px;
}
.aiautotool_container .ft-submit button:hover{
    opacity:0.7;
}
.aiautotool_container .ft-submit button i{
    margin-right:7px;
}
.aiautotool_container .ft-main a{
    text-decoration: none;
    color:var(--aiautotool-color);
    cursor: pointer;
}
.aiautotool_container .ft-main .aiautotool_container .ft-selec{
    width: 90px;
    background: var(--aiautotool-color);
    color: #fff;
    border-radius: 7px;
    border-bottom: 4px solid #157b2a;
}
.aiautotool_container .ft-main #ft-save-fast{
    background: var(--gradient);
    border-bottom: 4px solid #157b2a;
    position: fixed;
    z-index: 999999999;
    right: 10px;
    bottom:10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-size: 27px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}
.aiautotool_container .ft-del a {
    background: #6d6d6d;
    padding: 7px 10px;
    margin-bottom: 5px;
    display: inline-block;
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    border-bottom: 4px solid #222;
}
.aiautotool_container .ft-del a:hover, .aiautotool_container .ft-main #ft-save-fast:hover, .aiautotool_container .ft-main #ft-selec:hover{
    opacity:0.7;
}
.aiautotool_container .ft-del a i{
    margin-right:7px;
}
#del-result span, #del-media span {
    background: #9cfdb68c;
    padding: 10px;
    display: block;
    border-radius: 7px;
    color: var(--aiautotool-color);
    margin-bottom: 10px;
    margin-top: 10px;
}
.aiautotool_container .ft-card-note {
    background: #dddddd21;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 7px;
}
.aiautotool_container .ft-card-note p {
    font-size: 16px;
    margin: 0px;
}
.aiautotool_container .ft-card-note p:not(:last-child){
    border-bottom:1px solid #ccc;
    padding-bottom:10px;
}
.aiautotool_container .ft-card-note p:not(:first-child){
    padding-top:10px;
}
.aiautotool_container .ft-fb-group img{
    border-radius:7px;
    max-width:200px;
    width:100%;
}
.aiautotool_container .ft-card-note .ft-donate-a{
    background: #595959;
    border-bottom: 4px solid #3a3a3a;
    font-weight: bold;
    padding: 10px;
    border-radius: 7px;
    color: #fff;
    display: block;
    text-align: center;
}
.aiautotool_container .ft-card-note span{
    margin-top:10px;
}
/* css nút check cho đẹp măt */
.aiautotool_container .nut-switch input[type="checkbox"],
.aiautotool_container .nut-switch input[type="radio"],
.aiautotool_container .nut-switch .slider {
  vertical-align: middle;
  margin-right: 5px;
}
.aiautotool_container .nut-switch input[type="checkbox"],.nut-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.aiautotool_container  .slider {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  background-color: #ddd;
  border-radius: 25px;
  transition: background-color 0.3s;
}
.aiautotool_container  .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
.aiautotool_container  input:checked + .slider {
  background-color:var(--aiautotool-color);
}
.aiautotool_container  input:checked + .slider:before {
  transform: translateX(24px);
}
.aiautotool_container .ft-label-right {
    font-size: 16px;
    margin-bottom: 20px;
}
/* foxtool on */
.aiautotool_container .ft-on {
    padding: 10px;
    background: #309e4736;
    border-radius: 7px;
    margin-bottom:20px;
}
.aiautotool_container .ft-on-right{
    font-size:20px;
    font-weight:bold;
    color:var(--aiautotool-color);
}
.aiautotool_container .nut-fton input[type="checkbox"],
.aiautotool_container .nut-fton input[type="radio"],
.aiautotool_container .nut-fton .aiautotool_container .ftder {
  vertical-align: middle;
  margin-right: 5px;
}
.aiautotool_container .nut-fton input[type="checkbox"],
.aiautotool_container .nut-fton input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.aiautotool_container .ftder {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 26px;
  background-color: #f3aaaa;
  border-radius: 7px;
  transition: background-color 0.3s;
}
.aiautotool_container .ftder:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 40px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: transform 0.3s;
}
.aiautotool_container input:checked + .ftder {
  background-color:var(--aiautotool-color);
}
.aiautotool_container input:checked + .ftder:before {
  transform: translateX(24px);
}
/* ket thuc */
.aiautotool_container .ft-label-right {
    font-size: 16px;
    margin-bottom: 20px;
}
/* note */
.aiautotool_container .ft-note {
    background: #95fffb52;
    padding: 23px 10px 10px 10px;
    border-radius: 7px;
    font-size: 14px;
    position: relative;
    margin-top: 20px;
}
.aiautotool_container .ft-note i {
    color: var(--aiautotool-color);
    margin-right: 7px;
    background: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 100%;
    position: absolute;
    top: -10px;
    border: 4px solid #95fffb52;
}
.aiautotool_container .ft-note.aiautotool_container .ft-note-red {
    background: #fe8f7752;
}
.aiautotool_container .ft-note.aiautotool_container .ft-note-red i{
    border: 4px solid #fe8f7752;
    color: #ff4444;
}

/* cau hinh mail smtp */
.aiautotool_container .ft-card-mail .aiautotool_container .ft-smtp-a{
    background: #00875c;
    border-bottom: 4px solid #005d40;
    padding: 10px;
    border-radius: 7px;
    color: #fff;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
.aiautotool_container .ft-card-mail #ft-smtp {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 7px;
    margin-top: 10px;
}
.aiautotool_container .ft-card-mail #ft-smtp p:last-child{
    margin-bottom:0px;
}
.aiautotool_container .ft-card-mail #ft-smtp h3{
    margin-top:0px;
}
.aiautotool_container #ft-send-email {
    display: block;
    padding: 10px;
    background: #ff7405;
    color: #fff;
    text-align: center;
    border-radius: 7px;
}
.aiautotool_container #ft-sen-end span, .edoi {
    background: #e6e6e6;
    border: 1px solid #ddd;
    display: block;
    margin-top: 10px;
    padding: 10px;
    border-radius: 7px;
}
.aiautotool_container .edoi{
    display:flex;
    align-items: center;
}
.aiautotool_container .edoi img{
    width:30px;
    margin-right:10px;
}
/* woo loading */
.aiautotool_container .ft-woo-load{
    display:flex;
}
.aiautotool_container .ft-woo-load img{
    max-width:30px;
    padding:5px;
    width:100%;
}
/* code */

.aiautotool_container .CodeMirror {
    height: 500px;
    border: 2px solid var(--aiautotool-color);
    border-radius: 7px;
}
/* block neu chua check */
.aiautotool_container .toggle-div.noon {
    pointer-events: none;
    filter: grayscale(1);
}
/* css chat */
.aiautotool_container .ft-button-grid{
    display:flex;
}
.aiautotool_container .ft-button-grid:not(:last-child){
    margin-bottom:20px;
}
.aiautotool_container .ft-button-grid select{
    width:90px;
}
.aiautotool_container .ft-button-grid-in{
    margin-left:10px;
    width:100%;
}
.aiautotool_container .ft-button-grid-in input:first-child{
    margin-bottom:10px;
}
/* thanh keo qua lai */
.aiautotool_container .ft-keo {
  width: 100%;
}
.aiautotool_container .ftslide {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border-radius:7px;
}
.aiautotool_container .ftslide:hover {
  opacity: 1;
}
.aiautotool_container .ftslide::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #309e47;
    cursor: pointer;
    border-radius: 7px;
    border: 2px solid #fff;
}
.aiautotool_container .ftslide::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}
/* show csdl */
.aiautotool_container .ft-scdl-scrool {
    height: 300px;
    overflow: auto;
}
.aiautotool_container .ft-card-note * {
    scrollbar-color: #eee #ffffff00;
    scrollbar-width: thin !important;
}
.aiautotool_container .ft-card-note ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: none;
}
.aiautotool_container .ft-card-note ::-webkit-scrollbar-thumb {
    background-color: #eee;
    border-radius: 2px;
}
.aiautotool_container .ft-card-note ::-webkit-scrollbar-track {
    background-color: none;
}
.aiautotool_container .ft-showcsdl-tit {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    background: #c9c9c9;
    padding: 10px;
    color: #fff;
    border-radius: 7px;
}
.aiautotool_container .ft-showcsdl {
    display: grid;
    grid-template-columns: auto 60px;
    grid-gap: 10px;
}
.aiautotool_container .ft-showcsdl div{
    word-wrap: break-word;
    overflow: hidden;
}
.aiautotool_container .ft-csdl-tatol {
    margin-top: 10px;
    font-size: 14px;
    color: #7e7e7e;
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}
.aiautotool_container .ft-footer-img-display{
    width:100%;
    height:auto;
}



.aiautotool-popup {
     /* Màu nền trong suốt */
     background: #fff;
    padding: 20px;
    position: fixed;
    z-index: 99999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Đổ bóng */
    max-height: 80vh;
    width:80%;
    overflow-y: auto;
}

.aiautotool-popup table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.aiautotool-popup th, .aiautotool-popup td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.aiautotool-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #555;
}

.aiautotool-popup-close:hover {
    color: #000;
}

.aiautotool-popup td a {
    color: #0073e6; /* Màu của liên kết */
    text-decoration: underline; /* Gạch chân dưới cho liên kết */
    cursor: pointer;
}

.aiautotool-popup td a:hover {
    color: #0056b3; /* Màu khi di chuột qua liên kết */
}




.aiautotool-notification .aiautotool-seo-icon {
  float: left;
  margin: 20px 10px;
}

.aiautotool-button-upsell:active, .aiautotool-button-upsell:focus, .aiautotool-button-upsell:hover {
  background-color: #f2ae01;
  color: #000;
}
.aiautotool-button-upsell {
  align-items: center;
  background-color: #fec228;
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 #0003;
  box-sizing: border-box;
  color: #000;
  display: inline-flex;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
  font-family: Arial,sans-serif;
  font-size: 16px;
  justify-content: center;
  line-height: 1.5;
  min-height: 48px;
  padding: 8px 1em;
  text-decoration: none;
}
.aiautotool-notification .aiautotool-seo-icon-wrap {
  margin: 0 0 0 85px;
}
.aiautotool-notification .aiautotool-seo-icon {
  float: left;
  margin: 20px 10px;
}


.aiautotool_container .aiautotool_table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            font-size: 18px;
            text-align: left;
            background-color: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }

.aiautotool_container         .aiautotool_table th,
.aiautotool_container         .aiautotool_table td {
            padding: 15px;
            border-bottom: 1px solid #ddd;
        }

.aiautotool_container         .aiautotool_table thead th {
            background-color: #009688;
            color: #fff;
            font-weight: bold;
        }

.aiautotool_container         .aiautotool_table tbody tr:hover {
            background-color: #f5f5f5;
        }

.aiautotool_container .btn{
  background: #6d6d6d;
  padding: 7px 10px;
  margin-bottom: 5px;
  display: inline-block;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  border-bottom: 4px solid #222;
}
.aiautotool_container         .json-key-item.aiautotool_submitindex_jsonkey {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px; /* Điều này tùy thuộc vào khoảng cách bạn muốn giữa các mục */
    }

.aiautotool_container     .json-key-item.aiautotool_submitindex_jsonkey textarea {
        flex: 1;
        margin-right: 10px; /* Điều này tùy thuộc vào khoảng cách bạn muốn giữa textarea và button */
    }

 .aiautotool_container    .json-key-item.aiautotool_submitindex_jsonkey button {
        flex-shrink: 0;
    }
.aiautotool_container     .remove-json-key-item{width: 70px !important;
color: #000;
border: 1px solid #000 !important;
border-radius: 5px !important;
padding: 5px !important;}

.askassistant {
            display: flex;
            flex-direction: column;
            max-width: 300px;
            margin: auto;
            background-color: #f4f4f4;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .askassistant textarea {
            resize: none;
            padding: 0.5625rem 1rem;
            margin-bottom: 10px;
            border-radius: 5px;
            min-height: calc(1.5em + 1.125rem + 2px);
            font-weight: 400;
              line-height: 1.5;
              color: #495057;
              background-color: #fff;
              background-clip: padding-box;
              border: 1px solid #dee2e6;
              appearance: none;
              border-radius: 0.25rem;
              transition: aiautotool-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
            
        }

       
        .askassistant .select-and-button {
                display: flex;
                justify-content: space-between;
            }

        .askassistant select,
        .askassistant button {
            padding: 2px;
margin-bottom: 5px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 10px;
        }

        .askassistant select {
           
            margin-right: 5px; /* Để tạo khoảng cách giữa select và button */
        }

        .askassistant button {
            background-color: #4caf50;
            color: #fff;
        }

        .askassistant button:hover {
            background-color: #45a049;
        }


@-webkit-keyframes aiautotool-animate-wave {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes aiautotool-animate-wave {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.aiautotool-animate-slower:after {
    -webkit-animation: aiautotool-animate-wave 30s infinite linear;
    animation: aiautotool-animate-wave 30s infinite linear;
}

.aiautotool-animate-slow:after {
    -webkit-animation: aiautotool-animate-wave 25s infinite linear;
    animation: aiautotool-animate-wave 25s infinite linear;
}

.aiautotool-animate-fast:after {
    -webkit-animation: aiautotool-animate-wave 10s infinite linear;
    animation: aiautotool-animate-wave 10s infinite linear;
}

.aiautotool-animate-faster:after {
    -webkit-animation: aiautotool-animate-wave 5s infinite linear;
    animation: aiautotool-animate-wave 5s infinite linear;
}




.wave {
    background-color: #F3F6F9;
    overflow: hidden;
    position: relative;
}

.wave div {
    z-index: 100;
    position: relative;
}

.wave:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: -1;
}

.wave:after {
    content: ' ';
    width: 1000px;
    height: 1025px;
    position: absolute;
    bottom: 65%;
    left: -250px;
    border-radius: 35%;
    background: white;
    z-index: 0;
}

.wave:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.wave-animate:after {
    -webkit-animation: animate-wave 15s infinite linear;
    animation: animate-wave 15s infinite linear;
}

.wave-animate-slower:after {
    -webkit-animation: animate-wave 30s infinite linear;
    animation: animate-wave 30s infinite linear;
}

.wave-animate-slow:after {
    -webkit-animation: animate-wave 25s infinite linear;
    animation: animate-wave 25s infinite linear;
}

.wave-animate-fast:after {
    -webkit-animation: animate-wave 10s infinite linear;
    animation: animate-wave 10s infinite linear;
}

.wave-animate-faster:after {
    -webkit-animation: animate-wave 5s infinite linear;
    animation: animate-wave 5s infinite linear;
}

.wave.wave-primary {
    background-color: rgba(54, 153, 255, 0.1) !important;
}

.wave.wave-primary .svg-icon svg g [fill] {
    fill: #3699FF;
}

.wave.wave-secondary {
    background-color: rgba(228, 230, 239, 0.1) !important;
}

.wave.wave-secondary .svg-icon svg g [fill] {
    fill: #E4E6EF;
}

.wave.wave-success {
    background-color: #00b57b !important;
}

.wave.wave-success .svg-icon svg g [fill] {
    fill: #1BC5BD;
}

.wave.wave-info {
    background-color: rgba(137, 80, 252, 0.1) !important;
}

.wave.wave-info .svg-icon svg g [fill] {
    fill: #8950FC;
}

.wave.wave-warning {
    background-color: rgba(255, 168, 0, 0.1) !important;
}

.wave.wave-warning .svg-icon svg g [fill] {
    fill: #FFA800;
}

.wave.wave-danger {
    background-color: rgba(246, 78, 96, 0.1) !important;
}

.wave.wave-danger .svg-icon svg g [fill] {
    fill: #F64E60;
}

.wave.wave-light {
    background-color: rgba(243, 246, 249, 0.1) !important;
}

.wave.wave-light .svg-icon svg g [fill] {
    fill: #F3F6F9;
}

.wave.wave-dark {
    background-color: rgba(24, 28, 50, 0.1) !important;
}

.wave.wave-dark .svg-icon svg g [fill] {
    fill: #181C32;
}

.wave.wave-white {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.wave.wave-white .svg-icon svg g [fill] {
    fill: #ffffff;
}

@-webkit-keyframes animate-wave {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-wave {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


.aiautotool_btn_upgradepro {
    background-color: #FFD700; /* Mã màu nền vàng đậm */
    border: 2px solid #FFD700; /* Viền màu vàng đậm */
    border-radius: 20px; /* Bo tròn hình bầu dục, có thể điều chỉnh theo ý muốn */
    padding: 10px 20px; /* Kích thước đệm */
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; /* Hiệu ứng chuyển đổi màu nền và màu chữ */
    animation: buybtn 1s infinite;
}

.aiautotool_btn_upgradepro:hover {
    background-color: #FFFF00; /* Mã màu nền vàng nhạt khi hover */
    color: #000000;

}

@keyframes blink {
    50% {
        opacity: 0; /* Tắt */
    }
}


@keyframes buybtn {
 0% {
  transform: translate3d(0, 0, 0) scale(1);
 }
 33.3333% {
  transform: translate3d(0, 0, 0) scale(0.9);
 }
 66.6666% {
  transform: translate3d(0, 0, 0) scale(1);
 }
 100% {
  transform: translate3d(0, 0, 0) scale(1);
 }
 0% {
  box-shadow: 0 0 0 0px #8cc9164d,0 0 0 0px #8cc9164d;
 }
 50% {
  transform: scale(0.8);
 }
 100% {
  box-shadow: 0 0 0 15px rgba(0,210,255,0),0 0 0 30px rgba(0,210,255,0);
 }
}

.aiautotool_container .fa,.aiautotool_container .fa-regular,.aiautotool_container .fa-solid{
    font-family:var(--fa-style-family,"Font Awesome 7 Free");
    font-weight:var(--fa-style,900)
}
.toplevel_page_ai_auto_tool .fa,.toplevel_page_ai_auto_tool .fa-regular,.toplevel_page_ai_auto_tool .fa-solid{
    font-family:var(--fa-style-family,"Font Awesome 7 Free");
    font-weight:var(--fa-style,900)
}
.fs-submenu-item.pricing.upgrade-mode {
  color: rgba(240,246,252,.7);
}
.aiautotool_red{
    color:red !important;
}
.aiautotool_container .notice-dismiss{
    width:10%;
}

.serviceBox{
    color: #f67d4a;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 55px 20px 60px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.serviceBox:before,
.serviceBox:after{
    content: "";
    background: #f67d4a;
    height: 45px;
    width: 100%;
    box-shadow: 0 -3px 8px rgba(0,0,0,0.3) inset;
    position: absolute;
    top: 0;
    left: 0;
}
.serviceBox:after{
    box-shadow: 0 3px 8px rgba(0,0,0,0.3) inset;
    top: auto;
    bottom: 0;
}
.serviceBox .service-icon{
    font-size: 40px;
    margin: 0 0 10px;
} 
.serviceBox .title{
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 10px;
}
.serviceBox .description{
    color: #777;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
}
.serviceBox.pink{ color: #EC6D9E; }
.serviceBox.pink:before,
.serviceBox.pink:after{
    background-color: #EC6D9E;
}
.serviceBox.purple{ color: #8672B9; }
.serviceBox.purple:before,
.serviceBox.purple:after{
    background-color: #8672B9;
}
.serviceBox.blue{ color: #5196EC; }
.serviceBox.blue:before,
.serviceBox.blue:after{
    background-color: #5196EC;
}
@media only screen and (max-width: 990px){
    .serviceBox{ margin: 0 0 30px; }
}



/* HTML: <div class="loader"></div> */
.loaderbar {
  width: 65px;
aspect-ratio: 1;
position: relative;
color: #000;
margin: 0 auto;
}
.loaderbar:before,
.loaderbar:after {
  content: "";
  position: absolute;
  border-radius: 50px;
  box-shadow: 0 0 0 3px inset #000;
  animation: l4 2.5s infinite;
}
.loaderbar:after {
  animation-delay: -1.25s;
}
@keyframes l4 {
  0% {
    inset: 0 35px 35px 0;
  }
  12.5% {
    inset: 0 35px 0 0;
  }
  25% {
    inset: 35px 35px 0 0;
  }
  37.5% {
    inset: 35px 0 0 0;
  }
  50% {
    inset: 35px 0 0 35px;
  }
  62.5% {
    inset: 0 0 0 35px;
  }
  75% {
    inset: 0 0 35px 35px;
  }
  87.5% {
    inset: 0 0 35px 0;
  }
  100% {
    inset: 0 35px 35px 0;
  }
}



.aiautotool_dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

/* Dropdown content (hidden by default) */
.aiautotool_dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}

/* Columns */
.column {
  float: left;
  width: 33.33%;
  padding: 15px;
  box-sizing: border-box;
}

/* Clear floats after the columns */
.aiautotool_dropdown-content::after {
  content: "";
  clear: both;
  display: table;
}

/* Style links inside the aiautotool_dropdown */
.aiautotool_dropdown-content a {
  color: black;
  padding: 8px 0;
  text-decoration: none;
  display: block;
}

/* Change color of aiautotool_dropdown links on hover */
.aiautotool_dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the aiautotool_dropdown menu on hover */
.aiautotool_dropdown:hover .aiautotool_dropdown-content {
  display: block;
}



.aiautotool-modal-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
            display:none;
        }

        .aiautotool-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            transition: opacity 0.3s ease;
        }

        .aiautotool-modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 100%;
            min-width:70%;
            min-height: 300px;
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        }

        .aiautotool-modal-close {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
        }

        .aiautotool-modal-close:hover {
            color: red;
        }


        .aiautotool_btn_v1 {
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  padding: 3px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius:3px;
}


.aiautotool_btn_v11 {
  background-color: white; 
  color: black; 
  border: 2px solid #04AA6D;
}
.aiautotool_btn_v11 i{
    color:#04AA6D;
}
.aiautotool_btn_v11:hover i{
    color:white;
}
.aiautotool_btn_v11:hover {
  background-color: #04AA6D;
  color: white;
}

.aiautotool_btn_v12 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
}

.aiautotool_btn_v12:hover {
  background-color: #008CBA;
  color: white;
}
.aiautotool_btn_v12 i{
    color:#008CBA;
}
.aiautotool_btn_v12:hover i{
    color:white;
}
.aiautotool_btn_v13 {
  background-color: white; 
  color: black; 
  border: 2px solid #f44336;
}

.aiautotool_btn_v13:hover {
  background-color: #f44336;
  color: white;
}

.aiautotool_btn_v13 i{
    color:#f44336;
}
.aiautotool_btn_v13:hover i{
    color:white;
}

.aiautotool_btn_v14 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.aiautotool_btn_v14:hover {background-color: #e7e7e7;}
.aiautotool_btn_v14 i{
    color:#e7e7e7;
}
.aiautotool_btn_v14:hover i{
    color:white;
}
.aiautotool_btn_v15 {
  background-color: white;
  color: black;
  border: 2px solid #555555;
}

.aiautotool_btn_v15:hover {
  background-color: #555555;
  color: white;
}
.aiautotool_btn_v15 i{
    color:#555555;
}
.aiautotool_btn_v15:hover i{
    color:white;
}
.aiautotool_btn_v16 {
  background-color: white;
  color: black;
  border: 2px solid #fdcd26;
}

.aiautotool_btn_v16:hover {
  background-color: #fdcd26;
  color: white;
}
.aiautotool_btn_v16 i{
    color:#fdcd26;
}
.aiautotool_btn_v16:hover i{
    color:white;
}

.aiautotool_modal_content{
    max-height:500px;
}


.aiautotool_input2 {
  position: relative !important;
  width: 100% !important;
}
.aiautotool_input2_input {
  width: 100% !important;
  border: 1px solid #ccc !important;
  border-radius: 100px !important;
  padding: 10px 100px 10px 20px !important; 
  line-height: 1 !important;
  box-sizing: border-box !important;
  outline: none !important;
  margin:none !important;
  box-shadow:none !important;
  transition:none !important;
  margin: 0px !important;
}
.aiautotool_input2_button{
  position: absolute !important;
  right: 3px !important; 
  top: 3px !important;
  bottom: 3px !important;
  border: 0 !important;
  background: #d1095e !important;
  color: #fff !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 100px !important;
  z-index: 2 !important;
  width:100px !important;
  cursor: pointer;
}



abbr span, abbr div {}
abbr, abbr[data-title] {cursor:help;
  text-decoration:none;
  border-bottom:1px dotted rgba(0,0,0,0.4);
  border-radius:8px;}
abbr:hover {background:rgba(0,0,0,0.1);}
abbr[data-title]:hover {
  position:relative;
  background:rgba(0,255,0,.2);
  }
abbr[data-title]:hover:after {position:absolute;
  left:16px; top:calc(100% + .8em); z-index:20;
  content:attr(data-title);
  white-space:nowrap;
  padding:2px 4px 0;
  border:1px solid green; border-radius:6px;
  box-shadow:2px 2px 4px rgba(0,128,0,.5);
  background:linear-gradient(#dfd, #bfb);
  color:#030;}
div.tip {
  display:inline-block !important;
  margin:0; background:red;}
abbr span, div.tip div {
  position:absolute;
  display:none;
  z-index:10;
  padding:2px 4px 0; margin:1.5em 0 0 8px;
  max-width:0px;
  border:1px solid green;
  border-radius:6px;
  box-shadow:2px 2px 4px rgba(0,128,0,.5);
  background:linear-gradient(#dfd, #bfb);
  visibility:hidden; opacity:0;
  -webkit-transition:
    visibility 2s linear,
    opacity 2s linear;
  transition:
    visibility 2s linear,
    opacity 2s linear;
  }
abbr:hover span, div.tip:hover div {
  display:inline-block;
  max-width:300px;
  visibility:visible; opacity:1;
  -webkit-transition-delay:0s;
  transition-delay:0s;
  }



.aiautotool_dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

/* Dropdown content (hidden by default) */
.aiautotool_dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}

/* Columns */
.column {
  float: left;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

/* Clear floats after the columns */
.aiautotool_dropdown-content::after {
  content: "";
  clear: both;
  display: table;
}

/* Style links inside the aiautotool_dropdown */
.aiautotool_dropdown-content a {
  color: black;
  padding: 8px 0;
  text-decoration: none;
  display: block;
}

/* Change color of aiautotool_dropdown links on hover */
.aiautotool_dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the aiautotool_dropdown menu on hover */
.aiautotool_dropdown:hover .aiautotool_dropdown-content {
  display: block;
}



.aiautotool_tab_v2_wrapper {
  padding: 0px;
  position: relative;
  overflow-x: hidden;
  max-width: 500px;
  background: #fff;
  border-radius: 13px;
}
.aiautotool_tab_v2_wrapper .icon {
  position: absolute;
  top: 0;
  height: 100%;
  width: 120px;
  display: flex;
  align-items: center;
}
.aiautotool_tab_v2_wrapper .icon:first-child {
  left: 0;
  display: none;
  background: linear-gradient(90deg, #fff 70%, transparent);
}
.aiautotool_tab_v2_wrapper .icon:last-child {
  right: 0;
  justify-content: flex-end;
  background: linear-gradient(-90deg, #fff 70%, transparent);
}
.aiautotool_tab_v2_wrapper .icon i {
  width: 55px;
  height: 55px;
  cursor: pointer;
  font-size: 1.2rem;
  text-align: center;
  line-height: 55px;
  border-radius: 50%;
}
.aiautotool_tab_v2_wrapper .icon i:hover {
  background: #efedfb;
}
.aiautotool_tab_v2_wrapper .icon:first-child i {
  margin-left: 15px;
} 
.aiautotool_tab_v2_wrapper .icon:last-child i {
  margin-right: 15px;
} 
.aiautotool_tab_v2_wrapper .tabs-box {
  display: flex;
  gap: 12px;
  list-style: none;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.aiautotool_tab_v2_wrapper .tabs-box.dragging {
  scroll-behavior: auto;
  cursor: grab;
}
.tabs-box .tab {
  cursor: pointer;
  font-size: 1.18rem;
  white-space: nowrap;
  background: #f5f4fd;
  padding: 13px 20px;
  border-radius: 30px;
  border: 1px solid #d8d5f2;
}
.tabs-box .tab:hover{
  background: #efedfb;
}
.tabs-box.dragging .tab {
  user-select: none;
  pointer-events: none;
}
.tabs-box .tab.active{
  color: #fff;
  background: var(--aiautotool-color);
  border-color: transparent;
}

.ft-wrap-body {
  display: grid;
  grid-gap: 20px;
  max-width: 1500px;
}
.ft-sidebar-right {
  grid-column: 3;
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.ft-widget{
    border-radius: 7px;
    padding: 20px;
    transition: transform .1s;
}
.ft-widget:hover{
    transform:scale(0.97);
}

.aiautotool_box_f_box:hover{
    transform:scale(0.97);
}

.starloader {
   --s: 30px;
   height: calc(var(--s)*0.9);
   width: calc(var(--s)*5);
  --v1:transparent,#000 0.5deg 108deg,#0000 109deg;
  --v2:transparent,#000 0.5deg  36deg,#0000  37deg;
  -webkit-mask:
    conic-gradient(from 54deg  at calc(var(--s)*0.68) calc(var(--s)*0.57),var(--v1)),
    conic-gradient(from 90deg  at calc(var(--s)*0.02) calc(var(--s)*0.35),var(--v2)),
    conic-gradient(from 126deg at calc(var(--s)*0.5)  calc(var(--s)*0.7) ,var(--v1)),
    conic-gradient(from 162deg at calc(var(--s)*0.5)  0                  ,var(--v2));
  -webkit-mask-size: var(--s) var(--s);
  -webkit-mask-composite: xor,destination-over;
          mask-composite: exclude,add;
  -webkit-mask-repeat:repeat-x;
  background:#ffb940;
  margin:auto;
  margin-top:10px;
}
.ft-widget a, .ft-widget a {
  text-transform: uppercase;
}

.ft-sidebar-right a {
  color: var(--aiautotool-color);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.ft-widget-color1 {
  margin-top: 20px;
  background: #fff1f1;
}

.ft-sidebar-right h3 {
  border: none;
  padding: 10px 15px;
  background: linear-gradient(85deg, #dddddd91 0%, rgba(255,255,255,0) 100%);
  position: relative;
  margin-bottom: 30px;
  margin-top: 20px;
  border-radius: 7px 7px 7px 0px;
  font-size: 16px;
}



/* Mobile responsive cho .ft-sidebar-right h3::after */
@media (max-width: 768px) {
  .ft-sidebar-right h3::after {
    border-bottom: solid 10px transparent;
    border-right: solid 15px var(--aiautotool-color);
  }
}

@media (max-width: 480px) {
  .ft-sidebar-right h3::after {
    border-bottom: solid 8px transparent;
    border-right: solid 12px var(--aiautotool-color);
  }
}

@media (max-width: 360px) {
  .ft-sidebar-right h3::after {
    border-bottom: solid 6px transparent;
    border-right: solid 10px var(--aiautotool-color);
  }
}

.btnkct1 {
  color: #000;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  padding: 0.9em 1.6em;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.btnkct1--gooey {
  color: #06c8d9;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 4px solid #06c8d9;
  border-radius: 0;
  position: relative;
  transition: all 700ms ease;
}

.btnkct1--gooey .btnkct1__blobs {
  height: 100%;
  filter: url(#goo);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: -3px;
  right: -1px;
  z-index: -1;
}

.btnkct1--gooey .btnkct1__blobs div {
  background-color: #06c8d9;
  width: 34%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.4) translateY(125%) translateZ(0);
  transition: all 700ms ease;
}

.btnkct1--gooey .btnkct1__blobs div:nth-child(1) {
  left: -5%;
}

.btnkct1--gooey .btnkct1__blobs div:nth-child(2) {
  left: 30%;
  transition-delay: 60ms;
}

.btnkct1--gooey .btnkct1__blobs div:nth-child(3) {
  left: 66%;
  transition-delay: 25ms;
}

.btnkct1--gooey:hover {
  color: #fff;
}

.btnkct1--gooey:hover .btnkct1__blobs div {
  transform: scale(1.4) translateY(0) translateZ(0);
}

.formkct1 {
  width: 100%;
  background: linear-gradient(#212121, #212121) padding-box,
              linear-gradient(145deg, transparent 35%,#e81cff, #40c9ff) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background-size: 200% 100%;
  animation: gradient 5s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.formkct1 button:active {
  scale: 0.95;
}

.formkct1 .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formkct1 .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.formkct1 .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #717171;
  font-weight: 600;
  font-size: 12px;
}

.formkct1 .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #414141;
}

.formkct1 .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid #414141;
  background-color: transparent;
  font-family: inherit;
}

.formkct1 .form-group input::placeholder {
  opacity: 0.5;
}

.formkct1 .form-group input:focus {
  outline: none;
  border-color: #e81cff;
}

.formkct1 .form-group textarea:focus {
  outline: none;
  border-color: #e81cff;
} 

.formkct1 .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: #313131;
  border: 1px solid #414141;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.formkct1 .form-submit-btn:hover {
  background-color: #fff;
  border-color: #fff;
}


.diagram-meta-box {
    display: flex;
    gap: 10px;
}

.diagram-meta-box-column {
    padding: 10px;
    border: 1px solid #ddd;
}

.diagram-meta-box-column:first-child {
    width: 30%;
}

.diagram-meta-box-column:last-child {
    width: 70%;
}

#flowchart {
    border: 1px solid #ddd;
    padding: 10px;
    height: 300px;
}

#flowchart {
    border: 1px solid #ddd;
    padding: 10px;
    height: 300px;
    width: 800px;
    overflow: auto;
}

.flowchart-node {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background: #f9f9f9;
}




 .aiautotool_container {}
        /* General styles for the step headers */
.campaign-steps-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.step-header {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    border-bottom: 3px solid transparent;
}

.step-header.active {
    color: #0073aa;
    border-bottom: 3px solid #0073aa;
}

.step-header:hover {
    color: #005177;
}

/* Additional styles for better visual distinction */
.step-header::before {
    content: '\2022';
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
    color: transparent;
}

.step-header.active::before {
    color: #0073aa;
}

.step-header:first-child {
    margin-left: 0;
}

.step-header:last-child {
    margin-right: 0;
}

.campaign-step {
    display: none;
    transition: opacity 0.3s ease;
}

.campaign-step.active {
    display: block !important;
    opacity: 1;
}

#diagram-flowchart-container {
    width: 100%;
    max-height: 400px;
    border: 1px solid #ccc;
    margin-top: 10px;
    background-color: #f9f9f9;
    position: relative;
}

.next-step, .prev-step {
    display: none;
    margin-top: 20px;
}

.button-wrapper {
    text-align: right;
    margin-top: 20px;
}


/*box campa*/
.campaign-box {
  font-family: 'Arial', sans-serif; 
   
  padding: 20px; 
  width:95%;
}

.campaign-box .container {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

/* CSS cho tiêu đề form */
.campaign-box h2 {
  color: #333; /* Màu tiêu đề */
  text-align: center;
  margin-bottom: 20px;
}

/* CSS cho label của các trường nhập liệu */
.campaign-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

/* CSS cho các trường nhập liệu (input, textarea) */
.campaign-box input[type="text"],
.campaign-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
  transition: border-color 0.3s ease; /* Hiệu ứng chuyển tiếp mượt mà */
}

.campaign-box input[type="text"]:focus,
.campaign-box textarea:focus {
  border-color: #007bff; /* Màu xanh dương khi focus */
  outline: none;
}

/* CSS cho nút submit */
.campaign-box button[type="submit"] {
  background-color: #007bff; /* Màu xanh dương */
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Hiệu ứng chuyển tiếp mượt mà */
}

.campaign-box button[type="submit"]:hover {
  background-color: #0056b3; /* Màu xanh đậm hơn khi hover */
}

/* CSS cho các bước (step) nếu có */
.campaign-box .step-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.campaign-box .step {
  width: 23%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

.campaign-box .step.active {
  background-color: #007bff;
  color: #fff;
}

.campaign-box #flowchart{
    border: 1px solid #ddd;
padding: 10px;
height: 378px;
width: 97%;
overflow: auto;
}

.campaign-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.5);
}


.groupsite-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Container for each list (available and selected) */
.group-site-list-container {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

/* Label styles */
.group-site-list-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

/* Select box styles */
.group-site-list-container select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    height: calc(100% - 40px); /* Adjusting for padding and margins */
    background-color: #f1f1f1;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Button container styles */
.group-site-buttons-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.group-site-buttons-container .button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.group-site-buttons-container .button:hover {
    background-color: #005a87;
}




/*start customer box*/
/* Style for the campaign box */
.campaign-box {
    max-width: 800px !important;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form {
    margin-bottom: 20px;
}



@keyframes gooey {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

@keyframes blob {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(0.8);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50; /* Darker text color */
    margin-bottom: 5px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdc3c7; /* Light gray border */
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input[type="url"],
.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"] {
    background: #f9f9f9; /* Light gray background */
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3498db; /* Highlight border on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

/*end stater customer box*/

.diagram-meta-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.diagram-meta-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diagram-meta-box-body {
    display: flex;
    gap: 1rem;
}

.diagram-meta-box-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diagram-meta-box-column h3 {
    font-size: 1.2rem;
    color: #333;
}

.diagram-meta-box-column .button {
    margin: 0.2rem 0;
}

.diagram-flowchart {
    flex: 2;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    overflow: auto;
}

#chart_container {
    width: 100%;
    height: 500px;
    overflow: scroll;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.flowchart-example-container {
    width: 100%;
    height: 100%;
    position: relative;
}


.campaign-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.campaign-steps-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.step-header {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.step-header.active {
    background-color: #0073aa;
    color: #fff;
}

.campaign-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.button-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.ft-code-textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: monospace;
}

.ft-input-big {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#diagram-flowchart-container {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

#flowchart {
    width: 100%;
    height: 100%;
    position: relative;
}
.progress {
        height: 20px;
        background-color: #f5f5f5;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 0;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    /* Progress Bar */
    .progress-bar-danger {
        background-color: #d9534f; /* Red color for danger */
        width: 0;
        height: 100%;
        transition: width 0.6s ease;
    }

    /* Badge */
    .badge {
        padding: 3px 7px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        background-color: #777;
        border-radius: 10px;
    }

    /* Badge Red */
    .bg-red {
        background-color: #d9534f;
    }

    #contentmo{max-height:300px;overflow: auto;}

    /* HTML: <div class="btnloader"></div> */
.btnloader {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  display: grid;
  clip-path: inset(-60px 0 -5px)
}
.btnloader:after {
  content: "";
  position: relative;
  background: repeating-linear-gradient(90deg,#0000 0 calc(50% - 8px), #ccc 0 calc(50% + 8px), #0000 0 100%) 0 0/calc(100%/3) 100%;
  animation: l6-1 1s infinite;
} 
.btnloader:before {
  content: "";
  position: absolute;
  width: 14px;
  aspect-ratio: 1;
  left: calc(50% - 7px);
  bottom: 0;
  border-radius: 50%;
  background: lightblue;
  animation: l6-2 1s infinite;
}
@keyframes l6-1 {
  50%,100% {background-position: calc(100%/2) 0}
}
@keyframes l6-2 {
  0%,50% {transform:translateY(-80px)}
}



/*fflowchart start*/
/* Flowchart start */
.flowchart-container {
    position: relative;
    overflow: hidden;
}

.flowchart-links-layer,
.flowchart-operators-layer,
.flowchart-temporary-link-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flowchart-operators-layer,
.flowchart-temporary-link-layer {
    pointer-events: none;
}

.flowchart-temporary-link-layer {
    display: none;
}

.flowchart-link,
.flowchart-operator {
    cursor: default;
}

.flowchart-operator-connector {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
}

.flowchart-operator-connector-label {
    font-size: small;
    color: #333;
}

.flowchart-operator-inputs .flowchart-operator-connector-label {
    margin-left: 14px;
}

.flowchart-operator-outputs .flowchart-operator-connector-label {
    text-align: right;
    margin-right: 5px;
}

.flowchart-operator-connector-arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #3498db; /* Light blue */
    position: absolute;
    top: 0;
}

.flowchart-operator-connector-small-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    position: absolute;
    top: 5px;
    pointer-events: none;
}

.flowchart-operator-connector:hover .flowchart-operator-connector-arrow {
    border-left: 10px solid #2980b9; /* Darker blue */
}

.flowchart-operator-inputs .flowchart-operator-connector-arrow {
    left: -1px;
}

.flowchart-operator-outputs .flowchart-operator-connector-arrow {
    right: -10px;
}

.flowchart-operator-inputs .flowchart-operator-connector-small-arrow {
    left: -1px;
}

.flowchart-operator-outputs .flowchart-operator-connector-small-arrow {
    right: -7px;
}

.unselectable {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flowchart-operator {
    position: absolute;
    width: 140px;
    border: 1px solid #bdc3c7; /* Light gray */
    background: #ecf0f1; /* Lighter gray */
    pointer-events: auto;
    border-radius:5px;
    background: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, #ff9966, transparent);
  /*animation: rotation_481 5000ms infinite linear;*/
}

.flowchart-operator.hover {
    border-color: #ff9966; /* Medium gray */
}

.flowchart-operator.selected {
    border-color: #7f8c8d; /* Darker gray */
}

.flowchart-operator .flowchart-operator-title {
    width: 100%;
    padding: 5px;
    font-weight: bold;
    box-sizing: border-box;
    border-bottom: 1px solid #dcdcdc; 
    background: #3498db; 
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: move;
    color: #fff; 
    border-radius:5px 5px 0 0;
}

.flowchart-operator .flowchart-operator-inputs-outputs {
    display: table;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.flowchart-operator .flowchart-operator-inputs,
.flowchart-default-operator .flowchart-operator-outputs {
    display: table-cell;
    width: 50%;
}

.flowchart-vertical .flowchart-operator-inputs,
.flowchart-vertical .flowchart-operator-outputs {
    position: relative;
    text-align: center;
    display: table;
    width: 100%;
}

.flowchart-vertical .flowchart-operator-connector-set {
    display: table-cell;
}

.flowchart-vertical .flowchart-operator-connector {
    position: relative;
}

.flowchart-vertical .flowchart-operator-connector-label {
    position: relative;
    text-align: center;
    width: 100%;
    color: #333;
}

.flowchart-vertical .flowchart-operator-inputs .flowchart-operator-connector-label {
    margin-left: auto;
}

.flowchart-vertical .flowchart-operator-connector-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #3498db; /* Light blue */
    left: calc(50% - 10px);
}

.flowchart-vertical .flowchart-operator-connector:hover .flowchart-operator-connector-arrow {
    border-left-color: transparent;
    border-top-color: #2980b9; /* Darker blue */
}

.flowchart-vertical .flowchart-operator-connector-small-arrow {
    border-right: 5px solid transparent;
    top: 2px;
    left: calc(50% - 5px);
}

.flowchart-vertical .flowchart-operator-connector-arrow {
    top: 0;
}

.flowchart-vertical .flowchart-operator-outputs .flowchart-operator-connector-arrow {
    bottom: -20px;
    top: auto;
}

.flowchart-vertical .flowchart-operator-outputs .flowchart-operator-connector-small-arrow {
    left: calc(50% - 5px);
    bottom: -12px;
    top: auto;
}

.flowchart-vertical .flowchart-link rect {
    display: none;
}

.flowchart-operator-body {
    padding: 5px;
    cursor: move;
}


@keyframes rotation_481 {
  0% {
    transform: rotateZ(0deg);
  }

  0% {
    transform: rotateZ(360deg);
  }
}



@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}
/*flowchart end*/

/* Subscription Info Styling */
.subscription-info-container {
    background: var(--gradient);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    color: var(--text-light);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.subscription-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.subscription-info-container p {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-info-container p i {
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: #ffd700;
}

.subscription-info-container p strong {
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.subscription-info-container .domain-info {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.subscription-info-container .plan-info {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.subscription-info-container .usage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 10px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.subscription-info-container .usage-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
    position: relative;
}

.subscription-info-container .usage-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.subscription-info-container .usage-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.subscription-info-container .upgrade-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin: 20px auto;
    max-width: 250px;
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscription-info-container .upgrade-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.subscription-info-container .upgrade-button:hover::before {
    left: 100%;
}

.subscription-info-container .upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.6);
}

.subscription-info-container .upgrade-button i {
    margin-right: 8px;
    font-size: 18px;
}

.subscription-info-container .features-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.subscription-info-container .features-section h3 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.subscription-info-container .plan-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255,215,0,0.3);
}

.subscription-info-container .limit-info {
    background: rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 8px 0;
    border-left: 4px solid var(--success-color);
}

.subscription-info-container .limit-info.unlimited {
    border-left-color: var(--info-color);
}

.subscription-info-container .limit-info abbr {
    color: #ffd700;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,215,0,0.5);
    cursor: help;
}

.subscription-info-container .limit-info code {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .subscription-info-container {
        padding: 20px;
        margin: 15px 0;
    }
    
    .subscription-info-container p {
        font-size: 14px;
    }
    
    .subscription-info-container .usage-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .subscription-info-container .usage-bar {
        margin: 10px 0;
    }
    
    .subscription-info-container .upgrade-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Animation for loading states */
.subscription-info-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

.subscription-info-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Status indicators */
.subscription-info-container .status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.subscription-info-container .status-indicator.active {
    background: #4CAF50;
}

.subscription-info-container .status-indicator.warning {
    background: #FF9800;
}

.subscription-info-container .status-indicator.danger {
    background: #F44336;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Feature list styling */
.subscription-info-container .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.subscription-info-container .feature-item {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.subscription-info-container .feature-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.subscription-info-container .feature-item i {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 8px;
    display: block;
}

.subscription-info-container .feature-item span {
    font-size: 14px;
    font-weight: 500;
}

.aiautotool-title-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 6px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #f8fafc;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.aiautotool-title-btn:hover {
    background: #e0e7ef;
    color: #1a56db;
    border-color: #b6c2d9;
}
.aiautotool-title-btn i {
    font-size: 16px;
    margin-right: 4px;
}

/* CSS đặc biệt cho button Suggest Images */
.btn_suggest_images {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-color: #667eea !important;
    position: relative;
    overflow: hidden;
}

.btn_suggest_images:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    color: white !important;
    border-color: #5a6fd8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn_suggest_images::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn_suggest_images:hover::before {
    left: 100%;
}

.btn_suggest_images i {
    color: white !important;
    animation: magicSparkle 2s infinite;
}

@keyframes magicSparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Enhanced Code Editor Styling for Textareas */
.ft-code-textarea {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    background: #1e1e1e;
    color: #d4d4d4;
    resize: vertical;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: auto;
    tab-size: 4;
    -moz-tab-size: 4;
    -webkit-tab-size: 4;
}

.ft-code-textarea:focus {
    outline: none;
    border-color: var(--aiautotool-color);
    box-shadow: 0 0 0 3px rgba(0, 135, 92, 0.1);
    background: #1e1e1e;
}

.ft-code-textarea::placeholder {
    color: #6a737d;
    font-style: italic;
}

/* Line Numbers Container */
.code-editor-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #1e1e1e;
}

.code-editor-container .ft-code-textarea {
    border: none;
    border-radius: 0;
    padding-left: 60px;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Line Numbers */
.line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: #252526;
    border-right: 1px solid #3c3c3c;
    color: #858585;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 5px;
    text-align: right;
    z-index: 1;
    overflow: hidden;
    user-select: none;
}

.line-numbers .line-number {
    display: block;
    height: 1.5em;
    padding-right: 10px;
}

/* Syntax Highlighting Colors */
.ft-code-textarea {
    /* HTML Tags */
    --tag-color: #569cd6;
    --attribute-color: #9cdcfe;
    --string-color: #ce9178;
    --comment-color: #6a9955;
    --keyword-color: #c586c0;
    --function-color: #dcdcaa;
    --number-color: #b5cea8;
    --operator-color: #d4d4d4;
}

/* Scrollbar Styling */
.ft-code-textarea::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.ft-code-textarea::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-radius: 6px;
}

.ft-code-textarea::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 6px;
    border: 2px solid #1e1e1e;
}

.ft-code-textarea::-webkit-scrollbar-thumb:hover {
    background: #4f4f4f;
}

.ft-code-textarea::-webkit-scrollbar-corner {
    background: #1e1e1e;
}

/* Code Editor Header */
.code-editor-header {
    background: #2d2d30;
    padding: 8px 15px;
    border-bottom: 1px solid #3c3c3c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cccccc;
    font-size: 12px;
    font-weight: 500;
}

.code-editor-header .file-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-editor-header .file-icon {
    width: 16px;
    height: 16px;
    background: var(--aiautotool-color);
    border-radius: 3px;
    display: inline-block;
}

.code-editor-header .file-name {
    font-weight: 600;
}

.code-editor-header .editor-controls {
    display: flex;
    gap: 10px;
}

.code-editor-header .control-btn {
    background: transparent;
    border: 1px solid #3c3c3c;
    color: #cccccc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-editor-header .control-btn:hover {
    background: #3c3c3c;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ft-code-textarea {
        font-size: 13px;
        min-height: 250px;
    }
    
    .line-numbers {
        width: 40px;
        font-size: 13px;
        padding: 15px 2px;
    }
    
    .code-editor-container .ft-code-textarea {
        padding-left: 50px;
    }
}

/* Animation for focus state */
.ft-code-textarea:focus {
    animation: codeEditorFocus 0.3s ease;
}

@keyframes codeEditorFocus {
    0% { box-shadow: 0 0 0 0 rgba(0, 135, 92, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 135, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 135, 92, 0); }
}

/* Code folding indicators */
.code-folding {
    position: absolute;
    left: 35px;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.fold-indicator {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3c3c3c;
    border-radius: 2px;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    font-size: 8px;
    transition: all 0.2s ease;
}

.fold-indicator:hover {
    background: #4c4c4c;
    color: #ffffff;
}

/* Selection styling */
.ft-code-textarea::selection {
    background: #264f78;
    color: #ffffff;
}

.ft-code-textarea::-moz-selection {
    background: #264f78;
    color: #ffffff;
}

/* Error highlighting */
.ft-code-textarea.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Success highlighting */
.ft-code-textarea.success {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Loading state */
.ft-code-textarea.loading {
    opacity: 0.7;
    pointer-events: none;
}

.ft-code-textarea.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3c3c3c;
    border-top: 2px solid var(--aiautotool-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Auto-complete suggestions */
.code-suggestions {
    position: absolute;
    background: #2d2d30;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.code-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #cccccc;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    border-bottom: 1px solid #3c3c3c;
}

.code-suggestion-item:hover {
    background: #3c3c3c;
    color: #ffffff;
}

.code-suggestion-item.selected {
    background: var(--aiautotool-color);
    color: #ffffff;
}

/* Minimap (optional feature) */
.code-minimap {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: #1e1e1e;
    border-left: 1px solid #3c3c3c;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.code-minimap:hover {
    opacity: 0.8;
}

/* Status bar */
.code-status-bar {
    background: #007acc;
    color: #ffffff;
    padding: 4px 15px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-status-bar .status-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.code-status-bar .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
}

/* ... existing code ...

/* Enhanced Rating Widget Styling */
.ft-widget-color1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 20px;
    padding: 30px 25px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ft-widget-color1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.ft-widget-color1::after {
    content: '⭐';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    opacity: 0.1;
    transform: rotate(15deg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(15deg) translateY(0px); }
    50% { transform: rotate(15deg) translateY(-10px); }
}

.ft-widget-color1:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.ft-widget-color1 h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.ft-widget-color1 h2::before {
    content: '💝';
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.ft-widget-color1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 20px;
}

.ft-widget-color1 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.ft-widget-color1 a:hover::before {
    left: 100%;
}

.ft-widget-color1 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.6);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

/* Enhanced Star Loader Animation */
.starloader {
    --s: 40px;
    height: calc(var(--s)*0.9);
    width: calc(var(--s)*5);
    --v1: transparent, #ffd700 0.5deg 108deg, #0000 109deg;
    --v2: transparent, #ffd700 0.5deg 36deg, #0000 37deg;
    -webkit-mask:
        conic-gradient(from 54deg at calc(var(--s)*0.68) calc(var(--s)*0.57), var(--v1)),
        conic-gradient(from 90deg at calc(var(--s)*0.02) calc(var(--s)*0.35), var(--v2)),
        conic-gradient(from 126deg at calc(var(--s)*0.5) calc(var(--s)*0.7), var(--v1)),
        conic-gradient(from 162deg at calc(var(--s)*0.5) 0, var(--v2));
    -webkit-mask-size: var(--s) var(--s);
    -webkit-mask-composite: xor, destination-over;
    mask-composite: exclude, add;
    -webkit-mask-repeat: repeat-x;
    background: #ffd700;
    margin: 15px auto 0;
    animation: starShine 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes starShine {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    50% { 
        transform: scale(1.1) rotate(180deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}

/* Rating Success Animation */
.ft-widget-color1.rating-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: ratingSuccess 0.6s ease-in-out;
}

@keyframes ratingSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Rating Button with Pulse Effect */
.ft-widget-color1 a.rating-btn {
    position: relative;
    animation: ratingPulse 2s infinite;
}

@keyframes ratingPulse {
    0% { box-shadow: 0 5px 15px rgba(255,107,107,0.4); }
    50% { box-shadow: 0 5px 25px rgba(255,107,107,0.6), 0 0 0 10px rgba(255,107,107,0.1); }
    100% { box-shadow: 0 5px 15px rgba(255,107,107,0.4); }
}

/* Floating Elements */
.ft-widget-color1 .floating-element {
    position: absolute;
    font-size: 20px;
    opacity: 0.3;
    animation: floatElement 4s ease-in-out infinite;
    z-index: 1;
}

.ft-widget-color1 .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.ft-widget-color1 .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.ft-widget-color1 .floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ft-widget-color1 {
        padding: 25px 20px;
        margin: 15px 0;
    }
    
    .ft-widget-color1 h2 {
        font-size: 20px;
    }
    
    .ft-widget-color1 a {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .starloader {
        --s: 30px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .ft-widget-color1 {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    
    .ft-widget-color1 h2 {
        color: #f7fafc;
    }
}

/* Accessibility Improvements */
.ft-widget-color1 a:focus {
    outline: 3px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

.ft-widget-color1 a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .ft-widget-color1 {
        border: 3px solid #ffffff;
    }
    
    .ft-widget-color1 a {
        border: 2px solid #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .ft-widget-color1,
    .ft-widget-color1::after,
    .ft-widget-color1 h2::before,
    .starloader,
    .ft-widget-color1 .floating-element {
        animation: none;
    }
    
    .ft-widget-color1:hover {
        transform: none;
    }
    
    .ft-widget-color1 a:hover {
        transform: none;
    }
}

/* All tool for AI Post - Optimized Styles */
.aiautotool-tool-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
}

.aiautotool-tool-buttons span {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.aiautotool-tool-buttons span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.aiautotool-tool-buttons span:hover::before {
    left: 100%;
}

.aiautotool-tool-buttons span.active {
    border-color: var(--border-primary);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.aiautotool-tool-buttons span.active .icon {
    color: var(--border-primary);
}

.tool-content {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.tool-content.active {
    border-color: var(--border-primary);
    box-shadow: var(--shadow-medium);
}

.tool-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-content h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient);
    border-radius: 2px;
}

.tool-description {
    margin-top: 15px;
    padding: 12px;
    background: var(--bg-accent);
    border-radius: 6px;
    border-left: 4px solid var(--border-primary);
}

.tool-description p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tool-description i {
    color: var(--border-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.aiautotool_input2 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.aiautotool_input2_input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-secondary);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.aiautotool_input2_input:focus {
    outline: none;
    border-color: var(--border-primary);
    box-shadow: 0 0 0 3px rgba(0, 135, 92, 0.1);
}

.aiautotool_input2_input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.aiautotool_input2_button {
    padding: 12px 24px;
    background: var(--gradient);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.aiautotool_input2_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.aiautotool_input2_button:hover::before {
    left: 100%;
}

.aiautotool_input2_button:hover {
    background: var(--gradient-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.aiautotool_input2_button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .aiautotool-tool-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .aiautotool-tool-buttons span {
        min-width: auto;
        text-align: center;
    }
    
    .aiautotool_input2 {
        flex-direction: column;
        gap: 8px;
    }
    
    .aiautotool_input2_button {
        width: 100%;
    }
    
    .tool-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .aiautotool-tool-buttons {
        padding: 10px;
    }
    
    .aiautotool-tool-buttons span {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .tool-content h3 {
        font-size: 16px;
    }
    
    .tool-description p {
        font-size: 13px;
    }
}

/* Animation for tool switching */
.tool-content {
    animation: fadeInUp 0.3s ease-out;
}

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

/* Loading state for buttons */
.aiautotool_input2_button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.aiautotool_input2_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success state for buttons */
.aiautotool_input2_button.success {
    background: var(--success-color);
}

/* Error state for buttons */
.aiautotool_input2_button.error {
    background: var(--danger-color);
}

/* Tool-specific button colors */
.btnoutline.active {
    background: var(--gradient);
    color: var(--text-light);
}

.btn_intro.active {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: var(--text-light);
}

.btn_conclusion.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--text-light);
}

.btn_faq.active {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    color: var(--text-light);
}

/* Enhanced modal styles */
.aiautotool-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index:1000000000000;
}

.aiautotool-modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

/* Accessibility improvements */
.aiautotool-tool-buttons span:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

.aiautotool_input2_button:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .tool-content {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .tool-description {
        background: #1a202c;
        border-left-color: var(--border-primary);
    }
    
    .aiautotool_input2_input {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .aiautotool_input2_input::placeholder {
        color: #a0aec0;
    }
}

/* Status Indicator Styles */
.aiautotool-status-indicator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aiautotool-status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-light);
}

.status-badge i {
    font-size: 16px;
}

.status-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Tool Indicator Styles */
.tool-indicator {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(0,135,92,0.1);
    color: var(--border-primary);
    transition: all 0.3s ease;
}

.aiautotool-tool-buttons span.active .tool-indicator {
    background: var(--border-primary);
    color: white;
}

/* Tool Header Styles */
.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-secondary);
}

.tool-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.tool-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.outline-badge {
    background: linear-gradient(135deg, #00875c 0%, #00b57b 100%);
    color: white;
}

.intro-badge {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

.conclusion-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.faq-badge {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    color: white;
}

/* Tooltip Styles */
.tooltip {
    position: fixed;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: tooltipFadeIn 0.2s ease-out;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tool Change Notification */
.tool-change-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 10001;
    box-shadow: var(--shadow-medium);
    animation: slideInRight 0.3s ease-out;
}

.tool-change-notification i {
    font-size: 16px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Button Styles */
.aiautotool_input2_button {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.aiautotool_input2_button i {
    font-size: 14px;
}

/* Active State Enhancements */
.aiautotool-tool-buttons span.active {
    position: relative;
    overflow: hidden;
}

.aiautotool-tool-buttons span.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .aiautotool-status-indicator {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .status-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .tool-badge {
        align-self: flex-end;
    }
    
    .tool-change-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        font-size: 14px;
    }
}

/* Loading State Enhancements */
.aiautotool_input2_button.loading {
    position: relative;
    color: transparent;
}

.aiautotool_input2_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success State Enhancements */
.aiautotool_input2_button.success {
    background: var(--success-color);
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Error State Enhancements */
.aiautotool_input2_button.error {
    background: var(--danger-color);
    animation: errorShake 0.6s ease-out;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Focus States */
.aiautotool-tool-buttons span:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

.aiautotool_input2_button:focus {
    outline: 2px solid var(--border-primary);
    outline-offset: 2px;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .tool-change-notification,
    .aiautotool-tool-buttons span.active::after,
    .aiautotool_input2_button.success,
    .aiautotool_input2_button.error {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .aiautotool-status-indicator {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #4a5568;
    }
    
    .tooltip {
        background: rgba(255,255,255,0.95);
        color: #1a202c;
    }
    
    .tooltip::after {
        border-top-color: rgba(255,255,255,0.95);
    }
}

/* ===== CSS CHO STEP INDICATOR VÀ PROCESS STATUS ===== */

.process-status {
    text-align: center;
    padding: 20px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.step-indicator .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
}

.step-indicator .step.active {
    background-color: var(--main-aiautotool-color);
    color: white;
    border-color: var(--main-aiautotool-color);
    box-shadow: 0 0 0 3px rgba(0, 135, 92, 0.2);
    animation: stepPulse 1.5s infinite;
}

.step-indicator .step.completed {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-indicator .step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background-color: #dee2e6;
    transform: translateY(-50%);
    z-index: -1;
}

.step-indicator .step:last-child::after {
    display: none;
}

.step-indicator .step.active::after {
    background-color: var(--main-aiautotool-color);
}

.step-indicator .step.completed::after {
    background-color: var(--success-color);
}

@keyframes stepPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 135, 92, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 135, 92, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 135, 92, 0);
    }
}

.process-status p {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

/* Responsive cho step indicator */
@media (max-width: 768px) {
    .step-indicator {
        gap: 5px;
    }
    
    .step-indicator .step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-indicator .step::after {
        width: 15px;
    }
    
    .process-status p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .step-indicator .step {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .step-indicator .step::after {
        width: 10px;
    }
}

@media (max-width: 768px) {
    .aiautotool-title-btn {
        padding: 5px 10px;
        font-size: 13px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    .btn_suggest_images {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }
    
    .btn_suggest_images i {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .aiautotool-title-btn {
        padding: 4px 8px;
        font-size: 12px;
        margin-right: 3px;
        margin-bottom: 3px;
    }
    
    .btn_suggest_images {
        padding: 4px 6px !important;
        font-size: 11px !important;
    }
    
    .btn_suggest_images i {
        font-size: 12px !important;
    }
}

/* Write Full Article Modal Styles */
.aiautotool-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.aiautotool-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

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

.aiautotool-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aiautotool-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.aiautotool-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.aiautotool-modal-close:hover {
    opacity: 0.7;
}

.aiautotool-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.aiautotool-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.aiautotool-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.aiautotool-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.aiautotool-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.aiautotool-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.aiautotool-btn-secondary:hover {
    background-color: #5a6268;
}

/* Article content styles */
.article-content {
    line-height: 1.6;
    color: #333;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.article-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 5px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 5px;
}

.article-tags {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #667eea;
}

/* Write Full Article Button Styles */
.btn_write_full_article {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn_write_full_article:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
}

/* Loading animation for Write Full Article */
.write-full-article-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* Progress Tracking Styles */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background-color: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
}

.step.completed {
    opacity: 1;
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step.active .step-icon {
    background-color: #667eea;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-icon {
    background-color: #28a745;
    color: white;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 14px;
}

.step-description {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

/* Animation for progress steps */
@keyframes stepPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step.active .step-icon {
    animation: stepPulse 2s infinite;
}

/* Responsive design for progress modal */
@media (max-width: 768px) {
    .progress-steps {
        gap: 10px;
    }
    
    .step {
        padding: 8px;
        gap: 10px;
    }
    
    .step-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step-title {
        font-size: 13px;
    }
    
    .step-description {
        font-size: 11px;
    }
}

/* Loading animation for progress bar */
@keyframes progressShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.progress-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200px 100%;
    animation: progressShimmer 2s infinite;
}

/* Success state for completed steps */
.step.completed .step-icon::after {
    content: '✓';
    position: absolute;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

/* Error state */
.step.error .step-icon {
    background-color: #dc3545;
    color: white;
}

.step.error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
}

/* Progress modal specific styles */
#write-full-article-progress-modal .aiautotool-modal-content {
    max-width: 500px;
    min-height: 400px;
}

#write-full-article-progress-modal .aiautotool-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

#write-full-article-progress-modal .aiautotool-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#write-full-article-progress-modal .aiautotool-modal-body {
    padding: 30px;
    background-color: #f8f9fa;
}

/* Progress completion animation */
@keyframes completionPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.progress-fill.completed {
    animation: completionPulse 0.5s ease-out;
}

/* ===== SMART BUTTON GROUPS STYLES ===== */

.aiautotool-button-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    align-items: center;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.aiautotool-category-container {
    position: relative;
}

.aiautotool-category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid var(--category-color);
    border-radius: 8px;
    background: white;
    color: var(--category-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 120px;
    justify-content: space-between;
}

.aiautotool-category-btn:hover {
    background: var(--category-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.aiautotool-category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 999999;
    margin-top: 4px;
    padding: 8px;
    animation: dropdownFadeIn 0.2s ease;
}

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

.aiautotool-dropdown-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.aiautotool-dropdown-btn:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.aiautotool-dropdown-btn.premium {
    border-left: 3px solid #f59e0b;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.button-description {
    font-size: 12px;
    color: #6b7280;
    margin-left: 24px;
    line-height: 1.4;
}

.premium-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aiautotool-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    min-width: 120px;
    z-index: 999999;
    animation: submenuFadeIn 0.15s ease;
}

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

.aiautotool-submenu-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 13px;
}

.aiautotool-submenu-item:hover {
    background: #f3f4f6;
    color: var(--category-color);
}

.aiautotool-language-container {
    margin-left: auto;
}

.aiautotool-language-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aiautotool-language-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.aiautotool-language-select:hover {
    border-color: #3b82f6;
}

/* Category-specific colors */
.aiautotool-category-btn[style*="--category-color: #3b82f6"] {
    --category-color: #3b82f6;
}

.aiautotool-category-btn[style*="--category-color: #10b981"] {
    --category-color: #10b981;
}

.aiautotool-category-btn[style*="--category-color: #f59e0b"] {
    --category-color: #f59e0b;
}

.aiautotool-category-btn[style*="--category-color: #8b5cf6"] {
    --category-color: #8b5cf6;
}

/* Responsive design */
@media (max-width: 768px) {
    .aiautotool-button-groups {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .aiautotool-category-btn {
        min-width: auto;
        justify-content: space-between;
    }
    
    .aiautotool-category-dropdown {
        min-width: 100%;
        left: 0;
    }
    
    .aiautotool-language-container {
        margin-left: 0;
        margin-top: 8px;
        order: -1;
    }
    
    .aiautotool-submenu {
        left: 0;
        top: 100%;
        min-width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
   
    
    .aiautotool-category-btn {
        background: #374151;
        color: var(--category-color);
        border-color: var(--category-color);
    }
    
    .aiautotool-category-dropdown {
        background: #374151;
        border-color: #4b5563;
    }
    
    .aiautotool-dropdown-btn:hover {
        background: #4b5563;
    }
    
    .button-description {
        color: #9ca3af;
    }
    
    .aiautotool-language-select {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
}

/* Loading states */
.aiautotool-dropdown-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.aiautotool-dropdown-btn.loading::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid var(--category-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success states */
.aiautotool-dropdown-btn.success {
    background: #10b981;
    color: white;
}

.aiautotool-dropdown-btn.success .button-content {
    color: white;
}

/* Error states */
.aiautotool-dropdown-btn.error {
    background: #ef4444;
    color: white;
}

.aiautotool-dropdown-btn.error .button-content {
    color: white;
}

/* Tooltip styles */
.aiautotool-dropdown-btn[data-tooltip] {
    position: relative;
}

.aiautotool-dropdown-btn[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 999999;
    margin-bottom: 4px;
}

.aiautotool-dropdown-btn[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1f2937;
    margin-bottom: -4px;
}

/**
 * API Manager Specific Styles
 * Tabs styles are in tabs-common.css
 * This file only contains API key management specific styles
 */

/* API Keys Manager Container */
.api-keys-manager {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
}

/* Keys List */
.api-keys-list {
    margin: 20px 0;
}

/* API Key Item */
.api-key-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.api-key-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #2271b1;
}

.api-key-item.disabled {
    opacity: 0.6;
    background: #f0f0f0;
}

/* API Key Info */
.api-key-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.api-key-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.api-key-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.api-key-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.api-key-status-badge.active {
    background: #d4edda;
    color: #155724;
}

.api-key-status-badge.disabled {
    background: #f8d7da;
    color: #721c24;
}

.api-key-value {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: inline-block;
}

/* API Key Stats */
.api-key-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.api-key-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.api-key-stat i {
    color: #2271b1;
}

/* API Key Actions */
.api-key-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.api-key-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.api-key-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-test {
    background: #2271b1;
    color: white;
}

.btn-test:hover {
    background: #135e96;
}

.btn-toggle {
    background: #f0f0f0;
    color: #333;
}

.btn-toggle:hover {
    background: #e0e0e0;
}

.btn-remove {
    background: #dc3545;
    color: white;
}

.btn-remove:hover {
    background: #c82333;
}

/* Add Key Form */
.add-key-form {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.add-key-form h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.form-group input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.btn-add-key {
    background: #00875c;
    color: white;
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-add-key:hover {
    background: #00684a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-add-key:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Rotation Info */
.rotation-info {
    background: #e7f3ff;
    border-left: 4px solid #2271b1;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.rotation-info p {
    margin: 0;
    font-size: 13px;
    color: #333;
}

.rotation-info strong {
    color: #2271b1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .api-key-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .api-key-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .api-key-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   AI Auto Tool - Log Section Styles
   ============================================ */

/* Log Container */
.aiautotool-log-container {
    padding: 0;
    max-width: 100%;
}

/* Log Header */
.aiautotool-log-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.aiautotool-log-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.aiautotool-log-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.aiautotool-log-title i {
    color: var(--aiautotool-color, #00875c);
    font-size: 26px;
}

/* Clear Log Button */
.aiautotool-log-clear-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    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 8px rgba(255, 107, 107, 0.2);
}

.aiautotool-log-clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
}

.aiautotool-log-clear-btn:active {
    transform: translateY(0);
}

.aiautotool-log-clear-btn i {
    font-size: 14px;
}

/* Stats Section */
.aiautotool-log-stats {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.aiautotool-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aiautotool-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--aiautotool-color, #00875c);
}

.aiautotool-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--aiautotool-color, #00875c) 0%, #00a86b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    flex-shrink: 0;
}

.aiautotool-stat-content {
    flex: 1;
}

.aiautotool-stat-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aiautotool-stat-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.aiautotool-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--aiautotool-color, #00875c);
    line-height: 1;
}

.aiautotool-stat-separator {
    font-size: 20px;
    color: #adb5bd;
    font-weight: 400;
}

.aiautotool-stat-total {
    font-size: 20px;
    color: #495057;
    font-weight: 600;
}

/* Logs Wrapper */
.aiautotool-logs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Log Table Styles */
#tab-log-schedule .widefat {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

#tab-log-schedule .widefat thead {
    background: linear-gradient(135deg, var(--aiautotool-color, #00875c) 0%, #00a86b 100%);
}

#tab-log-schedule .widefat thead th {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 16px 20px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

#tab-log-schedule .widefat thead th:first-child {
    width: 200px;
    min-width: 200px;
}

#tab-log-schedule .widefat tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

#tab-log-schedule .widefat tbody tr:last-child {
    border-bottom: none;
}

#tab-log-schedule .widefat tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#tab-log-schedule .widefat tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #495057;
    vertical-align: top;
    border: none;
}

#tab-log-schedule .widefat tbody td:first-child {
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    background-color: #f8f9fa;
    border-right: 2px solid #e8e8e8;
}

#tab-log-schedule .widefat tbody td:last-child {
    color: #6c757d;
    line-height: 1.6;
    word-break: break-word;
}

#tab-log-schedule .widefat tbody td a {
    color: var(--aiautotool-color, #00875c);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

#tab-log-schedule .widefat tbody td a:hover {
    color: #00a86b;
    text-decoration: underline;
}

/* Log Data Formatting */
.aiautotool-log-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aiautotool-log-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.aiautotool-log-item:last-child {
    border-bottom: none;
}

.aiautotool-log-key {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
    flex-shrink: 0;
    text-transform: capitalize;
}

.aiautotool-log-value {
    color: #6c757d;
    flex: 1;
    word-break: break-word;
}

.aiautotool-log-value-title {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
    word-break: break-word;
}

.aiautotool-log-link {
    color: var(--aiautotool-color, #00875c);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex: 1;
}

.aiautotool-log-link:hover {
    color: #00a86b;
    text-decoration: underline;
}

.aiautotool-log-link i {
    font-size: 11px;
    opacity: 0.7;
}

/* Empty State */
#tab-log-schedule .widefat tbody:empty::after {
    content: "No logs available";
    display: block;
    padding: 40px 20px;
    text-align: center;
    color: #adb5bd;
    font-style: italic;
}

/* Log Section (wrapper for each log type) */
.aiautotool-log-section {
    margin-bottom: 40px;
}

.aiautotool-log-section:last-child {
    margin-bottom: 0;
}

/* Log Section Title (for each log type) */
.aiautotool-log-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiautotool-log-section-title i {
    color: var(--aiautotool-color, #00875c);
    font-size: 20px;
}

/* Responsive Design for Log Section */
@media (max-width: 768px) {
    .aiautotool-log-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .aiautotool-log-clear-btn {
        width: 100%;
        justify-content: center;
    }
    
    .aiautotool-log-stats {
        flex-direction: column;
    }
    
    .aiautotool-stat-card {
        min-width: 100%;
    }
    
    #tab-log-schedule .widefat {
        font-size: 12px;
    }
    
    #tab-log-schedule .widefat thead th,
    #tab-log-schedule .widefat tbody td {
        padding: 12px 15px;
    }
    
    #tab-log-schedule .widefat thead th:first-child {
        width: 150px;
        min-width: 150px;
    }
    
    #tab-log-schedule .widefat tbody td:first-child {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .aiautotool-log-title {
        font-size: 20px;
    }
    
    .aiautotool-stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    #tab-log-schedule .widefat {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #tab-log-schedule .widefat thead th:first-child {
        width: 120px;
        min-width: 120px;
    }
}
