/**
 * @file
 * Styles for Buyers Guide view and company cards.
 */

/****************** buyers-guide **************************/
.view-buyers-guide {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Filters Layout - Ensure flex layout for horizontal display */
.view-buyers-guide .buyers-guide-filters .filters-wrapper form,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-form,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widgets,
.view-buyers-guide .buyers-guide-filters .filters-wrapper > div {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  align-items: flex-end !important;
  margin: 0 !important;
  clear: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widget,
.view-buyers-guide .buyers-guide-filters .filters-wrapper form > div,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-form > div {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.view-buyers-guide .view-content .views-field-title {
  font-size: 20px !important;
  line-height: 24px !important;
  margin-bottom: 10px;
}

/* Header and Filters */
.view-buyers-guide .buyers-guide-header {
  margin-bottom: 30px;
  position: relative;
}

.view-buyers-guide .buyers-guide-header h1 {
  display: inline-block;
  position: relative;
  font-size: 44px;
  line-height: 1.2;
  color: #365986;
  margin: 0;
  padding: 10px 20px;
  border-left: 4px solid #7A5000;
  background: #fff;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

/* Subtitle styling - displayed below header */
.view-buyers-guide .buyers-guide-header p {
  display: block;
  margin: 15px 0 0 0;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3c3c;
  max-width: 900px;
}


.view-buyers-guide .buyers-guide-filters {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper {
  margin-bottom: 20px;
  width: 100% !important;
  max-width: 100% !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper form,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-form,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widgets {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 15px;
  align-items: flex-end;
  margin: 0 !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper form::before,
.view-buyers-guide .buyers-guide-filters .filters-wrapper form::after,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-form::before,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-form::after,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widgets::before,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widgets::after {
  display: none !important;
  content: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widget {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widget:first-of-type {
  flex: 2 1 auto;
  min-width: 200px;
  max-width: none;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widget:nth-of-type(2) {
  flex: 1.5 1 auto;
  min-width: 180px;
  max-width: none;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .views-exposed-widget.views-submit-button {
  flex: 0 0 auto;
  margin: 0;
  align-self: flex-end;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-item,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-group {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group {
  display: flex !important;
  width: 100%;
  flex-wrap: nowrap;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group .form-control,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group input[type="text"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group input[type="search"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group select {
  flex: 1 1 auto;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group .input-group-btn,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group button[type="button"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group .form-autocomplete .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .input-group .autocomplete-deluxe-container .autocomplete-deluxe-throbber {
  display: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-autocomplete .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .autocomplete-deluxe-throbber,
.view-buyers-guide .buyers-guide-filters .filters-wrapper button.autocomplete-deluxe-throbber,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .ajax-progress,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .ajax-progress-throbber {
  display: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[name*="field_product_category"] + .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[name*="field_product_category"] + button,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[name*="field_product_category"] + .autocomplete-deluxe-throbber,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[data-drupal-selector*="field-product-category"] + .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[data-drupal-selector*="field-product-category"] + button,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[data-drupal-selector*="field-product-category"] + .autocomplete-deluxe-throbber {
  display: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-autocomplete ~ button,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-autocomplete ~ .input-group-addon,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-autocomplete ~ .autocomplete-deluxe-throbber {
  display: none !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="text"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="search"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  height: 45px;
  flex: 1 1 auto;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="text"]:focus,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="search"]:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="text"]::placeholder,
.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="search"]::placeholder {
  color: #999;
  font-style: italic;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper select {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
  box-sizing: border-box;
  height: 45px;
  flex: 1 1 auto;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper select:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper select:hover {
  border-color: #ccc;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="submit"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper button[type="submit"],
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-submit,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .button {
  padding: 12px 30px !important;
  background: #0066cc !important;
  background-color: #0066cc !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2) !important;
  min-width: 120px !important;
  max-width: 150px !important;
  white-space: nowrap !important;
  height: 45px !important;
  flex-shrink: 0 !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="submit"]:hover,
.view-buyers-guide .buyers-guide-filters .filters-wrapper button[type="submit"]:hover,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-submit:hover,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .button:hover {
  background: #0052a3 !important;
  background-color: #0052a3 !important;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3) !important;
  transform: translateY(-1px) !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="submit"]:active,
.view-buyers-guide .buyers-guide-filters .filters-wrapper button[type="submit"]:active,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-submit:active,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2) !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper input[type="submit"]:focus,
.view-buyers-guide .buyers-guide-filters .filters-wrapper button[type="submit"]:focus,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-submit:focus,
.view-buyers-guide .buyers-guide-filters .filters-wrapper .button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2) !important;
}

.view-buyers-guide .buyers-guide-filters .filters-wrapper .form-actions {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
}

.view-buyers-guide .buyers-guide-filters .view-style-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.view-buyers-guide .buyers-guide-filters .view-style-toggle label {
  font-weight: 600;
  margin-right: 5px;
}

/* View Style Toggle Buttons - Base styles */
/* Ultra-specific selectors to override theme CSS */
.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn,
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn,
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn[type="button"],
button.view-style-btn[data-style],
button[type="button"].view-style-btn[data-style] {
  padding: 8px 16px !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: #333 !important;
  text-shadow: none !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* Hover state for non-active buttons */
.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn:hover:not(.active),
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn:hover:not(.active),
button.view-style-btn[data-style]:hover:not(.active) {
  background: #e9e9e9 !important;
  background-color: #e9e9e9 !important;
  background-image: none !important;
  color: #333 !important;
}

/* Active button - BLUE background with WHITE text */
/* Maximum specificity to override everything */
.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn.active,
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn.active,
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn.active[type="button"],
.view-buyers-guide .buyers-guide-filters .view-style-toggle button[type="button"].view-style-btn.active,
button.view-style-btn.active[data-style],
button[type="button"].view-style-btn.active[data-style],
.view-style-btn[data-style].active,
button.view-style-btn[data-style="grid"].active,
button.view-style-btn[data-style="list"].active {
  background: #0066cc !important;
  background-color: #0066cc !important;
  background-image: none !important;
  color: #fff !important;
  text-shadow: none !important;
  border: 1px solid #0066cc !important;
  border-color: #0066cc !important;
}

/* Active button hover state */
.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn.active:hover,
.view-buyers-guide .buyers-guide-filters .view-style-toggle button.view-style-btn.active:hover,
button.view-style-btn.active[data-style]:hover,
.view-style-btn[data-style].active:hover {
  background: #0052a3 !important;
  background-color: #0052a3 !important;
  background-image: none !important;
  color: #fff !important;
  text-shadow: none !important;
}

.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn .icon-grid::before {
  content: "⊞";
  margin-right: 4px;
}

.view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn .icon-list::before {
  content: "☰";
  margin-right: 4px;
}

/* Company Cards Container */
.view-buyers-guide .buyers-guide-companies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.view-buyers-guide .buyers-guide-content[data-view-style="list"] .buyers-guide-companies,
.view-buyers-guide .buyers-guide-content.view-style-list .buyers-guide-companies,
.view-buyers-guide .view-content[data-view-style="list"] .buyers-guide-companies,
.view-buyers-guide .view-content.view-style-list .buyers-guide-companies {
  grid-template-columns: 1fr;
  gap: 15px;
}

/* Company Card */
.view-buyers-guide .company-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-buyers-guide .company-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Premium Company Card - Gold border */
.view-buyers-guide .company-card.company-card-premium {
  border: 5px solid #ffd700;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.view-buyers-guide .company-card.company-card-premium:hover {
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
  border-color: #ffc700;
}

/* Boosted Company Card - Blue border */
.view-buyers-guide .company-card.company-card-boosted {
  border: 5px solid #0066cc;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.view-buyers-guide .company-card.company-card-boosted:hover {
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.5);
  border-color: #0052a3;
}

.view-buyers-guide .company-card .company-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.view-buyers-guide .company-card .company-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.view-buyers-guide .company-card .company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.view-buyers-guide .company-card .company-logo:empty {
  display: none;
}

.view-buyers-guide .company-card .company-logo.company-logo-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}

.view-buyers-guide .company-card .company-logo.company-logo-placeholder .logo-placeholder-text {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.view-buyers-guide .company-card .company-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.view-buyers-guide .company-card .company-header .company-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
  color: #333;
}

.view-buyers-guide .company-card .company-header .company-name a {
  color: inherit;
  text-decoration: none;
}

.view-buyers-guide .company-card .company-header .company-name a:hover {
  color: #0066cc;
}

.view-buyers-guide .company-card .company-header .company-name .premium-badge {
  display: inline-block;
  background: #ffd700;
  color: #333;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 8px;
  font-weight: normal;
}

.view-buyers-guide .company-card .company-header .company-name .rsna-badge {
  display: inline-block;
  background: #0066cc;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 5px;
  font-weight: normal;
  text-transform: uppercase;
}

.view-buyers-guide .company-card .company-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 12px;
  flex: 1;
}

.view-buyers-guide .company-card .company-description p {
  margin: 0;
}

.view-buyers-guide .company-card .company-description.company-description-truncated {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 3em;
}

.view-buyers-guide .company-card .company-categories {
  margin-bottom: 15px;
}

.view-buyers-guide .company-card .company-categories .field--name-field-product-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.view-buyers-guide .company-card .company-categories .field--name-field-product-category .field__item {
  display: inline-block;
}

.view-buyers-guide .company-card .company-categories .field--name-field-product-category a,
.view-buyers-guide .company-card .company-categories .field--name-field-product-category .field__label {
  display: inline-block;
  background: #e8f4f8;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-buyers-guide .company-card .company-categories .field--name-field-product-category a:hover,
.view-buyers-guide .company-card .company-categories .field--name-field-product-category .field__label:hover {
  background: #0066cc;
  color: #fff;
}

.view-buyers-guide .company-card .company-meta {
  margin-bottom: 15px;
  padding-top: 8px;
  font-size: 13px;
  color: #666;
}

.view-buyers-guide .company-card .company-meta > div {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-buyers-guide .company-card .company-meta > div:last-child {
  margin-bottom: 0;
}

.view-buyers-guide .company-card .company-meta .location-icon,
.view-buyers-guide .company-card .company-meta .phone-icon,
.view-buyers-guide .company-card .company-meta .email-icon {
  font-size: 16px;
}

.view-buyers-guide .company-card .company-meta .email-link {
  color: #0066cc;
  text-decoration: none;
}

.view-buyers-guide .company-card .company-meta .email-link:hover {
  text-decoration: underline;
}

.view-buyers-guide .company-card .company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.view-buyers-guide .company-card .company-actions .btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  cursor: pointer;
}

.view-buyers-guide .company-card .company-actions .btn.btn-website {
  background: #0066cc;
  color: #fff;
}

.view-buyers-guide .company-card .company-actions .btn.btn-website:hover {
  background: #0052a3;
}

.view-buyers-guide .company-card .company-actions .btn.btn-details {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.view-buyers-guide .company-card .company-actions .btn.btn-details:hover {
  background: #e9e9e9;
}

.view-buyers-guide .company-card .company-actions .btn.btn-contact {
  background: transparent;
  color: #0066cc;
  border: 1px solid #0066cc;
}

.view-buyers-guide .company-card .company-actions .btn.btn-contact:hover {
  background: #0066cc;
  color: #fff;
}

.view-buyers-guide .buyers-guide-content[data-view-style="list"] .company-card .company-card-wrapper,
.view-buyers-guide .buyers-guide-content.view-style-list .company-card .company-card-wrapper,
.view-buyers-guide .view-content[data-view-style="list"] .company-card .company-card-wrapper,
.view-buyers-guide .view-content.view-style-list .company-card .company-card-wrapper {
  flex-direction: row;
  gap: 20px;
}

.view-buyers-guide .buyers-guide-content[data-view-style="list"] .company-card .company-logo,
.view-buyers-guide .buyers-guide-content.view-style-list .company-card .company-logo,
.view-buyers-guide .view-content[data-view-style="list"] .company-card .company-logo,
.view-buyers-guide .view-content.view-style-list .company-card .company-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 0;
}

.view-buyers-guide .category-group-title {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
  color: #333;
}

.view-buyers-guide .category-group-title:first-child {
  margin-top: 0;
}

.view-buyers-guide .buyers-guide-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.view-buyers-guide .buyers-guide-empty p {
  font-size: 18px;
  margin-bottom: 10px;
}

.view-buyers-guide .buyers-guide-pager {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .view-buyers-guide .buyers-guide-companies {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .view-buyers-guide .buyers-guide-filters .view-style-toggle {
    flex-wrap: wrap;
  }

  .view-buyers-guide .buyers-guide-filters .view-style-toggle .view-style-btn {
    flex: 1;
    min-width: 80px;
  }

  .view-buyers-guide .company-card .company-card-wrapper {
    flex-direction: column;
  }

  .view-buyers-guide .company-card .company-logo {
    width: 60px;
    height: 60px;
  }
}

/* ============================================================================
 * PDF CHANGES DISPLAY IN AUDIT LOG
 * ============================================================================ */

/* PDF changes item container */
.field-change-item.pdf-changes {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* PDF added indicator */
.pdf-added {
  color: #2e7d32;
  font-weight: 500;
  background: #e8f5e9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* PDF removed indicator */
.pdf-removed {
  color: #c62828;
  font-weight: 500;
  background: #ffebee;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* File names within PDF changes */
.pdf-added .pdf-filename,
.pdf-removed .pdf-filename {
  font-style: italic;
  font-weight: normal;
}

/* Last modified info - PDF changes section styling */
.last-modified-info .pdf-changes {
  margin-top: 4px;
}

.last-modified-info .pdf-changes .pdf-added,
.last-modified-info .pdf-changes .pdf-removed {
  display: inline-block;
  margin-right: 6px;
}

