.microchip-search-form input[type="text"] {
    width: 100%;
    height: 30px;
    padding: 4px 35px 4px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: -5px;
}

.microchip-search-form button {
    position: absolute;
    right: 5px;
    top: 75%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #aaa;
}

.microchip-search-form button:hover {
    color: #333;
}

.microchip-search-form svg {
    width: 18px;
    height: 18px;
}

.back-home {
    padding: 10px 0;
    display: block;
    max-width: 150px;
    margin: 0 auto;
    background: #cc0000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    border-radius: 3px;
}

.back-home:hover {
    color: #fff;
    background:  #9b0000;
}

.error, .searching {
    font-size: 12px;
    margin: 0;
    padding: 0;
    position: absolute;
    color: #000;
    left: 0;
}

.pet-profile-container {
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 800px;
    margin: 0 auto;
}

.owner-info {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.owner-info h3 {
    margin-top: 0;
    color: #005aa7;
}

.pet-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.pet-info img {
    max-width: 300px;
}

.pet-info h3 {
    color: #000000;
    margin-top: 0;
}

.microchip-number {
    font-size: 18px;
    font-weight: bold;
    background: #c00;
    color: #fff;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 15px;
}

.search-wrap {
    padding: 15px 15px 0 15px;
}

.pet-search-hero {
    background-size: cover;
    background-position: center;
    padding: 0 20px 60px;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: -30px;
    margin-bottom: 40px;
}

.pet-search-hero-inner {
    background-image: url(https://basepets.site/wp-content/plugins/pet-microchip-search/img/new-top-search-block-bg1.png);
    width: 1280px;
    height: 345px;
    margin: 0 auto;
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 50px 50px 50px 150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
}

.pet-search-hero-text {
    display: block;
    position: relative;
    max-width: 50%;
}

.microchip-search-form {
    display: block;
    position: relative;
    max-width: 50%;
    margin-bottom: 30px;
}

.pet-search-input {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

#microchip-input-hero {
    padding: 12px 20px;
    font-size: 16px;
    width: 300px;
    border: none;
    border-radius: 8px;
}

#microchip-search-btn-hero {
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 18px;
    cursor: pointer;
}

.pet-search-hero-text {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
}

.pet-search-hero-text a.button{
    font-size: 16px;
}

.pet-search-hero-inner .microchip-search-form button  {
    background-color: #3960fe;
    color: #fff;
    right: 3px;
    padding: 0 15px;
    border-radius: 3px;
    height: 25px;
}

#search-results-container-top-form .error {
    color: #000;;
}


@media (max-width: 1400px){
    .pet-search-hero-inner {
        background-image: url(https://basepets.site/wp-content/plugins/pet-microchip-search/img/new-top-search-block-bg1.png);
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 20px 30px;
        background-size: 160%;
    }
    .pet-search-hero-text {
        font-size: 16px;
    }
    .pet-search-hero-text {
        max-width: 100%;
    }
}

@media (max-width: 991px){
    .pet-search-hero-inner {
        background-size: 200%;
    }
}

@media (max-width: 768px) {
/*  .pet-search-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    background-image: none;
    background-color: #ecf1f8;
    text-align: center;
    height: auto;
  }

  .microchip-search-form,
  .pet-search-hero-text {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 30px 0 0 0;
    text-align: center;
  }

  .pet-search-input {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .microchip-search-form input[type="text"] {
    height: 30px;
    position: relative;
    overflow: hidden;
  }

  #microchip-input-hero {
    width: 100%;
  }

  #microchip-search-btn-hero {
    width: 100%;
    border-radius: 8px;
  }
  .pet-search-hero-inner .microchip-search-form button {
    top: 65px;
    height: 25px;
    right: 3px;
  }
  .pet-profile-container {
    width: 100%;
  }*/
    .pet-search-hero-inner {
        width: 100%;
        height: auto;
        padding: 10px 20px;
        background-position: 58%;
        background-size: 270% auto;
    }

    .microchip-search-form,
    .pet-search-hero-text {
        max-width: 80%;
    }

    .pet-search-hero-text p, .pet-search-hero-text p span {
        font-size: 14px!important;
    }

    .microchip-search-form input[type="text"] {
        height: 30px;
        position: relative;
        overflow: hidden;
    }

    .pet-profile-container {
        width: 100%;
    }

}


