/* Brox Panel Support Page Custom Styles */

/* Import Google Fonts for consistency */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Global Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2D2D2D;
  line-height: 1.6;
}

/* Clean, modern header */
.header, .site-header {
  background: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid #F0F0F0;
}

/* Navigation styling */
.nav-link, .navigation a {
  color: #1A1A1A;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 15px;
}

.nav-link:hover, .navigation a:hover {
  color: #FE5977;
}

.nav-link.active, .navigation a.active {
  color: #FE5977;
  font-weight: 600;
}

/* Primary CTA Button Style (matching "Sign up" button) */
.btn-primary, .submit-button, button[type="submit"] {
  background: #FE5977 !important;  /* Calmer pink matching logo exactly */
  border: none !important;
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  text-transform: none !important;
}

.btn-primary:hover, .submit-button:hover {
  background: #E54D69 !important;  /* Slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(254, 89, 119, 0.3) !important;
}

/* Article cards with hover effects */
.article-card, .article-item, .kb-article {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: #FF4B8B;
}

/* Search bar styling - softer rounded corners */
.search-box, 
input[type="search"], 
.search-input, 
input[type="text"].search-field,
.search-form input[type="text"],
.search-widget input {
  border: 1px solid #E5E7EB !important;  /* Lighter border like in image */
  border-radius: 28px !important;  /* Softer rounding, not fully pill-shaped */
  padding: 14px 24px !important;
  padding-right: 140px !important;  /* Make room for button inside */
  font-size: 15px !important;
  transition: all 0.2s ease;
  background: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  width: 100%;
}

.search-box:focus, 
input[type="search"]:focus, 
input[type="text"].search-field:focus {
  border-color: #FE5977 !important;
  outline: none !important;
  background: white !important;
  box-shadow: 0 0 0 3px rgba(254, 89, 119, 0.1) !important;
}

/* Search form container - button inside input */
.search-form, .search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Search button positioned inside input - matching the input's curve */
.search-form button, 
.search-button, 
button.search-submit,
.search-form input[type="submit"] {
  position: absolute !important;
  right: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  border-radius: 24px !important;  /* Match the search bar's softer rounding */
  padding: 10px 24px !important;
  background: #FE5977 !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  height: calc(100% - 8px) !important;
}

.search-form button:hover,
.search-button:hover,
button.search-submit:hover {
  background: #E54D69 !important;
}

/* Headings */
h1, h2, h3, h4 {
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
}

h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

h2 {
  font-size: 32px;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Links */
a {
  color: #FE5977;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #E54D69;
  text-decoration: underline;
}

/* Badges and tags (matching earning badges) */
.badge, .tag, .category-tag {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFF0F5 100%);
  color: #FF4B8B;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid rgba(255, 75, 139, 0.2);
}

/* Success/Featured elements (matching yellow accents) */
.featured, .highlight {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* Testimonial/Quote blocks */
blockquote, .testimonial {
  background: #F9FAFB;
  border-left: 4px solid #FF4B8B;
  padding: 20px 24px;
  border-radius: 8px;
  font-style: italic;
  margin: 24px 0;
}

/* Footer */
.footer, .site-footer {
  background: #FAFBFC;
  border-top: 1px solid #F0F0F0;
  padding: 40px 0;
  color: #6B7280;
  font-size: 14px;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 20px 0;
  font-size: 14px;
}

.breadcrumb a {
  color: #6B7280;
}

.breadcrumb .separator {
  color: #D1D5DB;
  margin: 0 8px;
}

/* Form inputs - keep rectangular for normal forms */
input[type="text"]:not(.search-field),
input[type="email"],
textarea,
select {
  border: 2px solid #F0F0F0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.2s ease;
  width: 100%;
}

input:focus:not(.search-field),
textarea:focus,
select:focus {
  border-color: #FF4B8B;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 139, 0.1);
}

/* Rating stars */
.rating-stars {
  color: #F59E0B;
}

/* Alert/Notice boxes */
.alert-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}

.alert-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .btn-primary {
    width: 100%;
    padding: 14px 20px !important;
  }
}