/* Container styling */
.theme-detector-container {
  margin: 30px auto;
  font-family: 'Roobert', sans-serif;
  padding: 20px;
  color: #222;
}

.detector-form {
  text-align: center;
  margin-bottom: 50px;
}

/* Title styling */
h1.theme-detector-title {
  font-size: 2.75rem;
  font-weight: normal;
  margin-bottom: 20px;
  font-family: 'BentonMod', serif;
}

.theme-detector-title span {
  font-family: 'Roobert', sans-serif;
  text-decoration: none;
}

/* Description styling */
.theme-detector-description {
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Label styling */
.theme-detector-label {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Input group styling */
.theme-detector-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 10px auto;
}

/* Input field styling */
.theme-detector-input-group input[type="url"] {
  width: 70%;
  padding: 15px 15px 15px 25px;
  font-size: 1rem;
  border: 1px solid #555;
  border-right: none;
  border-radius: 25px 0 0 25px;
  outline: none;
  transition: border-color 0.3s ease;
}

/* Button styling */
.theme-detector-button {
  padding: 15px 20px!important;
  font-size: 1rem;
  color: #fff!important;
  font-weight: bold!important;
  background-color: #dcb7eb!important; /* Light purple background */
  border: 1px solid #dcb7eb!important;
  border-radius: 30px!important;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: -30px!important;
}

/* Hover effects */
.theme-detector-button:hover {
  background-color: #c69dd9!important; /* Darker purple on hover */
}

/* Input field focus effect */
.theme-detector-input-group input[type="url"]:focus {
  border-color: #c69dd9; /* Change border color on focus */
}

/* Loading and results styling */
#std-loading {
  font-size: 1rem;
  color: #6a6a6a;
  text-align: center;
}

.results-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #DFDCF2; /* Light purple background */
    padding: 60px;
    border-radius: 15px; /* Rounded corners */
    gap: 100px; /* Space between content and screenshot */
  }
  
  .results-content {
    flex: 1; /* Takes up space next to the screenshot */
  }

  .not-shopify-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00a200; /* Green color for the success message */
    margin-bottom: 20px;
  }
  
  .success-message img,  .error-message img {
    width: 30px; /* Size of the success icon */
  }

  .success-message p, .error-message p {
    margin-bottom: 0;
  }

  .error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F44336;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    justify-content: center;
  }

  .results-container h2.not-shopify {
    font-family: 'BentonMod', serif;
    text-align: center;
    font-size: 2.25rem;
    font-weight: normal;
    margin-bottom: 20px;
  }
  
  .results-container h1 {
    font-family: 'BentonMod', serif!important;
    font-size: 2.25rem;
    font-weight: normal;
    margin-bottom: 20px;
  }
  
  .results-container h1 span {
    font-family: 'Roobert', sans-serif!important;
    font-size: 95%;
    text-decoration: underline;
  }
  
  .view-theme-button, .cta-primary {
    display: inline-block;
    background-color: #333; /* Dark background for the button */
    color: #fff;
    padding: 15px 25px;
    border-radius: 35px;
    text-decoration: none;
    margin: 20px auto;
    font-size: 1.2rem;
  }

  .view-theme-button:hover, .cta-primary:hover {
    color: #fff;
    background-color: #111;
  }
  
  .view-theme-button span {
    font-size: 1.5rem; /* Larger arrow */
    margin-left: 5px;
    transform: rotate(-45deg);
    display: inline-block;
  }

  .cta-services {
    margin-top: 10px;
  }
  
  .additional-info {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4em;
  }
  
  .cta-info {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    line-height: 1.4em
  }
  
  .cta-button {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid #333; /* Border for the secondary button */
    border-radius: 35px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
  }
  
  .theme-screenshot {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .theme-screenshot img {
    max-width: 100%;
    border-radius: 15px!important; /* Rounded corners for the image */
    border: 1px solid #777!important;
  }
  
  /* Responsive styles for smaller screens */
@media (max-width: 600px) {
  .theme-detector-label {
    font-size: 1rem;
  }

  .theme-detector-input-group {
      flex-direction: column; /* Stack the input and button vertically */
      align-items: stretch; /* Stretch items to full width */
  }

  .theme-detector-input-group input[type="url"] {
      margin-right: 0; /* Remove margin on smaller screens */
      margin-bottom: 10px; /* Add some space below the input */
      width: 100%; /* Full width */
      border-right: 1px solid #555;
      border-radius: 25px;
  }

  .theme-detector-button {
      width: 100%; /* Full width */
      margin-left: 0!important;
  }

  .results-container {
    flex-direction: column;
    padding: 30px;
    gap: 70px;
  }
}
