/* Living Wage Certified Employers - Grid Styles */

/* Container */
.lwce-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Grid - dynamically configured via JS */
.lwce-employer-grid {
  display: grid;
  justify-items: center;
  align-items: start;
}

/* Card */
.lwce-employer-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lwce-employer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lwce-employer-card[style*="cursor: pointer"]:hover {
  border-color: #4a90e2;
}

/* Logo */
.lwce-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lwce-employer-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Text fallback */
.lwce-employer-name-fallback {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.3;
  padding: 10px;
  word-wrap: break-word;
  hyphens: auto;
}

/* States */
.lwce-no-results,
.lwce-error {
  text-align: center;
  padding: 40px;
  font-size: 16px;
}

.lwce-no-results {
  color: #666;
}

.lwce-error {
  color: #d32f2f;
  background: #ffebee;
  border-radius: 4px;
}

/* Mobile */
@media (max-width: 768px) {
  .lwce-employer-card {
    padding: 10px;
  }
}