/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.instagram-sync-wrapper input,.instagram-sync-wrapper button{
    margin-left: 0px !important;
}
.instagram-sync-wrapper label{
    font-weight: 700;
    text-align: left;
}
input[name="instagram_id"]{
    height: 54px;
    margin: 0;
    font-size: 20px;
    font-family: canada-type-gibson, sans-serif;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #917f9e;
    background: #fff;
}
.instagram-posts-sync,.instagram-sync-wrapper{
	margin-bottom: 20px;
    gap: 1em;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
.posts-images{
    border-radius: 6px;
    position: relative;
    width: 30%;
    height: 140px;
    overflow: hidden;
}
.chk-img-box{
    width:100%;border-radius:4px;
    height: 140px;
    min-height: 140px;
}
.likecounts{
    font-size: 15px;
    position: absolute;
    color: white;
    bottom: 10px;
    left: 20%;
    display: none;
}
.checkboxhiddenclass{
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 100;
    left: 0;
}
.posts-imagesblurclass{
   border-radius: 6px;
   position: relative;
   width: 30%;
   box-shadow: 0px 0px 11px 0px #000000ad;
}

.posts-images .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* black with opacity */
  opacity: 0;
  pointer-events: none; /* So clicks pass through */
  transition: opacity 0.3s ease;
}

.posts-imagesblurclass .overlay {
  opacity: 1;
}

.custom-section:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.insta-profile-card {
    display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  gap: 20px;
  max-width: 600px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}
.custom-section{
    display: none;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  gap: 20px;
  max-width: 600px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;  
}

.insta-profile-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.profile-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e1306c;
}

.profile-info {
  flex: 1;
}

.fullname {
  font-size: 1.4rem;
  margin: 0 0 5px;
  font-weight: 600;
}

.username {
  color: #888;
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.bio {
  font-size: 0.95rem;
  margin: 0 0 15px;
  color: #333;
}

.stats {
  display: flex;
  gap: 30px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  color: #000;
}

.stat span {
  font-size: 0.85rem;
  color: #666;
}
.wphiddenstory,.wphiddenposts{
    display: none;
}
.insta-profile-card-hidden{
    display: none;
}
.wphidden{
    display: none;
    justify-content: center;
    align-items: center;
}
.instagram-field{
    display: flex;
}
.remove-field{
background: red;
    color: white;
    border-radius: 4px;
}
#add-instagram-field{
    background: #3dac4d;
    color: white;
    border-radius: 4px;
}
button[name="save_instagram_ids"]{
     background: #551e70;
    color: white;
    border-radius: 4px;
}


@media(max-width:786px){
    .custom-section{
        max-width: 100%;
    }
    .posts-images {
        width: 100%;
    }
    .posts-imagesblurclass {
        width: 100%;
    }
    .profile-info{
            justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        }
    .profile-image{
        width:100%;
    }
    .insta-profile-card {
    flex-direction: column;
        
    }
    .profile-image img {
        width:100%;
    }
}


