.reviews-analytics__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

body.modal-open {
  overflow: hidden;
}

.create-review-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.create-review-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.create-review-modal__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.create-review-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.create-review-modal__close:hover {
  color: #333;
}

.create-review-modal__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #2b2b2b;
}

.create-review-modal__step p {
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.create-review-modal__search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

#btn-create-review{
  display: flex;
  gap: 7px;
}
#btn-create-review i{
  font-size: 14px;
}

.create-review-modal__search-input {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.create-review-modal__search-input:focus {
  border-color: var(--happy-purple);
  outline: none;
}

.create-review-modal__search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.create-review-modal__search-clear:hover {
  color: #333;
}

.create-review-modal__search-results {
  min-height: 100px;
}

.search-loading,
.search-error {
  padding: 20px;
  text-align: center;
  color: #666;
}

.search-results-list {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.search-results-count {
  padding: 12px 16px;
  background: #f5f5f5;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #2b2b2b;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
  cursor: pointer;
}

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

.search-result-item:hover {
  background: #f9f9f9;
}

.search-result-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
}

.search-result-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

.search-result-name {
  flex: 1;
  font-weight: 500;
}

.search-result-name i.fa-check-circle {
  color: var(--happy-purple);
  margin-left: 6px;
}

.create-review-modal__buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.btn-secondary {
  background: #f5f5f5;
  color: #666;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2b2b2b;
}

.form-group .required {
  color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="url"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--happy-purple);
  outline: none;
}

.create-review-modal__loading {
  text-align: center;
  padding: 40px 20px;
}

.create-review-modal__loading i {
  font-size: 32px;
  color: var(--happy-purple);
  margin-bottom: 16px;
}

.create-review-modal__loading p {
  margin: 0;
  color: #666;
}

.company-preview-card {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.company-preview-card__logo-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.company-preview-card__logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  margin: 0 auto;
}

.company-preview-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.company-logo-placeholder {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  border-radius: 8px;
}

.btn-icon {
  background: #e74c3c;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-size: 14px;
  padding: 0;
}

.btn-icon:hover {
  background: #c0392b;
}

.btn-remove-logo {
  position: absolute;
  top: 0;
  right: calc(50% - 60px);
}

.company-preview-card__info {
  text-align: center;
}

.company-preview-card__name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #2b2b2b;
}

.company-preview-card__website {
  font-size: 14px;
  color: var(--happy-purple);
  margin: 0 0 16px 0;
  word-break: break-all;
}

.company-preview-card__description-wrapper {
  position: relative;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.company-preview-card__description {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

.btn-remove-description {
  position: absolute;
  top: 8px;
  right: 8px;
}

@media (max-width: 768px) {
  .reviews-analytics__header {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-create-review {
    width: 100%;
    justify-content: center;
  }

  .create-review-modal__content {
    padding: 24px;
    width: 95%;
  }

  .create-review-modal__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .create-review-modal__buttons {
    flex-direction: column;
  }

  .btn-remove-logo {
    right: calc(50% - 50px);
  }
}
