.radio-card {
  background: linear-gradient(
    135deg,
    rgba(20, 60, 120, 0.85) 0%,
    rgba(25, 75, 140, 0.75) 100%
  );
  border: 1px solid rgba(142, 180, 255, 0.35);
  border-radius: 8px;
  color: var(--app-text);
  box-shadow:
    0 4px 16px rgba(2, 10, 26, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 200ms ease;
  min-width: 260px;
  height: 100%;

  &:hover {
    border-color: rgba(142, 180, 255, 0.4);
    box-shadow:
      0 8px 24px rgba(2, 10, 26, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
  }
}

.radio-card-clickable {
  cursor: pointer;

  &:hover {
    border-color: rgba(142, 180, 255, 0.6);
    box-shadow:
      0 12px 32px rgba(142, 180, 255, 0.2),
      0 8px 24px rgba(2, 10, 26, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
  }
}

.radio-card-header {
  background: linear-gradient(
    135deg,
    rgba(30, 85, 160, 0.9) 0%,
    rgba(35, 100, 180, 0.85) 100%
  );
  border-bottom: 1px solid rgba(142, 180, 255, 0.3);
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.radio-card-image-container {
  width: calc(100% - 16px);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  overflow: hidden;
  border-radius: 4px;
}

.radio-card-protocol-image,
.radio-card-device-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(142, 180, 255, 0.3));
}

.radio-card-body {
  padding: 16px;
}

.radio-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 8px;
}

.radio-card-label {
  color: var(--app-text-muted);
  font-weight: 500;
  flex: 0 0 auto;
}

.radio-card-value {
  color: var(--app-accent);
  font-weight: 600;
  text-align: right;
  flex: 1 1 auto;
}

.radio-card-status {
  display: flex;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(142, 180, 255, 0.15);
}

.radio-card-status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  width: 100%;
  text-align: center;

  &.online {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
  }

  &.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
  }
}
