/**
 * Custom Smart Banner - TValidator Styling
 * Matching the teal/turquoise brand gradient
 */

/* Banner container */
.custom-smartbanner-tvalidator {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  /* TValidator teal/turquoise gradient from brand */
  background: linear-gradient(135deg, #3da896 0%, #4db8a4 50%, #5cc9b5 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.custom-smartbanner-tvalidator.custom-smartbanner--visible {
  transform: translateY(0);
  opacity: 1;
}

.custom-smartbanner-tvalidator.custom-smartbanner--hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.custom-smartbanner-tvalidator .custom-smartbanner__container {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

/* App icon */
.custom-smartbanner-tvalidator .custom-smartbanner__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: white;
}

.custom-smartbanner-tvalidator .custom-smartbanner__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text content */
.custom-smartbanner-tvalidator .custom-smartbanner__info {
  flex: 1;
  min-width: 0;
}

.custom-smartbanner-tvalidator .custom-smartbanner__title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.custom-smartbanner-tvalidator .custom-smartbanner__author {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.custom-smartbanner-tvalidator .custom-smartbanner__price {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* View button - Clean white with subtle styling */
.custom-smartbanner-tvalidator .custom-smartbanner__button {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-smartbanner-tvalidator .custom-smartbanner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.custom-smartbanner-tvalidator .custom-smartbanner__button:active {
  transform: translateY(0);
}

/* Android - White button with teal text */
.custom-smartbanner-tvalidator.custom-smartbanner--android .custom-smartbanner__button {
  background: #ffffff;
  color: #3da896;
}

.custom-smartbanner-tvalidator.custom-smartbanner--android .custom-smartbanner__button:hover {
  background: #f0fffe;
  color: #2d8b7e;
}

/* iOS - White button with teal text */
.custom-smartbanner-tvalidator.custom-smartbanner--ios .custom-smartbanner__button {
  background: #ffffff;
  color: #4db8a4;
}

.custom-smartbanner-tvalidator.custom-smartbanner--ios .custom-smartbanner__button:hover {
  background: #f0fffe;
  color: #3da896;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .custom-smartbanner-tvalidator {
    padding: 10px 12px;
  }
  
  .custom-smartbanner-tvalidator .custom-smartbanner__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  
  .custom-smartbanner-tvalidator .custom-smartbanner__title {
    font-size: 14px;
  }
  
  .custom-smartbanner-tvalidator .custom-smartbanner__author {
    font-size: 12px;
  }
  
  .custom-smartbanner-tvalidator .custom-smartbanner__button {
    padding: 6px 16px;
    font-size: 13px;
  }
}