/* Chest Result Actions Styling - COMPACT */
.chest-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Reduced gap */
  align-items: center;
  justify-content: space-between;
  margin-top: 15px; /* Reduced margin */
  padding: 12px; /* Reduced padding */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px; /* Smaller radius */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chest-result-input-group {
  display: flex;
  align-items: center;
  gap: 8px; /* Reduced gap */
  flex-wrap: wrap;
}

.chest-result-input-group label {
  color: #ccc;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.chest-result-input-group input {
  width: 100px; /* Wider input field */
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  text-align: center;
  transition: width 0.3s ease; /* Smooth width transition */
}

.chest-result-input-group input:focus {
  width: 120px; /* Expand when focused */
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.chest-result-input-group input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.chest-result-actions .btn {
  padding: 6px 12px; /* Reduced padding */
  border-radius: 5px; /* Smaller radius */
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px; /* Reduced gap */
}

.chest-result-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chest-result-actions .btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: #fff;
}

.chest-result-actions .btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}

.chest-result-actions .btn-success {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: #fff;
}

/* Responsive Actions */
@media (max-width: 768px) {
  .chest-result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .chest-result-input-group {
    justify-content: center;
  }
  
  .chest-result-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
