/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Custom Checkbox and Radio Button Styles */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

input[type="checkbox"] {
  border-radius: 4px;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: #923131;
  background-color: #923131;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: #923131;
}

input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
}

/* Focus state */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  border-color: #923131;
  box-shadow: 0 0 0 3px rgba(146, 49, 49, 0.2);
}

/* Terms acceptance checkbox specific styling */
.terms-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
}

.terms-acceptance .checkbox-label {
  font-size: 15px;
}

.terms-acceptance input[type="checkbox"]:checked::before {
  left: 7px;
  top: 3px;
}

/* License Purchase Page Styles */
.license-purchase-container {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.license-purchase-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.license-purchase-header h1 {
  color: #923131;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Two Column Layout */
.license-purchase-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.license-form-column {
  min-width: 0; /* Prevents overflow */
}

.song-details-column {
  position: sticky;
  top: 2rem;
}

.song-details-column .song-details {
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.song-details {
  display: block;
  margin-bottom: 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.song-cover {
  margin-bottom: 1rem;
  text-align: center;
}

.song-cover img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.song-cover-placeholder {
  width: 200px;
  height: 200px;
  max-width: 100%;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin: 0 auto;
}

.song-info {
  text-align: center;
}

.song-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #333;
}

.song-artist {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #666;
}

.song-metadata {
  display: block;
  font-size: 0.925rem;
  color: #777;
  text-align: left;
}

.song-metadata>div {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 5px;
  border-left: 3px solid #923131;
}

.song-metadata .label {
  font-weight: 600;
  color: #555;
  display: inline-block;
  min-width: 70px;
}

.license-purchase-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.license-purchase-form h3 {
  margin-bottom: 1.25rem;
  color: #923131;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.75rem;
  font-size: 1.25rem;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #444;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #923131;
  outline: none;
  box-shadow: 0 0 0 2px rgba(146, 49, 49, 0.1);
}

.form-row textarea {
  min-height: 80px;
  resize: vertical;
}

.card-expiry-cvc {
  display: flex;
  gap: 1.5rem;
}

.card-expiry,
.card-cvc {
  flex: 1;
}

.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  margin-bottom: 0.75rem;
  font-weight: normal;
  padding-left: 1.75rem;
  position: relative;
  align-items: center;
  min-height: 25px;
}

.checkbox-group label input {
  position: absolute;
  left: 0;
  top: 0.25rem;
}

.radio-options {
  margin-top: 0.5rem;
  display: flex;
}

.radio-options label {
  display: block;
  margin-bottom: 1.25rem;
  font-weight: normal;
  padding-left: 1.75rem;
  position: relative;
  margin-right: 30px;
}

.radio-options label input {
  position: absolute;
  left: 0;
  top: 0.3rem;
}

.radio-label {
  display: inline-block;
  vertical-align: top;
}

.radio-label strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #333;
}

.radio-label .description {
  display: block;
  margin-bottom: 0.3rem;
  color: #555;
  font-size: 0.9rem;
}

.custom-arrangement-wrapper textarea {
  display: none;
  margin-top: 0.75rem;
}

.custom-arrangement-wrapper label {
  display: inline-block;
  margin-left: 0.5rem;
}

.contact-us-message {
  margin: 2rem 0;
  padding: 1.25rem;
  background-color: #f9f9f9;
  border-left: 4px solid #923131;
  font-size: 0.975rem;
  border-radius: 0 4px 4px 0;
}

.license-summary {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background-color: #f9f9f9;
  border-radius: 6px;
}

.license-summary h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 1.1rem;
}

#license_summary_text {
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Customer Information Section */
.customer-info-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.customer-info-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #923131;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.75rem;
  font-size: 1.25rem;
}

/* Conditional Fields */
.conditional-fields {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #923131;
}

.conditional-fields h4 {
  margin: 0 0 1rem 0;
  color: #923131;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
}

/* Error Messages */
.error-message {
  background: #f8d7da !important;
  color: #721c24 !important;
  padding: 15px !important;
  border: 1px solid #f5c6cb !important;
  border-radius: 5px !important;
  margin-bottom: 20px !important;
  font-weight: 500;
}

/* Form Input Styles */
.form-row input[type="tel"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-row input[type="tel"]:focus {
  border-color: #923131;
  outline: none;
  box-shadow: 0 0 0 2px rgba(146, 49, 49, 0.1);
}

.checkbox-agree {
  margin: 1.5rem 0;
}

.checkbox-agree label {
  display: inline-block;
}

.card-details {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.total-amount {
  text-align: right;
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.total-amount h3 {
  display: inline-block;
  margin: 0;
  border: none;
  padding: 0;
}

#license_total {
  font-size: 1.5rem;
  color: #923131;
  font-weight: bold;
  margin-left: 0.5rem;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.submit-button {
  background-color: #923131;
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1.125rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(146, 49, 49, 0.2);
}

.submit-button:hover {
  background-color: #7a2828;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(146, 49, 49, 0.3);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(146, 49, 49, 0.2);
}

@media (max-width: 1024px) {
  .license-purchase-layout {
    grid-template-columns: 1fr 350px;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .license-purchase-container {
    padding: 1rem;
  }

  .license-purchase-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .song-details-column {
    position: static;
    order: -1; /* Show song details first on mobile */
  }

  .song-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .song-cover {
    margin-bottom: 1rem;
    text-align: center;
  }

  .song-cover img {
    max-width: 150px;
  }

  .song-cover-placeholder {
    width: 150px;
    height: 150px;
  }

  .song-info {
    text-align: center;
    width: 100%;
  }

  .song-metadata {
    text-align: left;
  }

  .card-expiry-cvc {
    flex-direction: column;
    gap: 1rem;
  }

  .license-purchase-form {
    padding: 1.5rem;
  }
}

/* Artists Grid Widget Styles */
.artists-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.artist-item {
  text-align: center;
  transition: all 0.3s ease;
}

.artist-item a {
  text-decoration: none;
  display: block;
}

.artist-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5)
}

.artist-name {
  margin-top: 10px;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.artist-item:hover {
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .artists-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .artists-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .artists-grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Artist Search Widget Styles */
.artist-search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  /* Ensure it can take full width */
}

.artist-search-form {
  width: 100%;
  max-width: 100%;
  /* Ensure it can take full width */
}

.artist-search-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  /* Ensure it takes full width */
}

input.artist-search-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  padding: 12px 18px;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition: all 0.3s ease;
}

.artist-search-input:focus {
  border-color: #4054b2;
  box-shadow: 0 0 8px rgba(64, 84, 178, 0.2);
}

.artist-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4054b2;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: -10px;
}

.artist-search-button:hover {
  background-color: #2b3990;
}

.artist-search-button-icon {
  display: inline-flex;
  margin-right: 8px;
}

.artist-search-button-icon svg {
  width: 12px;
  fill: #fff;
}

/* Responsive adjustments for search */
@media (max-width: 767px) {
  .artist-search-button {
    padding: 0 12px;
  }

  .artist-search-button-text {
    display: none;
  }

  .artist-search-button-icon {
    margin-right: 0;
  }
}


/* Random Counter Widget Styles */
.random-counter-wrapper {
  padding: 10px;
}

.random-counter {
  font-weight: bold;
  transition: all 0.3s ease;
}

.random-counter-prefix,
.random-counter-suffix {
  font-weight: normal;
}




/* Add this to your style.css */

/* Artists Grid Filter Styles */
.artists-filter-container {
  margin-bottom: 30px;
}

.artists-search-container {
  margin-bottom: 20px;
  position: relative;
}

.artist-search-input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.artist-search-input:focus {
  border-color: #923131;
  box-shadow: 0 0 0 2px rgba(146, 49, 49, 0.1);
}

.artists-pricing-filters {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.pricing-filter-pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.pricing-filter-pill:hover,
.pricing-filter-pill.active {
  background-color: #923131;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(146, 49, 49, 0.2);
}

.pricing-filter-pill.active {
  position: relative;
}

.pricing-filter-pill.active:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.artists-sort-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}

.sort-label {
  margin-right: 10px;
  color: #666;
}

.sort-control {
  color: #333;
  margin-right: 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
}

.sort-control:hover {
  color: #923131;
}

.sort-control.active {
  color: #923131;
  font-weight: 600;
}

.sort-control.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #923131;
  border-radius: 1px;
}

/* Responsive adjustments for filter controls */
@media (max-width: 767px) {

  .artists-pricing-filters,
  .artists-sort-filters {
    justify-content: center;
  }

  .sort-label {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* Loading overlay */
.artists-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.artists-loading-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(146, 49, 49, 0.2);
  border-top-color: #923131;
  animation: artists-spin 0.8s infinite linear;
}

@keyframes artists-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Artist Single Page Styles */
.artist-single-container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.artist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.artist-pricing-tier {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 10px;
}

.artist-pricing-tier.standard {
  background-color: #e0f7fa;
  color: #00838f;
}

.artist-pricing-tier.premium {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.artist-pricing-tier.super-premium {
  background-color: #fff8e1;
  color: #ff8f00;
}

.artist-pro {
  font-size: 14px;
  color: #666;
}

.back-to-artists .back-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.back-to-artists .back-link:hover {
  background-color: #e0e0e0;
}

.artist-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.artist-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.artist-image-container {
  flex: 0 0 300px;
}

.artist-profile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.artist-profile-placeholder {
  width: 100%;
  height: 300px;
  background-color: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-profile-placeholder .dashicons {
  font-size: 64px;
  width: 64px;
  height: 64px;
  color: #ccc;
}

.artist-details {
  flex: 1;
  min-width: 300px;
}

.artist-bio h3 {
  margin-top: 0;
  color: #923131;
  font-size: 24px;
  margin-bottom: 15px;
}

.bio-content {
  line-height: 1.6;
  color: #444;
}

.artist-gallery {
  margin-top: 40px;
}

.artist-gallery h3 {
  color: #923131;
  font-size: 24px;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.artist-songs {
  margin-top: 40px;
}

.artist-songs h2 {
  color: #923131;
  font-size: 28px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .artist-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-artists {
    margin-top: 15px;
  }

  .artist-info-wrapper {
    flex-direction: column;
  }

  .artist-image-container {
    flex: 0 0 100%;
  }
}

/* Artist page songs list styling */
.artist-single-container .artist-songs {
  margin-top: 40px;
}

.artist-single-container .artist-songs h2 {
  margin-bottom: 20px;
  color: #923131;
  font-size: 28px;
}

.artist-single-container .songs-list-container {
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 15px;
}

.artist-single-container .songs-filter-container {
  background-color: #fff;
  border: 1px solid #e0e0e0;
}

/* Highlight that this is filtered by artist */
.artist-single-container .songs-filter-container:before {
  content: "Showing this artist's songs only";
  display: block;
  padding: 8px 15px;
  background-color: #f8f9ff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  color: #555;
  text-align: center;
}

.add-new-song-button:hover {
  color: #fff;
  background-color: #d92026;
}

.custom-details-textarea {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    margin-left: 1.75rem;
    min-height: 80px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.custom-details-textarea:focus {
    border-color: #923131;
    outline: none;
    box-shadow: 0 0 0 2px rgba(146, 49, 49, 0.1);
}