/* IBrandBiz Order Form Styles */

:root {
  --ibb-green: #00C851;
  --ibb-orange: #FF8B00;
  --ibb-dark-green: #30342d;
  --ibb-dark-gray: #231f20;
  --ibb-blue: #274b9b;
  --ibb-olive: #978752;
  --ibb-light: #6dc282;
  --ibb-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #333;
  padding-top: 95px;
}

/* Header / Navbar */
.navbar.topbar,
.navbar-inverse {
  background-color: var(--ibb-white);
  border-color: #e5e7eb;
  border-radius: 0;
  margin-bottom: 0;
  min-height: 95px;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-inverse .navbar-brand {
  padding: 10px 15px;
}

.navbar-inverse .navbar-brand img {
  height: 75px;
  width: auto;
}

.navbar-inverse .navbar-nav > li > a {
  color: #6b7280;
  padding: 40px 15px;
  transition: color 0.2s;
  font-weight: 400;
  font-size: 14px;
  display: flex;
  align-items: center;
  line-height: 1;
}

@media (min-width: 768px) {
  .navbar-nav.navbar-right {
    float: right !important;
  }
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: var(--ibb-green);
  background-color: transparent;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: #f9fafb;
  color: var(--ibb-green);
}

.navbar-inverse .navbar-toggle {
  border-color: var(--ibb-green);
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #f0fdf4;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: var(--ibb-green);
}

/* Nav Buttons */
.btn-nav-outline {
  display: inline-block;
  margin: 15px 5px;
  padding: 8px 18px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151 !important;
  background-color: transparent;
  transition: all 0.2s;
  font-weight: 500;
}

.btn-nav-outline:hover {
  background-color: #f9fafb;
  border-color: var(--ibb-green);
  color: var(--ibb-green) !important;
  opacity: 1;
}

.btn-nav-primary {
  display: inline-block;
  margin: 0;
  padding: 10px 24px;
  border-radius: 6px;
  background-color: #00C851 !important;
  background-image: none !important;
  color: #ffffff !important;
  transition: all 0.2s;
  font-weight: 700;
  border: none;
  line-height: 1.5;
  font-size: 14px;
}

.btn-nav-primary:hover,
.btn-nav-primary:focus,
.btn-nav-primary:active {
  background-color: #00b047 !important;
  background-image: none !important;
  color: #ffffff !important;
  opacity: 0.9;
}

/* Override navbar link padding for button */
.navbar-inverse .navbar-nav > li > a.btn-nav-primary {
  padding: 10px 24px !important;
  line-height: 1.5;
  height: auto;
  display: inline-flex;
  align-items: center;
  margin: 24px 5px 0 5px;
}

/* Dropdown menu styling */
.navbar-inverse .dropdown-menu {
  background-color: var(--ibb-white);
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-inverse .dropdown-menu > li > a {
  color: #374151;
  padding: 10px 20px;
  font-weight: 500;
}

.navbar-inverse .dropdown-menu > li > a:hover {
  background-color: #f0fdf4;
  color: var(--ibb-green);
}

/* Main Content */
.main-content {
  padding: 40px 0 60px;
  min-height: calc(100vh - 200px);
}

/* Domain Search */
.domain-search-section {
  margin-bottom: 50px;
  text-align: center;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--ibb-dark-gray);
}

.domain-search-bar {
  max-width: 800px;
  margin: 0 auto;
}

.domain-input {
  height: 46px;
  border-radius: 12px 0 0 12px;
  border: 2px solid #ddd;
  font-size: 16px;
  padding: 10px 20px;
}

.domain-input:focus {
  border-color: var(--ibb-green);
  box-shadow: 0 0 0 3px rgba(0, 203, 81, 0.1);
  outline: none;
}

.btn-search,
.btn.btn-search,
button.btn-search {
  height: 46px;
  background-color: #00C851 !important;
  background-image: none !important;
  border-color: #00C851 !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 0;
  padding: 0 24px;
  transition: all 0.2s;
}

.btn-search:hover,
.btn-search:focus,
.btn-search:active,
.btn.btn-search:hover,
.btn.btn-search:focus,
.btn.btn-search:active {
  background-color: #00b047 !important;
  background-image: none !important;
  border-color: #00b047 !important;
  color: #ffffff !important;
  opacity: 0.9;
}

.btn-transfer {
  height: 46px;
  border-radius: 0 12px 12px 0;
  border: 2px solid #ddd;
  border-left: none;
  background-color: var(--ibb-white);
  color: #333;
  padding: 0 20px;
  transition: all 0.2s;
}

.btn-transfer:hover {
  background-color: #f5f5f5;
  border-color: #ddd;
}

/* Section Title */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--ibb-dark-gray);
}

/* Products Grid */
.products-row {
  margin-top: 40px;
}

.ibb-products {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.ibb-products > [class*='col-'] {
  padding: 0 10px;
  margin-bottom: 20px;
}

/* Product Card */
.product.ibb-card {
  background: var(--ibb-white);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 20px;
}

.product.ibb-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Featured Product */
.product.featured {
  border: 2px solid var(--ibb-green);
  box-shadow: 0 4px 16px rgba(0, 204, 163, 0.2);
}

.product.featured:hover {
  box-shadow: 0 8px 24px rgba(0, 204, 163, 0.3);
}

/* Recommended Badge */
.badge-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--ibb-green);
  color: var(--ibb-white);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 204, 163, 0.4);
}

/* Product Header */
.product-header.ibb-head {
  background-color: var(--ibb-white);
  color: #1f2937;
  padding: 18px;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

.product.featured .product-header.ibb-head {
  background: var(--ibb-white);
}

.product-title.ibb-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.product.featured .product-title.ibb-title {
  margin-top: 8px;
  color: #1f2937;
}

/* Product Body */
.product-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Pricing */
.product-pricing {
  text-align: center;
  margin-bottom: 20px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: var(--ibb-green);
}

.cycle {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.annual-price {
  font-size: 13px;
  color: #9ca3af;
}

/* Product Description */
.product-description {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
  min-height: 40px;
}

/* Features List */
.product-features.ibb-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.product-features.ibb-feats li {
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.product-features.ibb-feats li:last-child {
  border-bottom: none;
}

.product-features.ibb-feats li i {
  color: var(--ibb-green);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Product Note */
.product-note {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Override ALL Bootstrap Primary Buttons with Green */
.btn-primary,
.btn.btn-primary,
button.btn-primary,
.btn-choose,
.btn.btn-choose,
button.btn-choose {
  background-color: #00C851 !important;
  background-image: none !important;
  border-color: #00C851 !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:active,
.btn-choose:hover,
.btn-choose:focus,
.btn-choose:active {
  background-color: #00b047 !important;
  background-image: none !important;
  border-color: #00b047 !important;
  color: #ffffff !important;
  opacity: 0.9;
}

/* Order Summary */
.order-summary.ibb-summary {
  background: var(--ibb-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.summary-header {
  background-color: #f3f4f6;
  color: #1f2937;
  padding: 18px 20px;
}

.summary-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.summary-body {
  padding: 20px;
}

.summary-items {
  min-height: 120px;
  margin-bottom: 20px;
}

.empty-cart {
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
  padding: 30px 10px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-name {
  font-weight: 600;
  color: var(--ibb-dark-gray);
  font-size: 14px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--ibb-green);
  font-size: 16px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  transition: opacity 0.2s;
}

.cart-item-remove:hover {
  opacity: 0.7;
}

.summary-total {
  border-top: 2px solid var(--ibb-green);
  padding-top: 16px;
  margin-bottom: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ibb-dark-gray);
}

.total-price {
  color: var(--ibb-green);
  font-size: 24px;
}

.btn-continue,
.btn.btn-continue,
button.btn-continue {
  background-color: #00C851 !important;
  background-image: none !important;
  border-color: #00C851 !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-continue:hover:not(:disabled),
.btn-continue:focus:not(:disabled),
.btn-continue:active:not(:disabled),
.btn.btn-continue:hover:not(:disabled),
.btn.btn-continue:focus:not(:disabled),
.btn.btn-continue:active:not(:disabled) {
  background-color: #00b047 !important;
  background-image: none !important;
  border-color: #00b047 !important;
  color: #ffffff !important;
  opacity: 0.9;
}

.btn-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-continue i {
  margin-left: 8px;
}

/* Footer */
.footer {
  background-color: #0a1628;
  color: var(--ibb-white);
  padding: 50px 0 0;
  margin-top: 80px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  /* No filter - using reverse logo with proper colors */
}

.footer-tagline {
  color: #9ca3af;
  font-size: 12.6px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  margin-right: 12px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--ibb-green);
  color: var(--ibb-green);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--ibb-white);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 12.6px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ibb-white);
  padding-left: 5px;
  transition: all 0.2s;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-contact li {
  color: #9ca3af;
  font-size: 12.6px;
  margin-bottom: 12px;
}

.footer-contact i,
.footer-contact .lucide-icon {
  color: #ffffff;
  margin-right: 10px;
  width: 16px;
}

.footer-contact .lucide-icon {
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px;
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
  color: #9ca3af;
  font-size: 12.6px;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--ibb-white);
}

/* Responsive */
@media (max-width: 991px) {
  .order-summary.ibb-summary {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .domain-input,
  .btn-search,
  .btn-transfer {
    height: 44px;
  }
  
  .product.ibb-card {
    margin-bottom: 20px;
  }
  
  .ibb-products > [class*='col-'] {
    width: 100%;
  }
  
  .footer .text-right {
    text-align: left !important;
    margin-top: 10px;
  }
}
