/* hamsa-api-admin.css */

.wrap .app__logo {
  padding: 20px 20px 15px;
  background: #fff;
  margin-top: 10px;
}

.wrap .title__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
}

.wrap .title__wrapper > div{
  color: #000;
  font-size: 24px;
  font-weight: bold;
}

.wrap .title__wrapper .create_new_post,
.wrapper_container.api__key .button-primary,
.wrap .job__listing.no__job .create_new_post{
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  background-color: #97DE00;
  color: #000;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.wrap h1 {
  color: #000;
  /* WordPress admin blue */
  font-size: 24px;
  font-weight: bold;
}



.wrap p {
  font-size: 16px;
  color: #444;
}
.wrapper_container.api__key{
  background: #fff;
  padding: 20px;
}
.wrap .wrapper_container {

}

.wrap .image__thumbnail,
#hamsa-upload-image-button,
.wrap .video__thumbnail,
#thumbnail-container{
  margin-top: 20px;
}
.wrap .video__thumbnail video{
  max-height: 240px;
  width: 100%;
}
.wrap .image__thumbnail img,
#thumbnail-container img{
  width: 50%;
  height: 190px;
  object-fit: cover;
  border: .5px solid #e1e1e1;
  background: #f0f0f1;
}

.wrap form label{
  display: block;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #131313;
} 

.wrap form label input {
  width: 100%;
  margin-top: 10px;
  height: 37px;
  border: .5px solid #DBDFE2;
  color: #717D8F;
  font-weight: 400;
  font-size: 14px;
}
.wrap form label input::placeholder {
  color: #717D8F;
}

.wrap .hamsa-upload-box{
  width: 100%;
  border: .5px solid #DBDFE2;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
}

.wrap .hamsa-upload-box .upload___btn{
  font-size: 14px;
  color: #717D8F;
  font-weight: 600;
}
.wrap .hamsa-upload-box small{
  font-size: 10px;
  color: #717D8F;
  font-weight: 600;
}

.wrap .hamsa-upload-box .icon__wrap{
  height: 20px;
}

.wrap form .btns__wrap{
  margin-top: 20px;
  text-align: center;
  margin-bottom: 80px;
}

.wrap form .btns__wrap input{
  background-color: #E4E8EE;
  padding: 12px 16px 12px 16px;
  color: #717D8F;
  border: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 6px;
}
.wrap form .btns__wrap input.submit{
  background-color: #97DE00;
  color:#000;
}


/* Basic Table Style */
.wrap .job__listing{
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}
.wrap .job__listing.no__job{
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.wrap .job__listing.no__job .no_job_found{
  font-size: 20px;
  color:#000;
  font-weight: 600;
}
.job__listing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  font-family: Arial, sans-serif;
  text-align: left;
}

/* Table Header */
.job__listing th {
  padding: 12px 0;
  padding-top: 0;
  border-bottom: 1px solid #ddd;
  font-weight: 400;
}

/* Table Rows */
.job__listing td {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.job__listing tr:last-child td {
  border-bottom: 0;
  padding-bottom: 0px;
}

.job__listing td span {
  display: block;
  font-size: 12px;
  color: rgb(0 0 0 / 80%);
}

.job__listing td span.title {
  font-size: 16px;
  padding-bottom: 5px;
}

.job__listing td .status {
  background-color: #000;
  color: #fff;
  border-radius: 50px;
  padding: 5px 10px;
  float: left;
}

.job__listing td .status.completed {
  background-color: #26AB3F;
}

.job__listing td .status.failed {
  background-color: #AB2626;
}

.job__listing td .status.pending {
  background-color: #E19600;
}

.job__listing td .post_url {
  background-color: #E4E8EE;
  color: #717D8F;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.job__listing td .post_url svg path {
  stroke: #717D8F;
}

.job__listing td .post_url[href] {
  background-color: #97DE00;
  color: #000;
}

.job__listing td .post_url[href] svg path {
  stroke: #000;
}

/* Alternating Row Colors */
.job__listing tr:nth-child(even) {
  /* background-color: #f9f9f9;  */
}

/* Hover Effect */
.job__listing tr:hover {
  /* background-color: #e0e0e0; 
    transition: background-color 0.2s;  */
}


.wrap .hamsa-ai_sidebar_wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: #0E0C154D;
  display: none;
}
.wrap .hamsa-ai_sidebar_wrapper.active {
  display: block;
}

.wrap .hamsa-ai_add_new_post {
  position: fixed;
  width: 400px;
  height: 100%;
  top: 0;
  right: -400px;
  background: #F8FAFF;
  border:1px solid #B8C2DC;
  color: #000;
  padding: 50px 20px;
  transition: all 0.2s ease;
  overflow: auto;
}
.wrap .hamsa-ai_sidebar_wrapper.active .hamsa-ai_add_new_post {
  right: 0;
  transition: all 0.2s ease;
}

.wrap .sidebar_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #B8C2DC;
}

.wrap .sidebar_title h2 {
  font-size: 20px;
  font-weight: 400;
}

.wrap .tabs {
  border: .5px solid #DBDFE2;
  border-radius: 6px;
  padding: 2px;
  gap:2px;
  display: flex;
  margin-bottom: 5px;
  background: #fff;
}

.wrap .tab-button {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: transparent;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 14px;
  color: #717D8F;
  flex: 1 1 0px;
}

.wrap .tab-button.active {
  background-color: #97DE00;
  color: #000;
  font-weight: 600;
}

.wrap .tab-content {
  display: none;
}

.wrap .tab-content.active {
  display: block;
}


.wrap .toggle__btn{
  display: flex;
  align-items: center;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  gap: 20px;
}
.wrap .switch {
  position: relative;
  display: inline-block !important;
  width: 50px;
  height: 28px;
  margin-top: 0 !important;
}

.wrap .switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.wrap .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.wrap .switch .slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.wrap .switch input:checked + .slider {
  background-color: #97DE00;
}

.wrap .switch input:checked + .slider:before {
  transform: translateX(22px);
}
