/* Storage specific styles */

.storage-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.storage-count {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Storage Grid */
.storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.dino-slot {
  background: var(--surface-1);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.dino-slot.filled {
  border-color: var(--forest-600);
}

.dino-slot.filled:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dino-slot.empty {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  opacity: 0.6;
}

.dino-slot.locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  opacity: 0.8;
}

/* Dino Type Badge */
.dino-type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.dino-type.carnivore {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.dino-type.herbivore {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

/* Dino Image */
.dino-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dino-image.carnivore {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
}

.dino-image.herbivore {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.1));
}

.dino-image svg {
  width: 72px;
  height: 72px;
  stroke-width: 1.5;
}

.dino-image.carnivore svg {
  color: #DC2626;
}

.dino-image.herbivore svg {
  color: #16A34A;
}

/* Dino Info */
.dino-info {
  margin-bottom: 16px;
}

.dino-info h3 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

/* Stats */
.dino-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  width: 60px;
  flex-shrink: 0;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest-600), var(--forest-700));
  border-radius: 999px;
  transition: width 0.3s;
}

.stat-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  width: 40px;
  text-align: right;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.stat-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.stat-icon.health {
  color: #EF4444;
}

.stat-icon.stamina {
  color: #F59E0B;
}

.stat-icon.hunger {
  color: #10B981;
}

.stat-icon.thirst {
  color: #3B82F6;
}

/* Actions */
.dino-actions {
  display: flex;
  gap: 8px;
}

.dino-actions .btn-primary {
  flex: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 12px;
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

/* Empty Slot */
.empty-icon {
  width: 80px;
  height: 80px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.empty-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.empty-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Locked Slot */
.locked-icon {
  width: 64px;
  height: 64px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.locked-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.locked-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .storage-info {
    width: 100%;
    justify-content: space-between;
  }

  .storage-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
