/* Olitt Domain Search WordPress Plugin - Complete Styles */

/* ============================================
   GENERAL STYLES
   ============================================ */

#olitt-domain-search-wrapper {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
}

#olitt-domain-search-wrapper * {
  box-sizing: border-box !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.olitt-hero-section {
  background: linear-gradient(135deg, #f5a623 0%, #f39c12 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}


.kadence-column37560_6d7214-d9 {
    z-index: auto !important;
}

.kadence-column37560_6d7214-d9 .kt-inside-inner-col {
    display: block !important;
}

#olitt-domain-search-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    z-index: 1 !important;
}

.olitt-hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.olitt-hero-section p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0.95;
}

.olitt-hero-section .olitt-tlds {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.olitt-search-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 60px 20px;
  /* Inherit background from parent instead of hardcoded white */
  background: inherit;
  display: block !important;
}

.olitt-search-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 30px;
}

.olitt-search-info {
  text-align: center;
  color: inherit;
  opacity: 0.8;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.olitt-info-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* ============================================
   TOGGLE SWITCH
   ============================================ */

.olitt-search-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
}

.olitt-toggle-btn {
  padding: 12px 30px;
  background: #fff;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
}

.olitt-toggle-btn:first-child {
  border-radius: 25px 0 0 25px;
  border-right: 1px solid #e0e0e0;
}

.olitt-toggle-btn:last-child {
  border-radius: 0 25px 25px 0;
  border-left: 1px solid #e0e0e0;
}

.olitt-toggle-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.olitt-toggle-btn:not(.active):hover {
  background: #f5f5f5;
}

.olitt-toggle-btn svg {
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================
   SEARCH INPUT
   ============================================ */

.olitt-search-wrapper {
  position: relative;
  margin-bottom: 20px;
  display: block !important;
  width: 100% !important;
}

.olitt-search-input {
  width: 100%;
  padding: 18px 140px 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.olitt-search-input:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.olitt-search-textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
}

.olitt-search-textarea:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.olitt-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 30px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olitt-search-btn:hover {
  background: #333;
  transform: translateY(-50%) scale(1.05);
}

.olitt-search-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.olitt-generate-btn {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.olitt-generate-btn:hover {
  background: #333;
  transform: scale(1.02);
}

.olitt-generate-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.olitt-pricing-info {
  text-align: center;
  color: inherit;
  opacity: 0.7;
  font-size: 0.95rem;
  margin-top: 15px;
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.olitt-loading {
  text-align: center;
  padding: 40px;
}

.olitt-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f5a623;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: olitt-spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes olitt-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============================================
   ERROR MESSAGE & NO RESULTS
   ============================================ */

.olitt-error-message {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

/* No Results Section - NEW */
.olitt-no-results {
  text-align: center;
  padding: 50px 20px;
}

.olitt-no-results svg {
  margin: 0 auto 20px;
  display: block;
  opacity: 0.3;
}

.olitt-no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #666;
}

.olitt-no-results p {
  color: #888;
  margin-bottom: 25px;
  font-size: 1rem;
}

/* Try AI Button - NEW */
.olitt-try-ai-btn {
  background: #000;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.olitt-try-ai-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.olitt-try-ai-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   RESULTS SECTION
   ============================================ */

.olitt-results-section {
  margin-top: 40px;
  display: block !important;
  width: 100% !important;
}

.olitt-main-result {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  transition: all 0.3s ease;
}

.olitt-main-result:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.olitt-domain-info {
  flex: 1;
  min-width: 250px;
}

.olitt-domain-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.olitt-status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.olitt-status-badge.olitt-status-available {
  background: #d4edda;
  color: #155724;
}

.olitt-status-badge.olitt-status-unavailable {
  background: #f8d7da;
  color: #721c24;
}

.olitt-pricing-info-result {
  text-align: right;
}

.olitt-price {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.olitt-renewal-price {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.olitt-register-btn,
.olitt-add-to-cart-btn {
  padding: 12px 30px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olitt-register-btn:hover,
.olitt-add-to-cart-btn:hover {
  background: #333;
  transform: scale(1.05);
}

.olitt-register-btn:disabled,
.olitt-add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.olitt-register-btn.olitt-in-cart,
.olitt-add-to-cart-btn.olitt-in-cart {
  background: #28a745;
}

.olitt-register-btn.olitt-in-cart:hover,
.olitt-add-to-cart-btn.olitt-in-cart:hover {
  background: #218838;
  transform: none;
}

/* ============================================
   BUNDLE SECTION
   ============================================ */

.olitt-bundle-section {
  background: #fff;
  border: 2px solid #f5a623;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.olitt-bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.olitt-bundle-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.olitt-bundle-extensions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.olitt-extension-badge {
  padding: 6px 14px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.olitt-bundle-pricing {
  text-align: right;
}

.olitt-bundle-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5a623;
  margin-bottom: 10px;
}

.olitt-add-bundle-btn {
  padding: 10px 25px;
  background: #f5a623;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olitt-add-bundle-btn:hover {
  background: #e69500;
  transform: scale(1.05);
}

.olitt-add-bundle-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.olitt-bundle-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

/* ============================================
   SUGGESTIONS SECTION
   ============================================ */

.olitt-suggestions-section {
  margin-top: 30px;
}

.olitt-suggestions-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.olitt-suggestions-list {
  display: grid;
  gap: 15px;
}

.olitt-suggestion-item {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  transition: all 0.3s ease;
}

.olitt-suggestion-item:hover {
  border-color: #f5a623;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.olitt-suggestion-name {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.olitt-suggestion-domain {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.olitt-suggestion-pricing {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.olitt-suggestion-price {
  text-align: right;
}

.olitt-suggestion-price .olitt-price {
  font-size: 1.5rem;
  margin-bottom: 3px;
}

.olitt-suggestion-price .olitt-renewal-price {
  margin-bottom: 0;
}

/* ============================================
   CART SECTION
   ============================================ */

.olitt-cart-section {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 998 !important;
}

.olitt-cart-toggle {
  width: 60px;
  height: 60px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.olitt-cart-toggle:hover {
  background: #333;
  transform: scale(1.1);
}

.olitt-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f5a623;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.olitt-cart-panel {
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 450px;
  max-width: 100%;
  background: #fff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999 !important;
  display: flex !important;
  flex-direction: column !important;
}

.olitt-cart-panel.olitt-cart-open {
  transform: translateX(0) !important;
}

.olitt-cart-header {
  padding: 25px;
  border-bottom: 2px solid #e0e0e0;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background: #fff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

/* Cart Positioning */
#olitt-domain-search-wrapper .olitt-cart-section {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
 z-index: 999999 !important;
}

#olitt-domain-search-wrapper .olitt-cart-panel {
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  z-index: 1000000 !important;
  width: 450px !important;
  display: flex !important;
  flex-direction: column !important;
}

#olitt-domain-search-wrapper .olitt-cart-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
}

#olitt-domain-search-wrapper .olitt-cart-items {
  flex: 1 !important;
  overflow-y: auto !important;
}

#olitt-domain-search-wrapper .olitt-cart-footer {
  flex-shrink: 0 !important;
}

.olitt-cart-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.olitt-close-cart {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.olitt-close-cart:hover {
  color: #000;
}

.olitt-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 25px;
}

.olitt-cart-item {
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
}

.olitt-cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.olitt-cart-domain-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.olitt-remove-item {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.olitt-remove-item:hover {
  color: #c82333;
}

.olitt-years-selector {
  margin-bottom: 10px;
}

.olitt-years-selector label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.olitt-years-selector select {
  width: 100%;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.olitt-cart-item-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.olitt-cart-item-price span:first-child {
  color: #666;
  font-size: 0.9rem;
}

.olitt-cart-item-price span:last-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.olitt-cart-footer {
  padding: 25px;
  border-top: 2px solid #e0e0e0;
  background: #f8f9fa;
}

.olitt-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 700;
}

.olitt-checkout-btn {
  width: 100%;
  padding: 15px;
  background: #f5a623;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olitt-checkout-btn:hover {
  background: #e69500;
  transform: scale(1.02);
}

.olitt-checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.olitt-empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.olitt-empty-cart svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .olitt-hero-section h1 {
    font-size: 2rem;
  }

  .olitt-search-title {
    font-size: 1.8rem;
  }

  .olitt-search-input {
    padding-right: 20px;
    margin-bottom: 15px;
  }

  .olitt-search-btn {
    position: static;
    transform: none;
    width: 100%;
  }

  .olitt-search-btn:hover {
    transform: scale(1.02);
  }

  .olitt-main-result,
  .olitt-suggestion-item {
    flex-direction: column;
    text-align: center;
  }

  .olitt-pricing-info-result {
    text-align: center;
    width: 100%;
  }

  .olitt-register-btn,
  .olitt-add-to-cart-btn {
    width: 100%;
  }

  .olitt-bundle-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .olitt-bundle-pricing {
    text-align: left;
    width: 100%;
  }

  .olitt-cart-panel {
    width: 100%;
  }

  .olitt-toggle-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}
