: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;}


 .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:befor{
  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;
}

.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: 350px;
    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;
}

.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_box_f_box {
            position: relative;
            width: 48%; /* Sử dụng % để tự động co lại theo kích thước màn hình */
            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;
        }

        .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;
            }
        }

        /* 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: Arial, sans-serif;
            background-color: #f2f2f2;
        }

        .aiautotool_form_canonical_tab {
            display: none;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .aiautotool_form_canonical_h2 {
            font-size: 24px;
            margin: 0 0 20px;
            color: #333;
        }

        .aiautotool_form_canonical_header {
            background-color: #007bff;
            color: #fff;
            padding: 10px;
            margin-bottom: 20px;
            border-radius: 5px 5px 0 0;
        }

        .aiautotool_form_canonical_header_step2 {
            background-color: #33cc33;
        }

        .aiautotool_form_canonical_header_step3 {
            background-color: #ff9933;
        }

        .aiautotool_form_canonical_input {
            padding: 10px;
            width: 100%;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .aiautotool_form_canonical_table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .aiautotool_form_canonical_th, .aiautotool_form_canonical_td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }

        .aiautotool_form_canonical_td:hover{
            cursor: zoom-in;
            background:#309e4736;
        }
        .aiautotool_form_canonical_th {
            background-color: #f2f2f2;
            font-weight: bold;
        }

        .aiautotool_form_canonical_button {
            background-color: #007bff;
            color: #fff;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            padding: 12px 20px;
            margin: 5px;
        }

        .aiautotool_form_canonical_button:hover {
            background-color: #0056b3;
        }

        .aiautotool_form_canonical_button_center {
            text-align: center;
        }

        .aiautotool_form_canonical_checkbox-label {
            display: flex;
            align-items: center;
        }

        .aiautotool_form_canonical_checkbox-label input[type="checkbox"] {
            margin-right: 10px;
        }

        .aiautotool_form_canonical_loading {
            display: none;
            color: #007bff;
            font-size: 24px;
            margin-top: 20px;
        }




         /* CSS cho container */
        .aiautotool_canonical_container {
            display: flex;
            flex-direction: row;
        }

        /* CSS cho box bên trái */
        .aiautotool_canonical_box_left {
            flex: 1;
            padding: 20px;
            background-color: #f0f0f0;
            box-shadow: 3px 3px 5px #888888;
        }

        /* CSS cho box bên phải (ẩn ban đầu) */
        .aiautotool_canonical_box_right {
            display: none;
            flex: 2;
            padding: 20px;
            background-color: #e0e0e0;
            box-shadow: 3px 3px 5px #888888;
        }

        /* CSS cho table header */
        .aiautotool_table_header {
            background-color: #3498db;
            color: #ffffff;
            font-weight: bold;
        }

        /* CSS cho button */
        .aiautotool_button {
            background-color: #27ae60;
            color: #ffffff;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }


/*     301 css   */
 .aiautotool_301_redirect_form {
            text-align: center;
            background-color: #f7f7f7;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            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: -300px;
            width: 300px;
            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: 20px !important;
            background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
            border-radius: 12px;
            margin: 15px;
            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);
        }

        #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: 252px;
            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;
            }
        }

        @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: -300px;
                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);
        }




    @import url('https://fonts.googleapis.com/css?family=Oswald|Nunito|Josefin+Sans|Montserrat|Roboto+Condensed|Open+Sans|Raleway|Playfair+Display|Inter|Lora|Quicksand|Kanit|Comfortaa|Prompt|IBM+Plex+Serif|Spectral|Philosopher:ital|Taviraj|Readex+Pro|Anybody');
: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;
}
.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 + .aiautotool_container .ftder {
  background-color:var(--aiautotool-color);
}
.aiautotool_container input:checked + .aiautotool_container .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 6 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 6 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: 1000000000001; /* Cao hơn z-index của aiautotool_bar_right */
            display: none;
            animation: fadeIn 0.3s ease;
        }

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

        .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: 90%;
            min-width: 70%;
            min-height: 300px;
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translate(-50%, -60%);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        .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-template-columns: auto 370px;
  grid-gap: 20px;
  max-width: 1500px;
}
.ft-sidebar-right {
  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;
}

/* 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;
    }
}

/* Responsive cho modal */
@media (max-width: 768px) {
    .aiautotool-modal-content {
        max-width: 95%;
        min-width: 90%;
        padding: 15px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .aiautotool-modal-content {
        max-width: 98%;
        min-width: 95%;
        padding: 10px;
        margin: 5px;
    }
}



