.filepond--action-process-item{
    display: none;
}

.profacefinder form{
    display: none;
}

.profacefinder .form-fields{
    display: flex;
    column-gap: 2px;
    justify-content: center;
}

.profacefinder-progress-text {
    position: relative;
}

.profacefinder-progress-text .v-progress {
    width: 5px;
    background-color: #cdcdcd;
    position: absolute;
    left: 12px;
    top: 32px;
    bottom: 14px
}

.profacefinder-progress-text ul li {
    color: #767676;
    font-size: 14px;
    line-height: 16px;
    position: relative;
    list-style: none;
    margin-bottom: 8px;
    white-space: nowrap
}

.profacefinder-progress-text ul li:before {
    font: var(--fa-font-solid);
    content: "\f058";
    color: #cdcdcd;
    font-size: 26px;
    position: relative;
    top: 8px;
    z-index: 2;
    margin-right: 12px
}

.profacefinder-progress-text ul li:after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #fff;
    position: absolute;
    left: 8px;
    top: 12px;
    z-index: 1
}

.profacefinder-progress-text ul li.active:before,ul.profacefinder-progress-text li.active {
    color: #31a865
}

.search-image-img{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.search-image-img.deepscan{
    background-image: url('../images/faceflip.gif') !important;
}

.search-image-img.hideuser{
    background-image: url('../images/hide_user.svg') !important;
}

.scanning::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 8px;
    background-image: linear-gradient(to bottom,
      rgba(9, 130, 182, 0.25),
      rgba(43, 191, 255, 0.7));
    animation: scanning 3s linear infinite;
    box-shadow: 0px 0px 16px rgb(4, 100, 185);
  }
  
  @keyframes scanning {
      100% { transform: translate(0, 190px); }
  }

  .toast-top-full-width{
    top: 2% !important;
  }

.search-progress-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-progress-bar {
    background-color: #f0f0f1;
    border-radius: 4px;
    height: 25px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-indicator {
    background-color: #2271b1;
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.search-status {
    text-align: center;
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.search-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.error-message {
    color: #721c24;
    margin-bottom: 10px;
    font-size: 14px;
}

.retry-button {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.retry-button:hover {
    background-color: #c82333;
}

.batch-progress-container {
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.batch-progress-container .progress {
    height: 25px;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.batch-progress-container .progress-bar {
    background-color: #007bff;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
    transition: width 0.3s ease;
}

.batch-progress-container .progress-bar.bg-danger {
    background-color: #dc3545;
}

.batch-progress-container .status-message {
    color: #333;
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.4;
}

.batch-progress-container .btn {
    margin-top: 10px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.batch-progress-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Css for Scanner */

.parent-div {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 20px auto;
    --bs-gutter-x: 0 !important;
  }
  
  @media (max-width: 768px) {
    .parent-div {
      position: relative;
      width: 300px;
      height: 300px;
      margin: 20px auto;
      --bs-gutter-x: 0 !important;
    }
  }
  
  .parent-div .corner {
    position: absolute;
    animation: scalePulse 2s infinite ease-in-out;
    transform-origin: center;
  }
  
  .parent-div .circle-border {
    width: 100%;
    height: 100%;
    border: 5px dashed lime;
    border-radius: 100%;
    box-sizing: border-box;
    animation: spin 8s linear infinite;
    position: absolute;
    z-index: 3;
  }
  
  .parent-div .circle-border-small {
    width: 93%;
    height: 93%;
    border: 4px solid transparent;
    border-top: 4px solid lime;
    border-right: 4px solid lime;
    border-radius: 100%;
    box-sizing: border-box;
    animation: spin2 4s linear infinite;
    position: absolute;
    top: 3.5%;
    left: 3.5%;
    z-index: 3;
  }
  
  .parent-div .h-line {
    width: 40px;
    height: 3px;
    background-color: lime;
    box-shadow: 0 0 15px lime;
  }
  
  .parent-div .v-line {
    width: 3px;
    height: 40px;
    background-color: lime;
    box-shadow: 0 0 15px lime;
  }
  
  .parent-div .scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: lime;
    z-index: 10;
    box-shadow: 0 0 15px lime, 0 0 30px lime, 0 0 45px lime,
      0 0 60px rgba(0, 255, 0, 0.5);
    transition: top 0.1s ease;
    opacity: 1;
  }
  
  .parent-div .blurred-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(10px);
    z-index: 1;
  }
  
  .parent-div .clear-image {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border-radius: 50%;
    z-index: 2;
    transition: filter 0.3s ease;
    object-fit: cover;
    object-position: center top;
  }
  
  @keyframes moveY {
    0% {
      top: 0;
    }
    50% {
      top: 100%;
    }
    100% {
      top: 0;
    }
  }
  
  @keyframes scalePulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
  }
  
  @keyframes spin2 {
    from {
      transform: rotate(360deg);
    }
    to {
      transform: rotate(0deg);
    }
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  /* Css for Search Result */
  .page-template-final-results .is-layout-constrained
    > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
  }
  
  .search-newdesign {
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
  }
  
  /* Others section styling */
  .search-newdesign .others {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .search-newdesign .others:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
  }
  
  .search-newdesign .others h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .search-newdesign .others p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .search-newdesign .others .others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .search-newdesign .others .other-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .search-newdesign .others .other-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  .search-newdesign .others .other-item h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  
  .search-newdesign .others .other-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  /* Responsive design for others section */
  @media (max-width: 768px) {
    .search-newdesign .others {
      padding: 20px;
      margin: 15px 0;
    }
  
    .search-newdesign .others h3 {
      font-size: 1.3rem;
      margin-bottom: 15px;
    }
  
    .search-newdesign .others .others-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .search-newdesign .others .other-item {
      padding: 15px;
    }
  }
  
  .search-newdesign .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .search-newdesign .main-content {
    padding: 0px !important;
    margin: 0px !important;
    min-height: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  
  .search-newdesign .image-section {
    position: relative;
  }
  
  .search-newdesign .main-image {
    width: 100%;
    height: 515px;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .search-newdesign .main-image:hover {
    transform: scale(1.02);
  }
  
  .search-newdesign .image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
  }
  
  .search-newdesign .info-section {
    display: flex;
    flex-direction: column;
  }
  
  .search-newdesign .subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .search-newdesign .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .search-newdesign .stat-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
  }
  
  .search-newdesign .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .search-newdesign .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  .search-newdesign .exif-data {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .search-newdesign .exif-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
  }
  
  .search-newdesign .exif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .search-newdesign .exif-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
  }
  
  .search-newdesign .exif-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 3px;
  }
  
  .search-newdesign .exif-value {
    font-weight: 600;
    color: #333;
  }
  
  .search-newdesign .results-section {
    margin-top: 30px;
  }
  
  .search-newdesign .section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .search-newdesign .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .search-newdesign .result-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .search-newdesign .result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  }
  
  .search-newdesign .result-image {
    width: 100%;
    height: 300px !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
  }
  
  .search-newdesign .result-card:hover .result-image {
    transform: scale(1.05);
  }
  
  .search-newdesign .result-info {
    padding: 25px;
  }
  
  .search-newdesign .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .search-newdesign .result-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
  }
  
  .search-newdesign .confidence-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .search-newdesign .result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .search-newdesign .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .search-newdesign .detail-label {
    color: #666;
    font-size: 0.9rem;
  }
  
  .search-newdesign .detail-value {
    font-weight: 500;
    color: #333;
  }
  
  .search-newdesign .status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
  }
  
  .search-newdesign .status-success {
    background-color: #4caf50;
  }
  .search-newdesign .status-warning {
    background-color: #ff9800;
  }
  .search-newdesign .status-info {
    background-color: #2196f3;
  }
  
  .search-newdesign .best-button {
    background: linear-gradient(135deg, #0077b5 0%, #00f2fe 100%);
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px #0077b5;
    margin-top: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .search-newdesign .best-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 0, 255, 0.4);
    background: linear-gradient(135deg, #0077b5 0%, #00f2fe 100%);
  }
  
  .search-newdesign .best-button i {
    font-size: 1rem;
  }
  
  .search-newdesign .social-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .search-newdesign .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
  }
  
  .search-newdesign .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .search-newdesign .social-facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
  }
  .search-newdesign .social-instagram {
    background: linear-gradient(135deg, #e4405f, #f093fb, #ffd54f);
  }
  .search-newdesign .social-linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
  }
  .search-newdesign .social-twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  }
  .search-newdesign .social-youtube {
    background: linear-gradient(135deg, #ff0000, #ff4444);
  }
  .search-newdesign .social-tiktok {
    background: linear-gradient(135deg, #000000, #ff0050);
  }
  
  /* Tablet Styles */
  @media (max-width: 1024px) {
    .search-newdesign .container {
      padding: 15px;
    }
  
    .search-newdesign .header {
      padding: 25px;
      margin-bottom: 25px;
    }
  
    .search-newdesign .main-content {
      gap: 30px;
    }
  
    .search-newdesign .main-image {
      height: 500px;
    }
  
    .search-newdesign .title-section h1 {
      font-size: 2.2rem;
    }
  
    .search-newdesign .results-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
  
    .search-newdesign .result-image {
      height: 158px !important;
    }
    .search-newdesign .result-info 
    {
      padding: 5px;
    }
  }
  
  /* Mobile Styles */
  @media (max-width: 768px) {

    .search-newdesign
    {
      padding: 5px !important;
    }

    .result-info a.open-link {
      word-break: break-word;
    }
    .search-newdesign .header {
      padding: 20px;
      margin-bottom: 20px;
    }
  
    .search-newdesign .main-content {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .search-newdesign .main-image {
      height: 300px;
    }
  
    .search-newdesign .image-overlay {
      bottom: 10px;
      left: 10px;
      right: 10px;
      padding: 10px;
      font-size: 12px;
    }
  
    .search-newdesign .title-section h1 {
      font-size: 1.8rem;
      text-align: center;
    }
  
    .search-newdesign .subtitle {
      font-size: 1rem;
      text-align: center;
    }
  
    .search-newdesign .stat-card {
      padding: 15px;
    }
  
    .search-newdesign .stat-number {
      font-size: 1.5rem;
    }
  
    .search-newdesign .exif-data {
      padding: 20px;
    }
  
    .search-newdesign .exif-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
  
    .search-newdesign .exif-item {
      padding: 10px 12px;
    }
  
    .search-newdesign .section-title {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
  
    .search-newdesign .results-grid {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 10px;
    }

    .search-newdesign .result-info 
    {
      padding: 5px;
    }

  
    .search-newdesign .result-image {
      height: 158px !important;
    }
  
    .search-newdesign .result-name {
      font-size: 1rem;
    }
  
    .search-newdesign .confidence-badge {
      padding: 4px 10px;
      font-size: 0.8rem;
    }
  
    .search-newdesign .detail-item {
      padding: 6px 0;
    }
  
    .search-newdesign .detail-label,
    .search-newdesign .detail-value {
      font-size: 0.85rem;
    }
  
    .search-newdesign .best-button {
      padding: 10px 15px;
      font-size: 0.85rem;
      margin-top: 10px;
    }
  }
  
  /* Small Mobile Styles */
  @media (max-width: 480px) {
    .search-newdesign .header {
      padding: 15px;
      margin-bottom: 15px;
    }
  
    .search-newdesign .main-image {
      height: 250px;
    }
  
    .search-newdesign .title-section h1 {
      font-size: 1.4rem;
      line-height: 1.3;
    }
  
    .search-newdesign .subtitle {
      font-size: 0.9rem;
      line-height: 1.5;
    }
  
    .search-newdesign .stat-card {
      padding: 12px;
    }
  
    .search-newdesign .stat-number {
      font-size: 1.3rem;
    }
  
    .search-newdesign .stat-label {
      font-size: 0.8rem;
    }
  
    .search-newdesign .exif-data {
      padding: 15px;
    }
  
    .search-newdesign .exif-title {
      font-size: 1rem;
      margin-bottom: 15px;
    }
  
    .search-newdesign .exif-item {
      padding: 8px 10px;
    }
  
    .search-newdesign .exif-label {
      font-size: 0.8rem;
    }
  
    .search-newdesign .exif-value {
      font-size: 0.85rem;
    }
  
    .search-newdesign .section-title {
      font-size: 1.3rem;
      margin-bottom: 15px;
    }
  
    .search-newdesign .result-image {
      height: 160px;
    }
  
    .search-newdesign .result-info {
      padding: 5px;
    }
  
    .search-newdesign .result-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 12px;
    }
  
    .search-newdesign .result-name {
      font-size: 0.95rem;
    }
  
    .search-newdesign .confidence-badge {
      align-self: flex-end;
      padding: 3px 8px;
      font-size: 0.75rem;
    }
  
    .search-newdesign .detail-item {
      padding: 5px 0;
    }
  
    .search-newdesign .detail-label,
    .search-newdesign .detail-value {
      font-size: 0.8rem;
    }
  
    .search-newdesign .best-button {
      padding: 8px 12px;
      font-size: 0.8rem;
      margin-top: 8px;
    }
  
    .search-newdesign .social-links {
      margin-top: 10px;
      gap: 8px;
    }
  
    .search-newdesign .social-link {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }
  
  .load-more-container {
    text-align: center;
    margin: 20px 0;
  }
  .load-more-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    font-weight: 700;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .load-more-btn:hover {
    background-color: #0056b3;
  }
  .load-more-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }

  button.btn.download-pdf.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border: none !important;
    transition: background-color 0.3s;
  }